method=post

From: Date: Fri, 13 Oct 2000 20:34:32 +0000
Subject: method=post
Groups: php.general 
Request: Send a blank email to php-general+get-20078@lists.php.net to get a copy of this message
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? Thanks for supporting my laziness :) Otzi

« previous php.general (#20078) next »