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.