I need to access information in the request header directly. How can I do this?
<<<
When I try to use authentication with IIS I get 'No Input file specified'. My PHP script works on IE and Lynx, but on Netscape some of my output is missing. When I do a "View Source" I see the content in IE but not in Netscape.
>>>

9.7 Using PHP
9 FAQ : Foire Aux Questions
 Manuel PHP

I would like to write a generic PHP script that can handle data coming from any form. How do I know which POST method variables are available?
I need to convert all single-quotes (') to a backslash followed by a single-quote. How can I do this with a regular expression?
When I do the following, the output is printed in the wrong order:
Hey, what happened to my newlines?
I get the message 'Warning: Cannot send session cookie - headers already sent...' or 'Cannot add header information - headers already sent...'.
I need to access information in the request header directly. How can I do this?
-> When I try to use authentication with IIS I get 'No Input file specified'.
My PHP script works on IE and Lynx, but on Netscape some of my output is missing. When I do a "View Source" I see the content in IE but not in Netscape.
How am I supposed to mix XML and PHP? It complains about my <?xml> tags!
How can I use PHP with FrontPage or some other HTML editor that insists on moving my code around?
Where can I find a complete list of pre-set variables available to me, and why are these not documented in the PHP documentation?
I'm trying to access one of the standard CGI variables (such as $DOCUMENT_ROOT or $HTTP_REFERER) in a user-defined function, and it can't seem to find it. What's wrong?

9.7.7 When I try to use authentication with IIS I get 'No Input file specified'.

The security model of IIS is at fault here. This is a problem common to all CGI programs running under IIS. A workaround is to create a plain HTML file (not parsed by PHP) as the entry page into an authenticated directory. Then use a META tag to redirect to the PHP page, or have a link to the PHP page. PHP will then recognize the authentication correctly. With the ISAPI module, this is not a problem. This should not effect other NT web servers. For more information, see: http://support.microsoft.com/support/kb/articles/q160/4/22.asp .

<< When I try to use authentication with IIS I get 'No Input file specified'. >>
I need to access information in the request header directly. How can I do this? Using PHP My PHP script works on IE and Lynx, but on Netscape some of my output is missing. When I do a "View Source" I see the content in IE but not in Netscape.