below is the coding that i created :

<form method=post action="upload.php"
enctype="multipart...something">

<input type=text name=filename value="">
<input type=file name=uploadfile>

</form>

I allowed user to enter the filename. So
whatever file the user upload, the filename
will follow the name which they entered.

After posted the form, i use $filename to
get the filename value, but i couldn't
get it. I can get it only if i remove
"enctype="xxx" .

so i would i like to know how to get the other posted data where the form is in
:enctype="multipart...something": ?

    Sorry for the answer but check out the article on this site on how to store binaryu data in a mysql db. it contains the info you are looking for.

    good luck

    cheers
    daan

      What is "multipart...something" ???

      Should be "enctype=multipart/form-data" and you should be able to get to any of the form data.

      -- Rich

        Daan,
        you mean if the form is "enctype=multipart........"
        then all the data submited will be in
        binary format ???

          Write a Reply...