230808 php scripting


I currently have a business to business holiday incentive program

that uses holiday certificates. These certificates carry a code and

that code is entered into a form to redeem the certificate for a

voucher (upon payment of a small redemption fee) that entitles them

to a high value, low cost holiday. Currently the certificates have

no expiry date. I want to change that so that I can generate the

certificate numbers (i.e. code) that relate to pre-determined expiry

dates. The Certificate number would be checked against a MYSQL

database to confirm the certificate is valid when the customer tried

to redeem it.


The system needs to be in two parts.

1. Administration - setting up the certificates and then being able

to generate certificate numbers that expire

2. Redemption - Checking that the certificate is valid and then

redirecting (and passing code) to the appropriate website

I need a system that allows me to set up a master 4 digit ID and

about 30, 1 and 2 digit certificates with a 100 character

description for each.

Once set up, there should e a facility to modify these descriptions.

Current system

I produce a Certificate with a code on it - there is no expiry date.

Businesses give the certificates to customers/prospects as an

incentive to buy goods or services.

Customer goes online, enters the code into a form and is sent to a

payment page to pay a redemption fee to receive a voucher (via mail)

for a high value, low cost holiday.

New system

I produce a Certificate with a code and an expiry date on it. (I

need a simple Administration system to generate this code)

Businesses give the certificates to customers/prospects as an

incentive to buy goods or services.

Customer goes online, enters the code into a form. (I need a method

of checking the certificate is valid)

The code is checked against the MYSQL database to confirm the

certificate is valid

If the code has expired the customer is told. "Sorry, your

certificate is invalid or has expired"

If the code is good, the customer is redirected to the appropriate

site's payment page.

The Two Parts

1. Administration

Screen 1(Input) Login user and password - hardcoded for one

administrator only. (Some sort of protected page may well be all

that is needed.)

Comment: Would need to be able to add Main ID (e.g. 5050. Would also

need to be able to add/remove Certificate IDs and descriptions.

Certificate ID's are likely to be 2 numeric digits. Descriptions - 100 characters including spaces should be more than enough. Maybe

also have a short Description of say 20 characters. This should

really be a one-off input. Adding or amending individual

certificates would be housekeeping only.

Screen 1(Results)

Comment: Input Saved

Screen 2 (Input) The facility to choose a number of Certificates to

be displayed

Comment: 'Would need to be able to choose multiple Certificate IDs

from the list of all certificates - maybe using radio buttons(?)

Certificate 31

Certificate 32

Certificate 33 etc.

At this screen there should also be the ability to stipulate (enter)

the expiry date (or the number of days the certificate is valid).

All certificates generated in this way (and at this time) would have

the same expiry date. Submit Button....

Screen 2 (Results)

Comment: This screen should list the certificates with their

redemption codes and a date when they expire. Although all dates are

the same, they should be in a format that can be easily copied and

pasted into an email.

2. Redemption Screen

Screen1(Input) Customer enters the code and clicks a "Redeem" button.


Comment: Invalid or out of date code returns an error OR if the

certificate is valid...

Comment: The data is automatically sent to the 3rd party site in the


<form action="[url removed, login to view]" method="post">

<input name="distid" type="hidden" value="9999" />

<input name="certid" type="hidden" value="88" />

Note: If automatic transfer is not possible then a message

"Congratulations! Your certificate has been verified." would need to

appear and a "Proceed to Checkout" submit button would then need to

be clicked.

Compétences : Tout va bien, MySQL, PHP

en voir plus : voucher online, type of button in php with code, this email format is invalid, php scripting business, php codes list, php checked checked, php and mysql no codes, online voucher, online business at low cost, mysql database buy, low cost online business, invalid email format, invalid email error, id program online, data input administrator, confirm password error message, comment system in php, choose name for online business, buy comment, business for housekeeping

Concernant l'employeur :
( 6 commentaires ) Earl Shilton, United Kingdom

Nº du projet : #1977051

Décerné à:


hi, i am a good programmer with many years of experience behind me, i am trying to biuld up a reputation here so i cannot afford to disspoint you. You will have 200% of what you asked for. All the best, Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(16 Commentaires)