Kein Registrierung mehr möglich
Verfasst: 01.04.2004 21:35
Hallo zusammen
Wenn ich in der Datei 'usercp_register.php' nach
diesen Code einbaue
dann können sich die User zwar registrieren, aber ein Login ist nicht möglich. Bau ich diesen Code wieder aus, dann funktioniert alles wieder mit der Registration. Wieso das?
Danke für eure Mithilfe!
MfG
Bandito
Wenn ich in der Datei 'usercp_register.php' nach
Code: Alles auswählen
$signature = str_replace('<br />', "\n", $signature);
Code: Alles auswählen
// Start add - Birthday MOD
if (isset($HTTP_POST_VARS['birthday']) )
{
$birthday = intval ($HTTP_POST_VARS['birthday']);
if ($birthday!=999999)
{
$b_day = realdate('j',$birthday);
$b_md = realdate('n',$birthday);
$b_year = realdate('Y',$birthday);
}
} else
{
$b_day = ( isset($HTTP_POST_VARS['b_day']) ) ? intval ($HTTP_POST_VARS['b_day']) : 0;
$b_md = ( isset($HTTP_POST_VARS['b_md']) ) ? intval ($HTTP_POST_VARS['b_md']) : 0;
$b_year = ( isset($HTTP_POST_VARS['b_year']) ) ? intval ($HTTP_POST_VARS['b_year']) : 0;
if ($b_day && $b_md && $b_year)
{
$birthday = mkrealdate($b_day,$b_md,$b_year);
} else
{
$birthday = 999999;
}
}
// End add - Birthday MOD
Danke für eure Mithilfe!
MfG
Bandito