cURL problem with page loading content thru AJAX

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
edynas
Forum Newbie
Posts: 1
Joined: Tue Aug 05, 2008 1:20 pm

cURL problem with page loading content thru AJAX

Post by edynas »

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
Post Reply