Re: What's this _FILE junk?
| From: | CPT John W. Holmes | Date: | Mon, 17 Mar 2003 20:46:02 +0000 |
| Subject: | Re: What's this _FILE junk? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140038@lists.php.net to get a copy of this message | ||
Is enable file uploads turned on in php.ini??
---John Holmes...
----- Original Message -----
From: "Pete James" <Pete_James@advanis.ca>
To: "Liam Gibbs" <liamgibbs@sympatico.ca>; <php-general@lists.php.net>
Sent: Monday, March 17, 2003 3:33 PM
Subject: Re: [PHP] What's this _FILE junk?
> Is your form enctype set?
>
> Like so:
>
> <form name='foo' method='post' action='foo.php'
> enctype='multipart/form-data'>
>
>
> Liam Gibbs wrote:
> > This line:
> > <INPUT TYPE = "FILE" NAME = "imprintpicture" SIZE =
> > "22">
> >
> > when clicking submit, produces nothing. I print_r
$_FILES["imprintpicture"], I try to echo
$_FILES["imprintpicture"]["name"]
or ["tmp_name"] and nothing comes up. Any reason?
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>