Jump to content

Executing and parsing javascript server-side


g0tmk

Recommended Posts

I have an odd problem - I need to run and parse the output of a javascript script without the user ever seeing it.  I am trying to pull data out of a script that uses data from a seperate domain that I have no control of, so I need to be able to simply strip out the information I need.

 

The step I can't figure out is getting the output.  I know that javascript is intended to run on the client and PHP shouldn't know the difference, but I need some way for PHP to run it *itself* before sending anything to the client.  Does anyone have any ideas?

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.