Get response from form POST

kristie90

New Member
I've looked all over the net for probably a common and simple task and have found nothing but deadends. I'm trying to grab a response from my own html page that uses POST to submit data to a website so I can parse it and show/print the parsed text on the same html page.Here's what my html page looks like:\[code\] <html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><form method="post" action="http://somesite.com" enctype="multipart/form-data"> <input type="hidden" name="function" value="http://stackoverflow.com/questions/3933450/login"> <input type="text" name="username" value="http://stackoverflow.com/questions/3933450/client"> <input type="text" name="password" value="http://stackoverflow.com/questions/3933450/qwerty"> <input type="file" name="upload"> <input type="text" name="upload_to" value="http://stackoverflow.com/questions/3933450/0"> <input type="text" name="upload_type" value="http://stackoverflow.com/questions/3933450/0"> <input type="submit" value="http://stackoverflow.com/questions/3933450/Send"></form></head><body></body></html>\[/code\]
 
Back
Top