Solved

Use php to submit a form then parse the resulting page

Posted on 2010-09-06
2
306 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

756 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