I need some things clarified here:
I have a website that updates the values of two variables each time the site is reloaded in the browser. This page is obviously an HTML page but the variables are updated by javascript functions. This page runs on my server.
Can PHP retrieve the values of these variables and, using them, write them to a txt file or XML file? I realise javascript is a browser side language and PHP a server side language but I don't know how the two can relate properly in this context.
Also I don't have the option of recreating the javascript code as PHP script.
Is what I want to do possible?
Thanks