RE: [PHP] Too many open files - what the hell?

From: Date: Wed, 04 Oct 2000 19:26:55 +0000
Subject: RE: [PHP] Too many open files - what the hell?
Groups: php.general 
Request: Send a blank email to php-general+get-18641@lists.php.net to get a copy of this message
are you using Linux? -----Original Message----- From: Dave [mailto:xor1@adelphia.net] Sent: Tuesday, October 03, 2000 10:00 PM To: php-general@lists.php.net Subject: [PHP] Too many open files - what the hell? I got this error. I'm trying to copy a temporary file (was uploaded) to a permenate file location. I don't have any other files being uploaded at the same time. I'm not even using a require or include function. It's an admin script, so no more then one person would even use it at one time. The /cars dir has chmod 777 - so its not a permission problem. Help. Here's code: // $vehicle_pic is the filename variable from the http upload. $new = rand(1000,100000); $file = "$new" . ".jpg"; copy($vehicle_pic, "../cars/$file"); --------> this is the line it gives as the problem line Here's error: Unable to create '../cars/1097.jpg': Too many open files in <b>/home/downing/www/admin/show_admin.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#18641) next »