ID: 37863 User updated by: mpowell1221 at gmail dot com Reported By: mpowell1221 at gmail dot com Status: Bogus Bug Type: *General Issues Operating System: Windows XP Pro PHP Version: 4.4.2 New Comment:
What is the CVS? Previous Comments: ------------------------------------------------------------------------ [2006-06-20 18:26:46] [EMAIL PROTECTED] Fixed in CVS several months ago. ------------------------------------------------------------------------ [2006-06-20 18:23:55] mpowell1221 at gmail dot com Description: ------------ My code crashes PHP.exe when ran. I am running windows XP Pro with IIS 5.1, PHP is 4.4.2, and I am also running MySQL. The bug occurs when ever I run a fopen function. Reproduce code: --------------- <?php //referring URL should send a query like this....http://localhost/Link%20Checker/linkchecker.php?list=http://google.com/|http://localhost/Link%20Checker/linker.html&rand=478046104884318 $list=$_GET['list']; $link = explode("|",$list); // put URLs into an array $badcount = 0; $out = "Link Check For: ".$_SERVER['HTTP_REFERER'] ."\n\n".date("F j, Y, g:i a")."\n\n"; foreach($link as $url) { $fp = @fopen($url, "r"); if (!$fp) { $out .= "Link $url is dead!\n"; $badcount++; } } echo $url; ?> Expected result: ---------------- List of links that are broken, or do not open. Actual result: -------------- Message Box that says "The instruction at '0x100c%fca' refererenced memory at '0x0000001e'. The memory could not be 'read'". The page also returns this CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37863&edit=1