Email a file attachment from <input type=file> problem...
Posted on 2003-11-22
When submitting a form that contains <input type="file" name="test"> to a php script, I get an undefined index trying to retrieve the value of "test".
I don't need to upload the file to the server, I just need the path on the users computer, because when they submit the form, I'll email the file in an attachment.
How do I access the "test" value in the script? All the other submitted values work fine.