ID: 38802
Comment by: rele at gmx dot de
Reported By: shen dot shenstone at gmail dot com
Status: No Feedback
Bug Type: HTTP related
Operating System: Windows XP Pro SP2
PHP Version: 5.1.6
New Comment:
I get the same error if I just want to download the mirror selection
page:
file_put_contents('xampp-win32-1.6.4.exe.html',
file_get_contents('http://downloads.sourceforge.net/xampp/xampp-win32-1.6.4.exe?use_mirror=osdn',
FALSE, stream_context_create(array('http'=>array('max_redirects'=>1))),
0, 10000));
Previous Comments:
------------------------------------------------------------------------
[2006-09-21 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-09-13 12:54:46] [EMAIL PROTECTED]
The first header is "Location", this is pretty clear.
If you want to get the header itself you can use fsockopen().
------------------------------------------------------------------------
[2006-09-13 12:44:51] shen dot shenstone at gmail dot com
i just want get first hrader and not let php automatic follow the
redirect.
i try again and it did not work.
;(
thanks
------------------------------------------------------------------------
[2006-09-13 10:11:25] shen dot shenstone at gmail dot com
i see, no redirects followed, but it didn't fetch any info(headers)
from the first request.
it produce error "Redirection limit reached", i just need the first
header.
thanks
sorry for poor english.;)
------------------------------------------------------------------------
[2006-09-13 08:04:45] [EMAIL PROTECTED]
max_redirects - The max number of redirects to follow. Value 1 or less
means that no redirects are followed.
http://www.php.net/manual/en/wrappers.http.php
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38802
--
Edit this bug report at http://bugs.php.net/?id=38802&edit=1