Please help me understand the logic flow of the follow pass thru variable provide by my billing provider?  I am newbie to cgi

Posted on 2003-03-19
Medium Priority
Last Modified: 2013-12-25
There are 10 user variables which you can pass-thru the signup system. Our signup system will not modify these variables, but will merely POST them back to your cgi. These variables are named:

user1, user2, user3, ... user10

as in the pass-in variables, you can send pass-thru variables to our system either via GET (appended to URL) or via POST. After a successful signup, these ten variables are posted back to your CGI.

user1 is a special case pass-thru variable. If it contains a value which starts with "http", it is considered to be a URL. Not only is it passed-thru as normal, but if the user successfully signs up, then on their confirmation page an invisible image is displayed with a source pointing to the URL in user1. This allows you to call a cgi on your end which has access to the normal CGI variables of the client (customer). If you needed to set a cookie on your customer's machine, or needed to determine his browser type, then you could do so by writing a simple script and passing its URL in user1.

Question by:dtyson69

Expert Comment

ID: 8190499
Could you be more specific on what you need to know?

Also, if I don't know which billing provider you use, I can't comment on the underlying flow.

Accepted Solution

petka earned 1000 total points
ID: 8267568
You should pass user1=yourdomain/your_script
This script can record user ip address and time, browser and other enviroment variables. The point of this is so you would know who paid you through the billing system.

Only the person who has succefully went through the willing system and paid up will get to execute your script.
And this way you can allow this user to download or get your product automaticly without you having to check that he indeed paid.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Suggested Courses

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question