RE: [PHP] Posting variables to a cgi without a form
| From: | Joseph Blythe | Date: | Mon, 05 Nov 2001 05:45:06 +0000 |
| Subject: | RE: [PHP] Posting variables to a cgi without a form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73447@lists.php.net to get a copy of this message | ||
Thanks,
I got to recompile php to do this (me too lazy), can't I do this with the
network/filesystem functions? will keep this in mind though.
Regards,
Joseph
-----Original Message-----
From: Jason G. [mailto:blair@nb.net]
Sent: Monday, 5 November 2001 4:14 PM
To: Joseph Blythe
Subject: Re: [PHP] Posting variables to a cgi without a form
I believe cURL is great at this. Php supports cURL. go to curl.haxx.se
-Jason Garber
IoNZoft.com
At 03:40 PM 11/5/2001 +1030, you wrote:
>Hey all,
>
>What is the best wat to post some variables to a cgi file and capture the
>output so I may strip out all the html tags, I want to replace a forms
>action with a php script which will mimic a forms post method, allowing me
>to better format the response, as at the moment the cgi is written in c and
>creates a whole html page which i need to strip back down to text before I
>can include it in my site.
>
>I know about the string and filesysytem functions, sort of looking for a
>quick example of passing the variables to the cgi and capturing the output.
>
>Any help much appreciated,
>
>
>Regards,
>
>
>Joseph
>
>
>
>--
>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