#37710 [Opn->Fbk]: http:// fopen wrapper not working in 4.4.2/IIS6 (works in 4.4.1)
| From: | derick@php.net | Date: | Tue, 06 Jun 2006 09:49:05 +0000 |
| Subject: | #37710 [Opn->Fbk]: http:// fopen wrapper not working in 4.4.2/IIS6 (works in 4.4.1) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98080@lists.php.net to get a copy of this message | ||
ID: 37710
Updated by: derick@php.net
Reported By: andrewcrowe_uk at yahoo dot co dot uk
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: Windows server 2003
PHP Version: 4.4.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-06-06 09:42:45] andrewcrowe_uk at yahoo dot co dot uk
Description:
------------
Calling fopen("http://...") or file_get_contents("http://...") causes
IIS6 to fail in a number of ways:
If anon access is disabled (password required to view site), then IE
will ask for a new password constantly (never accepts).
If anon access is enabled then the page just bombs out with a "no data
returned" browser error.
Degrading to 4.4.1 fixes the issue
Reproduce code:
---------------
<?
$Data=file_get_contents("http://www.bizhot.co.uk/sbnxmlfeed/sbudistribute.xml");
die($Data)
?>
Expected result:
----------------
contentes of website to be printed to the screen
Actual result:
--------------
Either stuck on password request or browser bombs out with "no data
returned"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37710&edit=1