> From: "Phil Schwarzmann" <[EMAIL PROTECTED]> > > I am having the worst trouble trying to write a tiny simple script that > will upload a file. Below is my code - can anyone tell me why it's not > working.... > > HTML > > <form name="form1" method="post" action="upload.php" > enctype="multipart/form-data"> > <input type="hidden" name="MAX_FILE_SIZE" value="1000">
[snip] Without looking at your other code, I'll just point out that the value for MAX_FILE_SIZE is in bytes, so you're specifying a very small files size as your max. Perhaps you're off by a few magnitudes. For example, "24576000" would be the value for a 24Mb max size. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php