Re: method=post

From: Date: Fri, 13 Oct 2000 20:43:09 +0000
Subject: Re: method=post
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20079@lists.php.net to get a copy of this message
On Fri, 13 Oct 2000 22:34:32 +0200, Otzi (otzi@lovrenc.si) wrote: >On teh web I found one very usefull form that should be filled every >day. >Because I'm lazy I try to fill this form automaticly with crontab in >php >script. The beggining of form is formulated: ><form action="http://www.domain.com/servlet/let" >method="post" >enctype="application/x-www-form-urlencoded" name="form1"> ><input type=text name=par1 value=""> ><input type=text name=par1 value=""> ></form> > >I tried with... >$file= >fopen("http://www.domain.com/servlet/let?par1=12&par2=asd", > >"r") >.... but it doesn't work. Is it possible that requested method is >post (not >get as I tried)? > >Is there any chance to "simulate" the post method from php script? look on freshmeat.net or sourceforge for a php class called Snoopy. - Mark

« previous php.general (#20079) next »