Re: For my next bug... Upload filename gets blanked out
| From: | Justin French | Date: | Wed, 09 Oct 2002 00:08:10 +0000 |
| Subject: | Re: For my next bug... Upload filename gets blanked out | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119353@lists.php.net to get a copy of this message | ||
Or look at the manual for a perfect working example of file uploading.
Why people keep trying to reinvent the wheel is beyond me...
Justin French
on 09/10/02 6:35 AM, 1LT John W. Holmes (holmes072000@charter.net) wrote:
> Just do a print_r($_FILES) and see what all of the contents are.
>
> ---John Holmes...
>
> ----- Original Message -----
> From: <Liam.Gibbs@dfait-maeci.gc.ca>
> To: <php-general@lists.php.net>
> Sent: Tuesday, October 08, 2002 2:28 PM
> Subject: RE: [PHP] For my next bug... Upload filename gets blanked out
>
>
>> <<Is register_globals off? If it is, you should be using the $_FILES
>> array.>>
>>
>> I don't think that's it. Tell me if I'm using it improperly, but I tried
> to
>> print out the filename:
>>
>> print("[".$_FILES['uploadfile']['name']."]");
>>
>> Is that it?
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>