File type not set
| From: | Fredrik Wahlberg | Date: | Thu, 01 Mar 2001 10:13:14 +0000 |
| Subject: | File type not set | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42146@lists.php.net to get a copy of this message | ||
I'm uploading a file to my server, and I check the mime-type and file
size before saving it. For some reason I get the file size, but not the
file type. $userfile_type returns nothing and $userfile_size returns the
correct size.
This works just fine on another server where I have the same script so
the problem is not in the browser.
I'm running RedHat 7.0 with PHP rpm php-4.0.4pl1-3
Bug, feature or my fault?
/Fredrik