-1
I have this page that’s on a server where I don’t have access. https://genuncoin.com/crypto/ Open it in the browser and you will see that its jquery generates a number.
I’m trying to get the number it generates but when I use this function:
$page = file_get_contents('http://genuncoin.com/crypto/');
the $page
me returns her html without the number only the javas scripts and html of the screen.
someone would know how to get the value that is generated by javascript??
then it will even but I need to pick up with php and not with ajax. because this way I can put a cron and save the information in the bank
– Jasar Orion
But you’re sending it to a PHP script. Coming to this script do what you want with this value, including putting it in the database.
– Phelipe
but everything has to be by backend no when someone access the page.
– Jasar Orion
This is not making sense to me. If you have access to this page this is the best way to do it. If you can’t change the front script you want to mine data on the web. It gets a little more complicated
– Phelipe
Edit your question by adding exactly what you want and how you want to get to the solution
– Phelipe
this url is on another server and I want to pick up with my php only what returns but c vc access it the content of the div has nothing and I can not take with php and write only the number in db when I pull the get_gile there it brings everything but the result
– Jasar Orion
This pq Javascript runs on the user’s machine file_get_contents reads the contents of a file and transforms it into a string. So there is no information you want in the file.
– Phelipe