Skip to content

Instantly share code, notes, and snippets.

@brianyoungblood
Created October 18, 2013 03:16
Show Gist options
  • Save brianyoungblood/7035986 to your computer and use it in GitHub Desktop.
Save brianyoungblood/7035986 to your computer and use it in GitHub Desktop.
sample http post and return
<?php
$variable = fopen('http://google.com/', "rb");
echo stream_get_contents($variable);
?>
@AdamWarnock
Copy link

...
Dang, that's stupid simple. Didn't even think about doing it that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment