I'm having some issues getting file info when user clicks submit.
I'm using $_FILES['userfile']['name']; but doesn't seem to be working. It works fine when the submit is excuted in the same php file but i'm trying to have the info passed to another file when submit is clicked.
I'm using method='post' to send info. I tryed method='get' and noticed that location of the file name was being passed as such.
userfile=D%3A%5CDocuments+and+Settings%5CIceman%5CDesktop%5CImages%5Cc1.PNG
How would I get the filename c1.PNG when submit is clicked?