Hi
how to submit google page and get the result page using snoopy class?
thanks in advance.
how to submit google page using snoopy
Moderator: General Moderators
Re: how to submit google page using snoopy
Have you experimented or written any code?
Re: how to submit google page using snoopy
yea
this code don't work because of the form vars sent i don't know what it should be
Code: Select all
<?php
require_once("snoopy.class.php");
$s=new Snoopy();
$form=array("q"=>"devnetwork");
$s->submit("http://www.google.com",$form);
echo $s->results;
?>Re: how to submit google page using snoopy
I would have to see the snoopy class or read the documents in order to answer your question. Is there any reason you are not able to do this?
Re: how to submit google page using snoopy
thanks for reply
there no documentation just a little notes
just i want to know how the submit function accepts the form vars
in case of google site what is the form vars i show send?
thats all i need to know
thanks in advance.
there no documentation just a little notes
just i want to know how the submit function accepts the form vars
in case of google site what is the form vars i show send?
thats all i need to know
thanks in advance.
Re: how to submit google page using snoopy
Code: Select all
$s->submit("http://www.google.com[b]/search[/b]",$form);