Hi,
Ive been scouring the net for information on how to do this, but there is not 1 single source that has the answer.
I have done this before using ASP but since Im doing this site with PHP I have not been able to get a single answer.
The problem is basically:
<form method="post" action="confirm.php" enctype="multipart/form-data">
<input type="text" name="username">
<input type="file" name="file">
<input type="submit" name="Submit" value="Submit">
</form>
When this is posted I recieve the file in the tmp directory. But how the hell do I extract the username. I know its in binary format.
But I cant seem to extract it, no idea where to start. Im sure someone must have already done this, but there is no example on the net or no mention from all the so called tutorial sites.
All they show is how to upload a file, which is soo easy its not worth writing a tutorial for anyhow, my prob is what would be the code to extract the username from the binary blob or whatever u call it.
Thanks for anyone who helps, and sorry for any harsh words but Ive been at this for too long and im nutrionally depleted.
-regards-
UniMatrix