Posted by yawnmoth on 01/14/08 22:52
I'm trying to write a script that'll let me upload a *.xls file and am
having some difficulties. Here are the contents of $_FILE:
Array
(
[filename] => Array
(
[name] => filename.xls
[type] =>
[tmp_name] =>
[error] => 2
[size] => 0
)
)
As you can observe, there's no tmp_name set and error is set to 2.
What does this mean? How can I fix it? There doesn't seem to be a
whole lot of documentation on it on php.net:
http://us3.php.net/manual/en/reserved.variables.php#reserved.variables.files
Thanks!
Array ( [filename] => Array ( [name] => filename.xls [type] =>
[tmp_name] => [error] => 2 [size] => 0 ) )
Navigation:
[Reply to this message]
|