Created
December 3, 2018 01:16
-
-
Save round/1f609d19289b704f71365fff5911165c to your computer and use it in GitHub Desktop.
PHP Page Proxy
This file contains 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
<?php | |
//header('Content-Type: application/atom+xml'); | |
$url='http://example.com'; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL,$url); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); | |
$output = curl_exec($ch); | |
echo $output; | |
curl_close($ch); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment