Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

Use php to submit a form then parse the resulting page

Hey all. I'm looking to create a php page which submits a form on another website then parses through the resulting page. I looking for something similar to fopen() but in which I can submit form fields. Is this possible?

Sorry if my explanation is a bit confusing, I'm finding it pretty difficult to figure out an easy way of explaining it.

Thanks in advance for any help recieved.
0
Chris
Asked:
Chris
1 Solution
 
pvlierCommented:
You can use curl to do this if available on your server. You can find all info here:
http://hungrycoder.xenexbd.com/general/how-to-submit-a-form-using-php-curl-fsockopen.html 
0
 
ChrisAuthor Commented:
Perfect! Just found it a couple of seconds ago actually. You may have the points though :-)

Cheers for the help.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now