Re: open files via http
| From: | Stig Bakken | Date: | Sun, 25 Jul 1999 21:42:31 +0000 |
| Subject: | Re: open files via http | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-9143@lists.php.net to get a copy of this message | ||
On Sun, 25 Jul 1999, Jay Westerdal wrote:
> There are a few problems with opening of files
> via http right now. First is that most web servers
> are tuned to handle the new 4.0 browsers. If they
> don't see the right browser they throw bad files
> at you. If they don't see the right referer string,
> they also throw bad files at you. If they don't see
> the right cookie yet again they throw bad files at
> you. Stop this craziness!
>
> So when requesting a file.
> There needs to be more options.
>
> HTTP_USER_AGENT:
> HTTP_CONNECTION:
> HTTP_ACCEPT:
> HTTP_ACCEPT_LANGUAGE:
> HTTP_COOKIE:
> HTTP_REFERER:
>
> The ability set or add these prior to any connection
> would help!
>
> I am badly in need of setting these options. Can some
> tell me, is it a possibility of adding these options
> into PHP?
>
> I can set these options with APIs in Windows,
> but I am trying to use UNIX here.
It would be very useful being able to specify extra request headers as
well as being able to look at the response headers. Feel free to submit
this as a feature request on http://bugs.php.net/
- Stig