>If anyone has an idea of determining a file type, regardless of file extention, please share it here...
>
>Types to recognize -
>Text
>Zip
>Bmp
>PDF
>or none-of-the-above
>
>TIA
To "start" you:
BMP start with "BM"
ZIP start with "PK"
PDF start with "%PDF"
TXT start with anything! :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca