05-09-2008, 10:25 AM
|
#2 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
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 ;)
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|