Re: Parse error..help!

From: Date: Fri, 18 May 2001 13:54:08 +0000
Subject: Re: Parse error..help!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53412@lists.php.net to get a copy of this message
In reply to taline@prepresshelp.com: > Return-Path: <php-general-return-53409-keith=k-designs.com.sg@lists.php.net> > Received: from toye.php.net (va.php.net [198.186.203.51]) > by cobalt1.intermedia.com.sg (8.10.2/8.10.2) with SMTP id f4IDicZ30638 > for <keith@k-designs.com.sg>; Fri, 18 May 2001 21:44:39 +0800 > Received: (qmail 23365 invoked by uid 1013); 18 May 2001 13:47:20 -0000 > Mailing-List: contact php-general-help@lists.php.net; run by ezmlm > Precedence: bulk > list-help: <mailto:php-general-help@lists.php.net> > list-unsubscribe: > <mailto:php-general-unsubscribe@lists.php.net> > list-post: <mailto:php-general@lists.php.net> > Delivered-To: mailing list php-general@lists.php.net > Received: (qmail 23359 invoked from network); 18 May 2001 13:47:20 -0000 > Reply-To: <taline@prepresshelp.com> > From: "Taline Makssabo" <taline@prepresshelp.com> > To: <php-general@lists.php.net> > Date: Fri, 18 May 2001 09:49:35 -0400 > Message-ID: <MNEGLBDELEMBJDMIAFPCGEBDCAAA.taline@prepresshelp.com> > MIME-Version: 1.0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > X-Priority: 3 (Normal) > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) > Importance: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 > Subject: [PHP] Parse error..help! > X-UIDL: #l6"!fL$#!:Bj"!n1f!! > 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(); ?>> $NL = (\n)? It should be $NL = "\n"; Regards, Keith Ng _______________________________ Co-founder K-Designs Incorporated keith@k-designs.com.sg http://www.k-designs.com.sg/

« previous php.general (#53412) next »