Bug #1868: specify extra request headers when opening a file from a URL

From: Date: Sun, 25 Jul 1999 21:53:30 +0000
Subject: Bug #1868: specify extra request headers when opening a file from a URL
Groups: php.dev 
Request: Send a blank email to php-dev+get-9145@lists.php.net to get a copy of this message
From: php@westerdal.com Operating system: Any PHP version: 3.0.11 PHP Bug Type: Feature/Change Request Bug description: specify extra request headers when opening a file from a URL 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: Or to create your own tags. 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. Please Help, Mr. Westerdal php@Westerdal.com

« previous php.dev (#9145) next »