Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Save CC# to text file?

Save CC# to text file?



5:30 pm on May 10, 2001 (gmt 0)

Inactive Member
Account Expired


I'm trying to find an easy solution to allow one of our clients to take CC#s online (not process them) and have a way for her to view them online.

We've already got FormMail set up for her and a secure entry page, but how can we get that info to just write to a txt file instead of emailing the info to her which is a security risk? (No ASP or PGP or anything like that on her server)

Anybody have any other options aside from shopping carts? She wants to just take reservations online, so really no need for that.

Thanks in advance for any advice!

5:55 pm on May 10, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 6, 2000
votes: 0

You could get some kind of guestbook script, and alter it so the user is *not* sent to the actual 'guestbook' after filling out the form. If the user was instead sent to a thank you page, and the 'guestbook' output page was password protected, that might do what you want.

All in all though, keeping people's CC#s stored in an online text file is every bit as much a security risk as having them emailed to the client, unless (here it comes...) you get a shopping cart type program that can encrypt the CC# file, and decrypt it when viewed from an administration page...

I've heard of a lot more cases of CC#s being stolen from online databases stored on the webserver than I've heard of thieves intercepting emails and stealing CC#s out of them. Since most people *do* store customer CC#s in databases on their servers rather than routing them directly to a dedicated order processing email address, that's where the thieves tend to look.

12:20 am on May 15, 2001 (gmt 0)

Full Member

10+ Year Member

joined:Mar 19, 2001
votes: 0

Why not create a simple PERL script hosted on your site and charge a small monthly or use fee.


12:26 am on May 15, 2001 (gmt 0)

Inactive Member
Account Expired


I wish I knew how to write Perl. I'm just learning ASP at the moment and that's all I know.

The client decided not to go with online CC processing for now, so I guess it doesn't matter. =)

Thanks for the replies!