> If readfile is indeed that "broken", maybe we can talk the powers that be
> into dumping full HTTP headers through the readfile call in a future
> version.... I mean, the main script has it already from when it was
> called... so it should be able to sub-call pages in that same context.

readfile() is not broken at all.  It is silly to use readfile() to access
the local server.  virtual() does that just fine.  Having readfile() lie
about the browser type that it is and send along fake headers would not be
a good idea.  If you want to do something like that use fsockopen() and
connect to port 80 of your server and send all the fake headers you want.


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