#37710 [NEW]: http:// fopen wrapper not working in 4.4.2/IIS6 (works in 4.4.1)

From: Date: Tue, 06 Jun 2006 09:42:45 +0000
Subject: #37710 [NEW]: http:// fopen wrapper not working in 4.4.2/IIS6 (works in 4.4.1)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98079@lists.php.net to get a copy of this message
From:             andrewcrowe_uk at yahoo dot co dot uk
Operating system: Windows server 2003
PHP version:      4.4.2
PHP Bug Type:     Filesystem function related
Bug description:  http:// fopen wrapper not working in 4.4.2/IIS6  (works in
4.4.1)

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 bug report at http://bugs.php.net/?id=37710&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37710&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37710&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37710&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37710&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=37710&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37710&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37710&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37710&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37710&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37710&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=37710&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=37710&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37710&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37710&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37710&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37710&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37710&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37710&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37710&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37710&r=mysqlcfg


Thread (2 messages)

« previous php.bugs (#98079) next »