Sorry for this ugly message. We are searching for some translators.
Please send me an eMail or jabber: t4c@im.digital-bit.ch
Got: de, en, pl, ro, lu, ru, es - Need: everything else
Userdata
Name
Anonymous
Scriptlanguage
PHP
Tabwidth
4
Date
08/10/2008 06:12:55 pm
IP
66.244.191.61
Description
The user was too lazy to give a description
Code (Hide rownumbers )
<?PHP
function post($site, $data)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$site);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_REFERER, $site);
curl_setopt($ch, CURLOPT_COOKIEFILE, "tmp2.txt");
curl_setopt($ch, CURLOPT_COOKIEJAR, "tmp2.txt");
$result = curl_exec ($ch);
return $result;
}
function Login_Paypal($user, $pass)
{
$input = post("https:
return $input;
}
$user = "RAIINLOVE";
$pass = "sa";
$content = Login_Paypal($user, $pass);
if ( preg_match('%My Account Overview %' , $content) ){
preg_match('% Welcome%' , $content);
print ("WE ARE ONLINE");
}
else {
print ("Something went wrong");
}
?>