View Single Post

  #1 (permalink)  
Old 07-31-2003
Jim M Gronquist
 
Posts: n/a
Default RE: [PHP] Re: php path statement appears on my webpages

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

Reply With Quote