Re: Post a form within a running php-script
| From: | mike cullerton | Date: | Mon, 09 Jul 2001 05:22:58 +0000 |
| Subject: | Re: Post a form within a running php-script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56879@lists.php.net to get a copy of this message | ||
on 7/8/01 11:17 PM, Bob Horton at bhorton@whatevercomputes.com wrote:
> What if someone wanted to reply to a form but the form was expecting the
> information to arrive using the POST method (and wasn't explicitly PHP)?
>
> Is there any way to do it if you want to submit to a POST method form? Or
> some way to simulate the entering of the information and clicking of the
> submit button?
>
i'm not sure if this is what you are asking, but i can have an url like
http://mysite.com/?submit=click_me&opt=my_option
and refer to those inside my program as $submit and $opt
-- mike cullerton