[Php-it] mime in upload

Roberto Tagliaferri r.tagliaferri at tosnet.it
Tue Jan 2 11:33:02 CET 2007


Buon 2007...
Sto facendo una banale procedura con upload di un file pdf..
Però il mime riportato nell'array FILES non è (come mi aspettavo) 
application/pdf ma text/html e quindi posso fare dei controlli solo sul 
nome del file (se ci metto una immagine ci mette il tipo corretto, es 
image/gif): what's wrong?

-- 
Roberto Tagliaferri
Responsabile Progettazione & Produzione
TosNet s.r.l. - Internet Service Provider
r.tagliaferri at tosnet.it
www.tosnet.it



More information about the Php-it mailing list