Re: problems with uploading files

From: Date: Sun, 22 Dec 2002 22:25:10 +0000
Subject: Re: problems with uploading files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-129124@lists.php.net to get a copy of this message
You need to set your php memory limit to twice the amount of any given file you upload. If your memory limit (default 8M) is not twice the size of the file(s) being uploaded it will not work. look in php.ini HTH Quoting Oliver Witt <oliverwitt@t-online.de>: ### Hi, ### I have a problem with a php script that enables people to upload files ### on my server. I don't know if this is a general problem or if you need ### to see the script. It works fine with small files, but as soon as I try ### to upload files with a size of a couple of MB, if ### (is_uploaded_file($file)) returns false. I wonder why that is! ### Kind regards, ### Oliver ### ### ### -- ### PHP General Mailing List (http://www.php.net/) ### To unsubscribe, visit: http://www.php.net/unsub.php ### ###

« previous php.general (#129124) next »