The solution:

You have to configure php with --enable-discard-path
as in:
./configure --without-apache --enable-discard-path
before you compile it.

This is documented here:
http://www.php.net/manual/en/security.php
in the section:
Case 4: PHP parser outside of web tree

Now when you do <!--#include virtual='php.cgi'-->
the #!/path/to/php will not show at the top of the page.

(The problem was indeed not local to windows).

Tina.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to