RE: [PHP] Re: php path statement appears on my webpages

From: Date: Thu, 31 Jul 2003 14:53:42 +0000
Subject: RE: [PHP] Re: php path statement appears on my webpages
Groups: php.general 
Request: Send a blank email to php-general+get-157741@lists.php.net to get a copy of this message
Ivo, Thanks, but if I leave off this line then I get an error when I try and view my pages. Jim -----Original Message----- From: Ivo Fokkema [mailto:I.F.A.C.Fokkema@LUMC.nl] Sent: Thursday, July 31, 2003 9:51 AM To: php-general@lists.php.net Subject: [PHP] Re: php path statement appears on my webpages If you don't run PHP as an CGI but as an module, you don't even need this line. My guess is that you run PHP as a module, so delete the line to fix your problem. HTH, -- Ivo Fokkema PHP & MySQL programmer Leiden University Medical Centre Netherlands "Jim M Gronquist" <jgronqui@indiana.edu> wrote in message news:3A5E689CC46C984B8AB3EF7AFCB2AD4FB2857B@iu-mssg-mbx04.exchange.iu.ed u... I include #!/usr/local/bin/php4 at the top of my Php files so that it knows where to find php. Unfortunately the path appears in my web pages. Is there a way for me to turn this off? Is it a setting in Apache or is it something that I change in My php files. #!/usr/local/bin/php4 ----------------------------------------------------------------- Jim Gronquist -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#157741) next »