I need to know the file name (especially file type) that was posted to me.
<input type = "file">
PHP gives me a temp file name with no extension.
any ideas?
Printable View
I need to know the file name (especially file type) that was posted to me.
<input type = "file">
PHP gives me a temp file name with no extension.
any ideas?
<input type = "file" id="Test">
.....................................
Once you have selected the file..say test.doc
let the path be c:\test.doc
Test.value gives "c:\test.doc" now u can split and get the file type..
Sonia
That works fine (probally will do that) however, that happens on the client side, what about figuring it all out on the server side?