ID: 30094 User updated by: aofrozen at sbcglobal dot net Reported By: aofrozen at sbcglobal dot net -Status: Open +Status: Closed Bug Type: Filesystem function related Operating System: Windows XP PHP Version: 4.3.8 New Comment:
I found the problem and solved. It was not bug. I wrote "die("Error: You must add \"http://\" or it is not correct.\n");". That is why it was terminated. :-D. Previous Comments: ------------------------------------------------------------------------ [2004-09-16 03:06:57] aofrozen at sbcglobal dot net I got the error message. It is "Warning: fopen http://www.newgrounds.com/portal/view/26078: failed to open stream: Bad file descriptor in crawlerbot_class.php on line 8. After the error message, it was terminiated. It should keep running and not terminated. ------------------------------------------------------------------------ [2004-09-15 19:39:53] aofrozen at sbcglobal dot net When the script starts with PHP command line interpreter, works well for a few hours and downloaded serveral files from websites, later it displayed bad file descriptor: copy and global and it was terminiated by itself. I will try to do it again when it happens again then I will copy the error message and paste here. ------------------------------------------------------------------------ [2004-09-15 19:00:59] aofrozen at sbcglobal dot net Copy and Global crashed after my php script run for many hours (about 4 to 6 hours) to download many files (more than 2,000 files.) from website. Often, after 4-6hrs, copy and global crashed. 'crashed' means bad file descriptor: copy and global then the script was shut down by itself. I was using PHP command line interpreter with the script. ------------------------------------------------------------------------ [2004-09-15 16:30:11] [EMAIL PROTECTED] define 'crashed' ? ------------------------------------------------------------------------ [2004-09-15 16:13:14] aofrozen at sbcglobal dot net Description: ------------ Copy and Global crashed after my php script run for many hours (about 4 to 6 hours) to download many files (more than 2,000 files.) from website. Often, after 4-6hrs, copy and global crashed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30094&edit=1