cURL problem with page loading content thru AJAX
Posted: Tue Aug 05, 2008 1:29 pm
Hi,
I use cURL and php to retrieve data from a site. All works perfect with only one small problem
The page is loading content using AJAX and as that is done serverside i already have a HTTP header 200 and connection close command in the header which turns cURL into thinking...were done.
How do i let cURL wait a few seconds before returning the data so it will have really all data on the page and not the empty div's.
Edwin
I use cURL and php to retrieve data from a site. All works perfect with only one small problem
The page is loading content using AJAX and as that is done serverside i already have a HTTP header 200 and connection close command in the header which turns cURL into thinking...were done.
How do i let cURL wait a few seconds before returning the data so it will have really all data on the page and not the empty div's.
Edwin