From: hoelc <hoelc@pd.jaring.my>
To: linux-net@vger.rutgers.edu, PostgreSQL Interfaces <pgsql-interfaces@postgreSQL.org>
Subject: passing variable between cgi
Date: Mon, 01 Mar 1999 23:05:49 +0800
Message-ID: <36DAACCD.9FB547C1@pd.jaring.my> (raw)
References: <65256706.00327968.00@surya.nse.co.in>
<36D94D24.F893FEE7@pd.jaring.my>
Hello,
I am setting up PostgreSQL (postgresql-6.4.2) database in Linux (Linux 2.0.27)
system, and want to access the database with cgi ( C program) through Apache
(version 1.1) server. My application involve a few cgi programmes.
I can not figure out how to pass varibles between cgi programmes.
My application involve some thing like this:
In a HTML page, when the user click a button, a cgi program will run and get
some data from Postgres, then when the user click another button, the other cgi
will be triggerred to process certain data got by the previous cgi, so, I will
need to pass the data get by the first cgi to the second cgi according to the
user choice ...
I am using the embedded SQL (ecpg) method to write the cgi ( C program ) to get
data from postgresql-6.4.2.
How should I pass variable between these C program? What are the common methods
to develop this kind of application?
Please advice.
Thank you.
LCH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: hoelc@pd.jaring.my
Subject: Re: passing variable between cgi
In-Reply-To: <36DAACCD.9FB547C1@pd.jaring.my>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox