Bad file descriptors

From: Date: Wed, 24 Jan 2001 04:57:51 +0000
Subject: Bad file descriptors
Groups: php.general 
Request: Send a blank email to php-general+get-36332@lists.php.net to get a copy of this message
Hi I recently wrote a script that copies about 200 data files from a remote server, and stores them locally. It does this under cron every night Everything has been fine for a couple of weeks, but now when running the script I get an error message that reads Warning: file(http://remote.server.com/file.html) - Bad file descriptor in /home/convert.php on line ... And the files that the script is copying and referring to are all zero length. This doesn't happen all the time. some nights I may get no error messages and other times I get lots of them. Last night it was nearly all of them. The problem seems to be getting increasingly worse as time passes. I have checked the data files (about half are html and half are images) and they seem fine. I'm a bit new to php and I really have no idea what the error message means. Can someone help and explain what might be going on please Thanks Kif kif@angusinternet.com

« previous php.general (#36332) next »