First of all I need to inform you that I'm trying to get content from a website which is for adults only so if you're under 18 don't enter it website address is showup[dot]tv.I need to capture the number of currently received coins displayed in 2 places on the page of each girl (online of course). You can check this link which will show you where the numbers are on the website: I have made this code to pass the first Confirmation of age page by sending the cookie and get the string which I need but... since the number of coins is dynamically loaded I cant get the number... instead I'm getting - / - etonw (0%)<?php    function get_string_between($string, $start, $end){    $string = ' ' . $string;    $ini = strpos($string, $start);    if ($ini == 0) return '';    $ini += strlen($start);    $len = strpos($string, $end, $ini) - $ini;    return substr($string, $ini, $len);}$opts = array(  'http'=>array(    'method'=>GET,    'header'=>Accept-language: en\r\n .              Cookie: accept_rules=true\r\n  ));$context = stream_context_create($opts);$fullstring = file_get_contents('http://showup.tv/Natusia', false, $context);$parsed = get_string_between($fullstring, '<span class=progress-text>', '</span>');echo $parsed;?>Couple days ago I have asked a different question about that at the Stack Overflow and the only thing I was able to get is that it might be possible to get this data by Reverse engineering JavaScript. Unfortunately, since I know only PHP basics I don't know how to do that. So I though maybe I could get some help from you guys?Cheers!
Reverse engineering JavaScript to get dynamically loaded content from website
javascript;php