[PHP] Re: Removing the #!/usr... from cgi output?

2003-01-23 Thread Neil M
Colin McDonald wrote: Did you try it without that line at all? I'm pretty sure you can setup apache (you are using apache right?) to use /usr/.../bin/php for all files with the extension .php colin David Brannlund wrote: Example: #!/usr/local/bin/php ?php print foo; ? becomes

[PHP] Re: Removing the #!/usr... from cgi output?

2002-07-05 Thread colin mcdonald
I think you can make the AddType location specific ie: in /home/httpd/html/cgi-bin all files ending in .php will be cgi php everywhere else /home/httpd/html/ will be php module the line at the top tells the parser which program should execute the code in the file ... so I think you don't add