if(!$submitted){
//@unlink("cookies.txt"); //Clear our cookies file
$signuppage = "https://accounts.google.com/SignUp";
$socket = curl_init();
CURL_SETOPT($socket, CURLOPT_URL, $signuppage);
CURL_SETOPT($socket, CURLOPT_REFERER, "http://www.google.com");
CURL_SETOPT($socket, CURLOPT_FOLLOWLOCATION, 1);
CURL_SETOPT($socket, CURLOPT_RETURNTRANSFER, 1);
CURL_SETOPT($socket, CURLOPT_POST, 1);
CURL_SETOPT($socket, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36");
//CURL_SETOPT($socket, CURLOPT_COOKIEJAR, "cookies.txt");
//CURL_SETOPT($socket, CURLOPT_COOKIEFILE, "cookies.txt");
$data = curl_exec($socket);
}
if($data == null){
echo "Null";
}
print_r($data);