I need some javascript variables to be parsed in order to be updated onto an SQL database.
1) How would I parse this lines directly from the source code for example:
//our variables
var y = "bloblo";
var x = "blabla";
var z = "bleble";
(this block above would be somewhere in the source code of the page, and my objective is to retrieve it, and store it in some php variables) What would be the most appropriate way to do it?
2) Is there a way to directly access the source code of a website in order to use this parser and retrieve/save the data?