--- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> I am wonder if it is possible to use the header("Location:
> https://www.blah.net";) while stimulating it as a POST method/string.

It is not, and if you think about that for a minute, you should be glad.

You cannot force the user to submit a POST request to any URL, but you can
submit a POST request yourself and then show the content of the response
to the user.

There are PEAR classes that can help you with this (most of the HTTP_*
ones), the cURL extension can do it, and you can also do it yourself
manually with fopen():

http://shiflett.org/hacks/php/http_post

Hope that helps.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming mid-2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to