Solved

Use php to submit a form then parse the resulting page

Posted on 2010-09-06
2
303 Views
Last Modified: 2012-05-10
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
Comment
Question by:Chris
2 Comments
 
LVL 8

Accepted Solution

by:
pvlier earned 500 total points
ID: 33612430
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
 
LVL 12

Author Comment

by:Chris
ID: 33612439
Perfect! Just found it a couple of seconds ago actually. You may have the points though :-)

Cheers for the help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to count occurrences of each item in an array.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now