Post Method question.

From: Date: Wed, 02 Aug 2000 08:29:05 +0000
Subject: Post Method question.
Groups: php.general 
Request: Send a blank email to php-general+get-9648@lists.php.net to get a copy of this message
I wanna know how to request html files with POST method. If I have following form file (/test/file_up_form.html) <form action=file_up.html method=post ecntype="multipart/form-data"> <input type=file name=userfile><br> <input type=submit> </form> I want to request file_up.html directly thru the socket. I read the HTTP Protocol. but i don't know. I did like this. 1. connect to server 80 port. 2. sending POST /test/file_up.html userfile=filename response from server isBad request ;-( [SCENARIO] 1. a person downloads a program from my site. 2. he runs the program. 2. when program stops, it generates LOG file. 3. the program sends the LOG file automatically to my server thru HTTP Protocol. 4. then we insert it to DB(MySQL). So I made html file ( action file file_up.html in above form ) and the program request the file_up.html with post method and it's arguement( the LOG file name) Any body has good suggestion? Thank you for reading my poor english and advanced answer! [InoS] --MIME Multi-part separator--

« previous php.general (#9648) next »