| 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] |