#22508 [Fbk->Csd]: fopen() Problems

From: Date: Tue, 29 Apr 2003 03:30:31 +0000
Subject: #22508 [Fbk->Csd]: fopen() Problems
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38670@lists.php.net to get a copy of this message
ID: 22508 User updated by: jim at bluedojo dot com Reported By: jim at bluedojo dot com -Status: Feedback +Status: Closed Bug Type: *Directory/Filesystem functions Operating System: Windows PHP Version: 4.3.2 RC 1 Assigned To: wez New Comment: The snapshot u gave me works for the fopen problems I mentioned. It is very, very stable. I also had other problems too but this one seemed to fix a lot of errors and memory leaks. Thanks. Previous Comments: ------------------------------------------------------------------------ [2003-04-28 07:42:15] wez@php.net 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 ------------------------------------------------------------------------ [2003-04-18 12:51:42] jim at bluedojo dot com For some reason, I submitted an error and it became closed so now I am re-opening it. The message begins from 17 Apr 2003 concerning fopen crashing php.exe. This code produces bug (memory leak?) in 4.3.2 RC 1 (Please excuse the porn link): <? $url = "http://www.free-adult-anime-porn-cartoons.com/robots.txt"; if ($fd = @fopen($url,"r")) echo "Success"; else echo "Failure"; fclose($fd); ?> This link also causes error: http://registration.ft.com/registration/sub/manageYourAccount.jsp ------------------------------------------------------------------------ [2003-04-18 00:24:33] jim at bluedojo dot com Continuing from the above post I sent 5 minutes ago this link causes php.exe to crash too in 4.3.2 RC 1: http://registration.ft.com/registration/sub/manageYourAccount.jsp ------------------------------------------------------------------------ [2003-04-17 23:55:39] jim at bluedojo dot com This code produces bug (memory leak?) in 4.3.2 RC 1 (Please excuse the porn link): <? $url = "http://www.free-adult-anime-porn-cartoons.com/robots.txt"; if ($fd = @fopen($url,"r")) echo "Success"; else echo "Failure"; fclose($fd); ?> ------------------------------------------------------------------------ [2003-03-04 10:21:08] iliaa@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22508 -- Edit this bug report at http://bugs.php.net/?id=22508&edit=1

« previous php.bugs (#38670) next »