prolog031 Posted September 12, 2008 Share Posted September 12, 2008 Please someone help, this is driving me insane! I'm quite new to php so please bare with me. I'm inserting a search facility for a small travel agency's website. The search system was developed by another company. I have complete control over the form but I have to post to their server where it is queried and results are displayed. My question is, is there any way in which I can submit a form in the background and parse the results page that is generated on their server, to strip out secific tags and display them on my page? I have come across a function http://simplehtmldom.sourceforge.net/ that works very well for my parsing needs, but it is the process of parsing the dynamically generated search results that I am stuck at. Thanks in advance for any help Will Link to comment https://forums.phpfreaks.com/topic/123947-posting-a-form-and-parsing-the-results/ Share on other sites More sharing options...
simonrs Posted September 12, 2008 Share Posted September 12, 2008 I have never ever used it, but I'm pretty sure that what you want to be using is curl (http://uk.php.net/manual/en/book.curl.php). Link to comment https://forums.phpfreaks.com/topic/123947-posting-a-form-and-parsing-the-results/#findComment-639843 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.