ID: 25619 Updated by: [EMAIL PROTECTED] Reported By: info at kktcbul dot com -Status: Feedback +Status: Bogus Bug Type: Filesystem function related Operating System: windows xp PHP Version: 4.3.1 New Comment:
This is already fixed. See bug #22508 Previous Comments: ------------------------------------------------------------------------ [2003-09-21 10:52:17] [EMAIL PROTECTED] I am pretty sure this was fixed. Try the latest version. ------------------------------------------------------------------------ [2003-09-21 10:42:46] info at kktcbul dot com Description: ------------ fopen function can't open redirected websites. For example, if a website, written in asp, redirect to another page using "response.redirect(blahblah.asp)", fopen can't open the redirected page. "http://www.ntvmsnbc.com/news/235069.asp" redirects to "http://www.ntvmsnbc.com/news/create_p1.asp?URL=www.ntvmsnbc.com/news/235069.asp" but fopen can't open second address when i write first address. And gives this warning message Warning: fopen(http://www.ntvmsnbc.com/news/235069.asp) [function.fopen]: failed to create stream: Bad file descriptor in C:\apache\Apache2\htdocs\test\wordcount.php on line 2 Reproduce code: --------------- fopen ("http://www.ntvmsnbc.com/news/235069.asp","r"); Actual result: -------------- Warning: fopen(http://www.ntvmsnbc.com/news/235069.asp) [function.fopen]: failed to create stream: Bad file descriptor in C:\apache\Apache2\htdocs\test\wordcount.php on line ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25619&edit=1