php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30094 Fopen.
Submitted: 2004-09-15 16:13 UTC Modified: 2004-09-16 05:43 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: aofrozen at sbcglobal dot net Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.3.8 OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aofrozen at sbcglobal dot net
New email:
PHP Version: OS:

 

 [2004-09-15 16:13 UTC] 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. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-15 16:30 UTC] sniper@php.net
define 'crashed' ?

 [2004-09-15 19:00 UTC] 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 19:39 UTC] 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-16 03:06 UTC] 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-16 03:21 UTC] aofrozen at sbcglobal dot net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 11:02:27 2025 UTC