Re: PHP post
| From: | Tobias Talltorp | Date: | Wed, 21 Mar 2001 12:48:52 +0000 |
| Subject: | Re: PHP post | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44932@lists.php.net to get a copy of this message | ||
No can do...
You can send a post to another page, but not go to that page.
In order to go to the page the form was was posted, the information must
come from the client. You can use javascript for this, but it is not a very
stable solution.
// Tobias
""Paul Juliano"" <paul@edsamail.com.ph> wrote in message
news:ee31c9ab21f0073b6459167fe52c5c41@news.php.net...
> Hello,
>
> How would I simulate an http post in PHP. Something like the equivalent
> of this:
>
> <form action="process.php" method=POST>
> <input type=submit><br>
> <textarea name=data>
> <?= $some_values =>
> </textarea>
> </form>
>
> And how would I be able to read the resulting page.
>
> __________________________________
> www.edsamail.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>