How to load javascript contents using php. Suppose when php saves a file using, file get contents and file put contents, JavaScript contents like Google current ads is never loaded but the google adsense codes are loaded.
Can php "run" the JavaScript code on a saved page in order to save the dynamic content that the code generates? Already got the answer is NO. Is there any way or no Way?
<script>
tags and fetch any remote scripts specified in the src=
attribute, but again... PHP won't execute the JS code - Marc B 2012-04-05 14:52
You are asking whether or not PHP can "run" the JavaScript code on a saved page in order to save the dynamic content that the code generates. The answer is no, it cannot. Or at least, not without building your own JavaScript interpreter.