Skip to content

Instantly share code, notes, and snippets.

@MKorostoff MKorostoff/curl.php
Created Feb 29, 2016

Embed
What would you like to do?
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://YOUR_URL_HERE.COM");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.