Bj wrote:

> Seems like, if you have to accept and check https: links, you need to either
> find another way to do it (maybe something really Gothic using Perl) or save
> them and check manually!

I did a little rooting around, and found that if you have libcurl 7.9.8 or
newer installed and OpenSSL, this seem to work:


<?php
$url="https://www.paypal.com/cgi-bin/webscr?cmd=_registration-run";;
$ch=curl_init(); 
curl_setopt($ch,CURLOPT_URL,$url);// set url
curl_setopt($ch,CURLOPT_FAILONERROR,1);
curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);// allow redirects
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);// return into a variable
$result=curl_exec($ch);// run the whole process
curl_close($ch);


if($result)
{
echo "success";
}
else
{
echo "failed";
}

?>


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to