[PHP] Calling cgi post form from within php

2004-01-10 Thread Thomas Andersen
Hi,

does anyone know how to call a cgi script and pass along a post-form from
within php?

Thanks,
Thomas

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



Re: [PHP] Calling cgi post form from within php

2004-01-10 Thread David Otton
On Sat, 10 Jan 2004 13:46:19 -0500, you wrote:

does anyone know how to call a cgi script and pass along a post-form from
within php?

http://pear.php.net/package/HTTP_Request

There are others, of course. But this will let you make a POST request.

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



Re: [PHP] Calling cgi post form from within php

2004-01-10 Thread Chris Shiflett
--- Thomas Andersen [EMAIL PROTECTED] wrote:
 does anyone know how to call a cgi script and pass along a
 post-form from within php?

You can use cURL (if you compiled with the cURL extension), any one of the
HTTP* PEAR classes (see http://pear.php.net/), or do it manually:

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

Hope that helps.

Chris

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

PHP Security Handbook
 Coming mid-2004
HTTP Developer's Handbook
 http://httphandbook.org/

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