I am attempting to show a cross domain website inside an iframe. I want to be able to display the mobile version of the website inside the iframe, though. I figured the best way to do this was to use something like this: https://stackoverflow.com/a/6630823/1022241 to spoof the user-agent.
I don't quite understand how I would use the above link / php to retrieve a site and put it in an iframe, though.