Created
June 1, 2012 15:36
-
-
Save jpsirois/2853007 to your computer and use it in GitHub Desktop.
Render any URL as Text/HTML (proof of concept)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, htmlspecialchars($_GET['URL'])); | |
curl_exec($ch); | |
curl_close($ch); | |
?> |
Thanks for the suggestion I’ll look into it to update it! It’s was only a proof of concept!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Then to use it: