[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
executing a cgi script in a minivend session
Hi,
In my pages/ord directory, I have the following files:
checkout.html,
payment.html,
payment.cgi
In checkout.html, if the user choose to use online credit card
processing method, then minivend will call payment.html.
In payment.html, it just presents a form to the user to fill in
their credit card number and other details, then I need to call
the payment.cgi script to contact the bank to do the real
transaction. If succsess, then I would like to present users
with the receipt([include etc/receipt.html])
How do I do this? Could someone give me some examples? In
addition, I would like to preserve the .cgi extension.
Thanks in advance.
Shao.
--
____________________________________________________________________________
Shao Zhang - Running Debian 2.1 ___ _ _____
Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au |___/
_____________________________________________________________________________