RE: [PHP] Converting piped data to values from html to phpcgi

2006-02-13 Thread Ford, Mike
On 13 February 2006 14:38, zedleon wrote: > I am using php as a cgi. The data from my html is piped through stdin > using this code: > $fp=popen("cat","r"); > $str=fgets($fp); > print $str; > > > > The result I am getting looks like this: (which is correct) > sender_name=zedleon&[EMAIL PROTECTE

Re: [PHP] Converting piped data to values from html to phpcgi

2006-02-13 Thread Jochem Maas
;]; ?> That routine should create variables with the names of the arguments as well as an associative array of the string HTH Dan -Original Message- From: zedleon [mailto:[EMAIL PROTECTED] Sent: 13 February 2006 14:38 To: php-general@lists.php.net Subject: [PHP] Converting piped data

RE: [PHP] Converting piped data to values from html to phpcgi

2006-02-13 Thread Dan Parry
38 To: php-general@lists.php.net Subject: [PHP] Converting piped data to values from html to phpcgi I am using php as a cgi. The data from my html is piped through stdin using this code: The result I am getting looks like this: (which is correct) sender_name=zedleon&[EMAIL PROTECTED]&sender_msg=Thi

[PHP] Converting piped data to values from html to phpcgi

2006-02-13 Thread zedleon
I am using php as a cgi. The data from my html is piped through stdin using this code: The result I am getting looks like this: (which is correct) sender_name=zedleon&[EMAIL PROTECTED]&sender_msg=This+is+a +test&Submit=Submit What I need to do now is to convert the piped string into the individu