[PHP] Posting variables to a cgi without a form

2001-11-04 Thread Joseph Blythe

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Posting variables to a cgi without a form

2001-11-04 Thread Joseph Blythe

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:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]