Solved

Looking for a program

Posted on 1997-08-30
2
146 Views
Last Modified: 2013-12-25
Does any one know of a cgi script which combines a fom mail program similar to matt Wright's with a credit card verifier similar to Spiders (located on Matt's site)?
0
Comment
Question by:mikerz
2 Comments
 
LVL 1

Accepted Solution

by:
Hose earned 50 total points
ID: 1829985
Since both scripts allow modification as long as you keep the copyright notice intact, your best bet would be to combine the two in whatever fashion you choose.  One easy way is to make the card verification program one big subroutine which accepts a card number, a card name, and an expiration date.  Then just replace the valid and invalid routines with whatever value you wish to return and do what you want inside the formmail program.  If you make the credit card verification routine an external file with your new subroutine, then it will be easy to include the routine in later CGIs.
0
 

Author Comment

by:mikerz
ID: 1829986
I have considered the possibility of combining the two programs.  I had hoped that somebody would have done so already so I wouldn't have to re-invent the wheel.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
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 …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

770 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