Created
October 18, 2013 03:16
-
-
Save brianyoungblood/7035986 to your computer and use it in GitHub Desktop.
sample http post and return
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
<?php | |
$variable = fopen('http://google.com/', "rb"); | |
echo stream_get_contents($variable); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
...
Dang, that's stupid simple. Didn't even think about doing it that way.