Here is another error i keep on getting, this is suppose to send me an email
each time someone enters in my website but i keep on gettong this error
message:



Parse error: parse error in
/home/virtual/ppcu/home/httpd/html/php2/login.php on line 8
I don't see anything wrong, please help.



<?

SetLogging(1);

Function AccessHit
(

        $NL = (\n);


        $H = getLastHost();


        $R = getLastRef();

        $To = "[EMAIL PROTECTED]";


        $Sub = "Page Accessed";


        $D = Date("D d M y h:ia",time());

        $Msg = $H + $NL + $R + $NL + $D;

        mail($To,$Sub,$Msg);
);
AccessHit();

?>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to