Any body knows how te detect if an uploaded file is realy an ascii file and not a binary file.....
I doubt you're using a Unix (e.g. Solaris, HP-UX, AIX) or Unix-like (e.g. Linux, [Free|Net]BSD, etc.) system, but, on the very odd chance you are, take a look a the file(1) command.
-- Gary