I've been trying to find out how to use snoopy class in php. I'm trying to search anything from google using snoopy. i found out that the form of google search is name=q and the action=/search
how to set my snoopy code to a correct code.
$s=new Snoopy();
$form=array("q"=>"spiderman");
$s->httpmethod = "GET";
$s->submit("http://www.google.com",$form);
echo $s->results;
i got a 405 result.