Re: Calling cgi post form from within php
| From: | Chris Shiflett | Date: | Sat, 10 Jan 2004 19:33:16 +0000 |
| Subject: | Re: Calling cgi post form from within php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174212@lists.php.net to get a copy of this message | ||
--- Thomas Andersen <tandersen@hometowntechnologies.com> 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/