You are here: problems with $_FILES « PHP Programming Language « IT news, forums, messages
problems with $_FILES

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация