I need a script to slurp an HTTPS site. If anyone has done this (or is interested in writing it for me - $$) I'd definitely be interested. I think this would be fairly simple for someone who knows what there doing - I don't . My host has Curl installed along with PHP 4.3.
Any help would be appreciated...
You can do it with cURL:
$c = curl_init('https://secure.example.com/accountbalance.php');
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
$page = curl_exec($c);
If you prefer snoopy and have problems to make the current version run with https there is an easier version for this:
You dont need cURL externally. Make sure that cURL and openssl is enabled in your php-version.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.