My upload_max_filesize in php.ini was 2M
Doh
It is documented that if the upload is larger $_POST and $_FILES are
empty. Hidden a bit, but it is there!
Thanks all
Stephen
Stephen wrote:
I have a form for uploading files. It is intended to upload photos. I
have it listed at the end.
When I
print_r($_FILES) may be more useful that $_POST
On Mon, April 9, 2007 7:53 pm, Stephen wrote:
> I have a form for uploading files. It is intended to upload photos. I
> have it listed at the end.
>
> When I upload a jpg everything is fine. The $_POST variable is
> populated
> as expected.
>
> If I
You may also want to take a look at
http://us.php.net/features.file-upload. That is a good resource for
starting in file uploads.
-Logan
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 8:54 PM
To: PHP-General
Subject: [PHP] Curious Problem with $_
3 matches
Mail list logo