|
Posted by Marek Kilimajer on 10/04/70 11:11
Richard Lynch wrote:
> On Wed, March 16, 2005 1:57 am, Wahyu SP said:
>
>>dear webmaster i would like to ask few questions :
>>1. can php determine the mime type of file without
>>uploading a file ??
>
>
> No.
>
> It's none of your damn business what's on my hard drive. :-)
>
Using javascript, you can read the "value" property of your file input.
You can get the extension from this value, this should be sufficient enough.
Navigation:
[Reply to this message]
|