Solved

Use php to submit a form then parse the resulting page

Posted on 2010-09-06
2
308 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Set a parameter in a properties file and use in html table. 14 58
Php variable to be sent back 3 35
wordpress theme 8 40
Sending JSON Via POST In PHP 7 28
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

751 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