Archive

Posts Tagged ‘deduct’

Register Script 2

September 10th, 2009 Comments off

I will give each user a unique number, such as “1234-5678-4321-6000-9876-4567-3421-987977-5634″. This is a set of nine numbers separated by dashes.

The user then goes to a webpage and enters/pastes this number into an editbox called “Registration Number”. A single editbox for this but note that each set of numbers is separated with a “-”. Another editbox records his email address.

When the user clicks the “submit” button, each set is then used in a separate calculation within the script. A simple example would be:

First (1234) could be “add 1000, multipy by 2, and then deduct 68 (giving 4400).
Second (5678) could be “add 1322, multipy by 5 and then deduct 5000 (giving 30000).
(the same for the other sets)….

The above are examples only. The actual calculations would be more complex and should be variables within the script:
First Set: “add $a1, multipy by $a2, and then deduct $a3.
Second Set: “add $b1, multipy by $b2 and then deduct $b3.

The results would then be combined and emailed to the user as “4400-30000-…-…-etc”. This is also recorded in a MySQL database, together with his email address already entered.

For added security, there is also another editbox called “Security Code” on the page. I shall also give 2 codes to the user and he must enter just one of these into this editbox. This can be either of 2 variables within the script. I will change one of these monthly but I need 2 in case the user doesn’t use it immediately. For example, I will give the user both of these: “JAN9″ and “FEB9 but I could change “JAN9″ to “MAR9″ the same day with the knowledge that he could still use “FEB9″ without problems.

Each section should be separated with, for example,” // ########## COMMAND START” and ” // ########## COMMAND END” etc and operations CLEARLY commented throughout for any changes I may wish to make later.

The script must have a consistent look throughout so header.htm and footer.htm files or header.txt and footer.txt) must be included.

Also I will own the copyright.

Register Script

September 10th, 2009 Comments off

I will give each user a unique number, such as “1234-5678-4321-6000-9876-4567-3421-987977-5634″. This is a set of nine numbers separated by dashes.

The user then goes to a webpage and enters/pastes this number into an editbox called “Registration Number”. A single editbox for this but note that each set of numbers is separated with a “-”. Another editbox records his email address.

When the user clicks the “submit” button, each set is then used in a separate calculation within the script. A simple example would be:

First (1234) could be “add 1000, multipy by 2, and then deduct 68 (giving 4400).
Second (5678) could be “add 1322, multipy by 5 and then deduct 5000 (giving 30000).
(the same for the other sets)….

The above are examples only. The actual calculations would be more complex and should be variables within the script:
First Set: “add $a1, multipy by $a2, and then deduct $a3.
Second Set: “add $b1, multipy by $b2 and then deduct $b3.

The results would then be combined and emailed to the user as “4400-30000-…-…-etc”. This is also recorded in a MySQL database, together with his email address already entered.

For added security, there is also another editbox called “Security Code” on the page. I shall also give 2 codes to the user and he must enter just one of these into this editbox. This can be either of 2 variables within the script. I will change one of these monthly but I need 2 in case the user doesn’t use it immediately. For example, I will give the user both of these: “JAN9″ and “FEB9 but I could change “JAN9″ to “MAR9″ the same day with the knowledge that he could still use “FEB9″ without problems.

Each section should be separated with, for example,” // ########## COMMAND START” and ” // ########## COMMAND END” etc and operations CLEARLY commented throughout for any changes I may wish to make later.

The script must have a consistent look throughout so header.htm and footer.htm files or header.txt and footer.txt) must be included.

Also I will own the copyright.

Need Bulk Sms Website

June 23rd, 2009 Comments off

We want to build a sms portal to meet the following requirements.
1. Programming Requirement

1.1. Language – PHP

1.2. Database

Categories: MySQL, PHP Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Bear