From: anton at artpromcompany dot ru Operating system: windows xp sp 2 PHP version: 4.4.2 PHP Bug Type: Reproducible crash Bug description: Crash when downloading url via readfile or file_ge_contents
Description:
------------
Crash when downloading url via readfile or file_ge_contents
I tried it on 2 machines.
Windows XP sp 2.
php as apache module or cgi - it doesn't matter.
4.4.1 works correctly.
Reproduce code:
---------------
<?php
readfile("http://www.microsoft.com/");
?>
Expected result:
----------------
html page
Actual result:
--------------
crash
--
Edit bug report at http://bugs.php.net/?id=37916&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=37916&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=37916&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=37916&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37916&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=37916&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37916&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37916&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37916&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37916&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37916&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=37916&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=37916&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37916&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37916&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37916&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37916&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37916&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37916&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37916&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37916&r=mysqlcfg
