Trying to post a url to pingdom's web page load testing tool, and grab the resulting html...but, all I get is the home page, as though the post hasn't even gone through. Can anybody see what's going wrong here?
<?php
$ch = curl_init();
$data = array('testurl'="www.google.ca");
curl_setopt($ch, CURLOPT_SSLVERSION, 3);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_URL, "http://tools.pingdom.com/fpt/");
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
echo curl_exec($ch);
curl_close($ch);
?>