Re: http_post_files not returning file type
| From: | Richard Lynch | Date: | Wed, 02 May 2001 08:17:18 +0000 |
| Subject: | Re: http_post_files not returning file type | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51153@lists.php.net to get a copy of this message | ||
> this is taken straight from phpinfo(), as you can see
> its all there except for type. I was wondering why
> wouldnt my RH7.0, Apache 1.3.12 w/ PHP4.0.4pl1
> know what the file type was...
Because your browser didn't tell it?
I'm pretty sure that info comes *from* the browser...
PHP really has no way, a priori, to determine what might be in an uploaded
file.
--
WARNING richard@zend.com address is not working -- Use ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm