Re: Parse error..help!
| From: | Greg K | Date: | Fri, 18 May 2001 15:56:55 +0000 |
| Subject: | Re: Parse error..help! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53426@lists.php.net to get a copy of this message | ||
Also take off the semicolon of the closing of the function }
""Taline Makssabo"" <taline@prepresshelp.com> wrote in message
news:MNEGLBDELEMBJDMIAFPCGEBDCAAA.taline@prepresshelp.com...
> 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 = "taline@prepresshelp.com";
>
>
> $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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>