I am using curl to display a page response on a thank you page. The code looks something like this:
$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,'http://www.site.com');
curl_exec($curl_handle);
curl_close($curl_handle);
The page above 'www.site.com' has a hidden input value in it that looks something like this:
<input type="hidden" id="my_id" value="123" />
All i need to do is grab the value ('123') from this hidden input and echo it out on my page.
Would be grateful if anyone could help me out with this.
Thanks!