|
Wisam Daoud (Sam)
517 N. San Mateo Dr. #1
San Mateo, CA 94401
+650-360-2233
sam@rinklefree.com
www.RinkleFree.com
Yahoo!

Speak with me now:
if ($_POST){
$username = urlencode("wisamdaoud");
$password = urlencode("12345678");
$fromnumber = "16505856734";
$tonumber = preg_replace("/\\D/", "", $_REQUEST['tonumber']);
$ch = curl_init("https://secure.click2callu.com/tpcc/makecall");
curl_setopt($ch, CURLOPT_MUTE, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "username=$username&password=$password&fromnumber=$fromnumber&tonumber=$tonumber");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
if (strncmp($output, "000:", 4) == 0)
echo "
Calling $tonumber, please answer your phone when it rings.
“;
else
echo “
Sorry, an error has occurred: $output
“;
}
?>
|