View Single Post
Old 07-29-2007   #2 (permalink)
Jolt
Registered User
 
Join Date: Aug 2004
Posts: 119

99% of the time a blank page is due to a missing : ; ( ) { } ' or "

I would change all the
PHP Code:
exit; 
lines to
PHP Code:
exit(); 
I found the error....

These two lines
PHP Code:
$send mail(ETS-Clan@gmail.com "Registration Confirmation" " ".$username." has Registered with the [ETS] Clan.\n\nClick the link below to activate thier account:\nhttp://ets-clan.joolo.com/activate.php?id=".$act."\n\nPlease do not reply, this is an automated mailer.\n\nThanks""FROM: auto@mailer.com");
    
$send mail(ETS-Clan@gmail.com "Registration Confirmation" " Thank you for registering with the [ETS] Clan.\n\nYour username and password is below.\n\nUser: ".$username."\nPass: ".$pass."\n\nYour Account must be first Activated by the Admin. This could take upto 48hrs, except in extreme circumstances (Vacationing,etc.).\n\nPlease do not reply, this is an automated mailer.\n\nThanks""FROM: ets-clan@gmail.com"); 
You need to escape the email address like so
PHP Code:
$send mail('ETS-Clan@gmail.com' "Registration Confirmation" " ".$username." has Registered with the [ETS] Clan.\n\nClick the link below to activate thier account:\nhttp://ets-clan.joolo.com/activate.php?id=".$act."\n\nPlease do not reply, this is an automated mailer.\n\nThanks""FROM: auto@mailer.com");
    
$send mail('ETS-Clan@gmail.com' "Registration Confirmation" " Thank you for registering with the [ETS] Clan.\n\nYour username and password is below.\n\nUser: ".$username."\nPass: ".$pass."\n\nYour Account must be first Activated by the Admin. This could take upto 48hrs, except in extreme circumstances (Vacationing,etc.).\n\nPlease do not reply, this is an automated mailer.\n\nThanks""FROM: ets-clan@gmail.com"); 

Last edited by Jolt; 07-29-2007 at 11:41 PM..
Jolt is offline