RE: [PHP] Parse error help!
| From: | Sam Masiello | Date: | Fri, 18 May 2001 16:36:14 +0000 |
| Subject: | RE: [PHP] Parse error help! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53450@lists.php.net to get a copy of this message | ||
Perhaps you want something like this:
$Msg = $H.$NL.$R.$NL.$D;
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
smasiello@chekinc.com
-----Original Message-----
From: Taline Makssabo [mailto:taline@prepresshelp.com]
Sent: Friday, May 18, 2001 11:18 AM
To: php-general@lists.php.net
Subject: [PHP] Parse error help!
Thanks for all the help guys but one more minor issue, i am not receiving
the email that someone accessed my page...why??
<?
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);
}
?>
--
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