|
Posted by Truck Estevez on 11/29/07 22:12
>
> > - only allow certain filetypes to be uploaded
>
> Not possible to limit filetypes on upload using PHP. I don't think
> javacript will either. The most you can hope for client-side is a coded
> limit on extension. Even that is not trustworthy. On the server, you'll
> have a hrad time checking validity of certain files too. You can filter on
> extension again, that's not reliable though. The same goes for checking
> mime-type. There are some tricks to check for certain files. We cannot
> tell you unless you specify what types you want.
>
thanks... the filetypes would be .ai, .eps, .pdf, .psd, and .tif. all
image files.
[Back to original message]
|