Created
December 3, 2018 01:16
-
-
Save round/1f609d19289b704f71365fff5911165c to your computer and use it in GitHub Desktop.
Revisions
-
round created this gist
Dec 3, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ <?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);