Hi all,
I would like to know how I might be able to do something using PHP (or some other technology that will allow this...).
What I need to do, and I know that it's possible because this is what web browsers do all the time, is send an HTTP request and receive the HTML file from that server replying to my request.
I've got an HTML file, and it contains a form with all hidden input fields and automatically (using <body onLoad=form.submit()>) submits itself to an asp page on the web.
Basically I'd like to POST all the information from that form to some ASP page on the web, and download the HTML response file so that I can parse its HTML code (using PHP's PERL abilities).
Any and all help would be appreciated!
Thanks,
Sadiq.
I would like to know how I might be able to do something using PHP (or some other technology that will allow this...).
What I need to do, and I know that it's possible because this is what web browsers do all the time, is send an HTTP request and receive the HTML file from that server replying to my request.
I've got an HTML file, and it contains a form with all hidden input fields and automatically (using <body onLoad=form.submit()>) submits itself to an asp page on the web.
Basically I'd like to POST all the information from that form to some ASP page on the web, and download the HTML response file so that I can parse its HTML code (using PHP's PERL abilities).
Any and all help would be appreciated!
Thanks,
Sadiq.