I suppose I should say what the system does...
It will display one of two websites. both have similar designs, just different images and colors.
One of for a "Debt" Site, which if people want or need help with their debt, they just fill out a simple questionaire, and then we have someone in our Company call them, to help them.
The other is for 2 Free Round Trip airline tickets. If they want them, and they would like to join our Membership, then they can
fill out the short questionaire, and then someone will contact them, very soon.
The system will have on the first page the information and the form, and when they submit it, first it validates the forms are FILLED OUT, that we need, if not it re-displays the form with the error messages next to the fields that are needed.
If they fill it out correctly, it checks to make sure the directory we want them stored in, exists, if not it creates them. If they exist, then it creates a "csv" file for me. I can download it anytime I want, off the server.
The first time it's ran, it creates a ".txt" file, that will tell the system it was already registered. at that time it uses Sendmail to mail me the system variables for that machine, so I can make sure someone is not using without my permission. I know people with any kind of skills can get around it, but I wrote this for one of my employers, free of charge, so I don't want them just using it for everything else, as they have to pay me for any other copies.
I can add a variable to the address, and it will create a .txt file that if exists, will render the site "Non functional".
I can also add another variable and it will make it functional again.
It does several things.
Any ideas?
Thanks,
Ukndoit