05-09-2008, 10:28 AM
|
#3 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by xenon
Does
PHP Code:
$_FILES['file']['name']
return the expected value? If yes, then try changing this line:
PHP Code:
$file = $_FILES['file'];
to:
PHP Code:
$file =& $_FILES['file'];
And a quick tip: try separating the HTML from the PHP code, so you can easily debug both of them ;)
|
By the way, $file = $_FILES['file']; type things has worked for me before, it's just very... weird
__________________
VillageIdiot can have my babbies ;d
|
|
|
|