|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-23 15:28 UTC] cheapsalsa at yahoo dot com
[2001-06-23 16:49 UTC] sniper@php.net
[2001-06-25 09:34 UTC] cheapsalsa at yahoo dot com
[2001-06-27 13:43 UTC] sniper@php.net
[2001-06-28 10:55 UTC] cheapsalsa at yahoo dot com
[2001-06-29 19:21 UTC] cynic@php.net
[2001-06-29 19:24 UTC] cynic@php.net
[2001-07-11 10:34 UTC] cheapsalsa at yahoo dot com
[2001-07-14 11:04 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 07:00:01 2025 UTC |
I have created a webpage to get the HTTP headers of a page. This worked fine with 4.0.5 (using the $http_request_header variable.) But, in 4.0.6, almost all websites give me a 400 Bad Request Error when using this script. To get the webpages I use $pagefile=file("http://$url"); where $url is the url (without the http://) I want to use. The only site I have found that does not give me a 400 error is www.yahoo.com. As I said, this script worked fine with 4.0.5 and I have not changed anything since using 4.0.6. I just installed PHP 4.0.6 today (June 23.) I compiled it with Apache 1.3.20 using all the same configure stuff, etc... Compiling process went normal. I can usually debug things like this, but I cannot figure out what would have caused this one. I am guessing PHP is sending corrupted requests, but I really don't know.