I'm using this form to try to upload a file.
Something wasn't working, so I had the form's action go to printr.php which basically prints (using print_r) out all the PHP superglobals. That returns nothing, so I'm completely lost.HTML Code:<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN' 'http://www.w3.org/TR/html4/strict.dtd'> <html> <head> <title>Music Vids</title> </head> <body> <form enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> Section: <input type="text" name="section"><br /> <input type="hidden" id="MAX_FILE_SIZE" name="MAX_FILE_SIZE" value="102400000" /> <input type="file" id="userfile" name="userfile" /><br /> <input type="hidden" id="action" name="action" value="upload" /> <input type="submit" value="Submit" /> </form> </body> </html>
I know it's not the MAX_FILE_SIZE, since the max upload file size is 100M, if that helps.







Bookmarks