View Single Post

  #2 (permalink)  
Old 01-10-2004
Chris Shiflett
 
Posts: n/a
Default Re: [PHP] Calling cgi post form from within php

--- 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/
Reply With Quote