|
Posted by yawnmoth on 11/12/76 12:00
On Jan 15, 2:30 am, "Paul Lautman" <paul.laut...@btinternet.com>
wrote:
> 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?dmo...
>
> > 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!
But I used so many words in my post. When I type "php file upload
tmp_name" into Google (without the double quotes) and click "I'm
feeling lucky" the result I get isn't really all that helpful at all.
With regard to <? and <?php... one's short and one's long. Seems
obvious to me.
Navigation:
[Reply to this message]
|