php - Does the curl library execute javascript inside pages? -


i'm working few pages javascript executes form submission on page load.

does curl library automatically execute javascript in web pages? if does, there way return changed dom instead of default 1 i'm returning simple curl code.

here's currentcode:

    $curl_handle=curl_init();     curl_setopt($curl_handle,curlopt_url,$url);     $buffer = curl_exec_follow($curl_handle,10);             curl_setopt($curl_handle,curlopt_header, 0);     curl_setopt($curl_handle,curlopt_followlocation, 1);      $buffer = curl_exec($curl_handle); 

no, not. not apply css styles either.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -