as a follow up to building a statistical databse by ripping it out of already ready websites... im trying to get some statistics from a site and i already know i can open a website with PHP with the fopen command and read what it has... but now i have pages that load the data to be viewed with JS functions... is there any way to get the PHP to load the information that is loaded that way ?
thank you
peace,
nur
reading pages loaded by JS with php
Started by LCD344, Nov 18 2010 07:50 AM
2 replies to this topic
#1
Posted 18 November 2010 - 07:50 AM
|
|
|
#2
Posted 18 November 2010 - 08:35 AM
The JS functions most likely retrieve a data source from a database or XML file, you best find out and plug that into your script (using SimpleXML library with PHP). You cannot parse Javascript, without building a javascript interpreter so finding the data source is your best bet.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 19 November 2010 - 07:47 AM
works and works... thank you very much


Sign In
Create Account

Back to top









