Re: Checkout from where?

by "Karin Ransdell" <kransdell(at)squishedmosquito.com>

 Date:  Fri, 23 Nov 2001 15:49:28 -0600
 To:  <hwg-graphics(at)hwg.org>
 References:  hotmail
  todo: View Thread, Original

----- Original Message -----
From: "Jacqueline Sylvia" <jsylvia90(at)hotmail.com>
To: <mdavis(at)flkinfo.com>; <hwg-graphics(at)hwg.org>
Sent: Friday, November 23, 2001 6:19 PM
Subject: Re: Checkout from where?


> Hi Marilyn,
>
> It really depends on the cgi script, but you could try adding a hidden
input
> tag to the form that sends the form to the page you want on submit.  I
> typically can use a redirect tag on my cgi scripts something like:
>
> <INPUT TYPE="hidden" NAME="redirect" VALUE="http://jswebsolutions.com">

I don't think that's the question, but I could be wrong.

The question -
> checkout button sends form to cgi script on another server.

implies that the *script* is on another server, so that involves the FORM
ACTION= tag.

It is correct that it depends on the the script itself, particularly what
the script does with the passed data.  Some hosted applications allow this,
some don't.  An example is  response-o-matic's form processing service,
which uses
<FORM ACTION="http://www.response-o-matic.com/cgi-bin/rom.pl" METHOD="POST"
ENCTYPE="application/x-www-form-urlencoded">

to send the form to the response-o-matic server, which then feeds up copious
ads to your visitors as a means of paying for their 'free' service.

Matt's famous formmail.pl, on the other hand, can be set with referrer
limitations so that the form must be on the same server as the cgi.

What you describe is common with passing data from the 'cart', or merchant
website to the 'checkout counter', or credit card/payment processing
application, which might be provided by a third party such as Cardservice
International and the like.

In any case, you'd need to get exact instructions from the site hosting the
process with regard to the FORM ACTION= line of your form.  Many also have
other "hidden" INPUT lines that identify you and/or are required by the
script.

/k

-------------
Karin Ransdell  kransdell(at)squishedmosquito.com
Escapade Development Team
Squished Mosquito, Inc.
http://www.squishedmosquito.com  or  http://www.escapade.org
-------------

HWG: hwg-graphics mailing list archives, maintained by Webmasters @ IWA