Re: Session var read by form C++ CGI prog ?
| From: | CPT John W. Holmes | Date: | Tue, 02 Sep 2003 18:55:26 +0000 |
| Subject: | Re: Session var read by form C++ CGI prog ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161465@lists.php.net to get a copy of this message | ||
From: "John Bryan" <johnbryan@mac.com>
> If so, the problem is that this file that is being uploaded
> via the form to the program MyCppProg.exe gets sent
> as THE input to the prog, apparently as a cgi-type
> parameter through stdin (i.e. cin), so that when I try to
> pass the value as a cgi parameter, it gets inserted INTO
> the file that is being uploaded.
Does this file already exist or are you looking to create it? It sounds like
you just need to fopen() the file, tack on your "variable" at the end of the
file (in some format) and then let the C++ program load the file, right?
---John Holmes...