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 ([EMAIL PROTECTED]) wrote:
> Just do a print_r($_FILES) and see what all of the contents are.
>
> ---John Holmes...
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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
>>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php