Posted by Paul Lautman on 10/22/37 12:00
yawnmoth wrote:
> On Jan 14, 5:08 pm, "Paul Lautman" <paul.laut...@btinternet.com>
> wrote:
>> 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.variable...
>>
>> > Thanks!
>> > Array ( [filename] => Array ( [name] => filename.xls [type] =>
>> > [tmp_name] => [error] => 2 [size] => 0 ) )
>>
>> I went to google and typed
>> php file upload errors
>> and clicked "I'm Feeling Lucky" and was taken straight to a page of
>> the manual with a link right at the top entitled "Error Messages
>> Explained" Was that really beyond you?
>
> Apparently it's beyond you. April 17, 2006:
>
> http://groups.google.com/group/comp.lang.php/msg/0fa08f908c9ec331?dmode=source
>
> I went to google and typed "short open tag php" and clicked "I'm
> Feeling Lucky" and was taken straight to the appropriate page. Was
> that really beyond you?
That required one to know that the <? was called a short open tag.
I simply picked words that you had already used in your post!
[Back to original message]
|