Hi,
how can I handle a HTTP 302 response, when sending a GET to a server to fetch it?
thanks in advance...
Try using fopen(). It handles redirection as of PHP 4.0.5.
-Ben
thanks. I tried it, and the following error occurred:
<b>Warning</b>: fopen("http://music.windowsmedia.msn.com/search/Default.asp?s=i ron+maiden","r") - No error in <b>demo2.php</b> on line <b>26</b><br>
any tip?
tia
When opened, this page returns a 404 error, not a 302.
oooops! my mistake...
it's Default.aspx
sorry 🙁
Anyway, i tried the same fopen for
http://music.windowsmedia.msn.com/Default.aspx
(didn't forgot the x now, huh! 🙂
and again de no error message appears...
thanks