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

Posted by Jerry Stuckle on 01/14/08 23:04

yawnmoth wrote:
> 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 ) )
>


http://us.php.net/manual/en/features.file-upload.errors.php

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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