Need script that checks user entered 5 digit code against those in database (and also stores them in there)

完了済み 投稿 Jul 12, 2011 着払い
完了済み 着払い

I am need of a script created that does something very simple.

I need a script that will let someone fill in a field with their zipcode, if the zipcode has never been entered before (by anyone on this page) than it is added to a database - and stored and the person is redirected to a webpage .

If it HAS been entered before, then nothing happens except for them being redirected to a different page.

In both cases they are redirected to two separate pages.

If there zipcode is unique to those in the database, then they are sent to page A.

If there zipcode has already been entered, then they are sent to page B.

I will create the pages they are sent to, I just need the script to send them to the right page (In both cases, I need to be able to change/edit the link they are sent to).

There is a script that does essentially the same thing, which can be found here: [url removed, login to view]

That script has an admin feature and a few other things I think clunk it up. So that is why I want a unique one created for me.

## Deliverables

The way this will be used is as follows (to give you a better idea of what I am talking about):

Someone comes to my site, they want to buy my book. However I limit the buyers to 1 per zipcode. So I have them enter their zipcode into the box, and they click a submit button.

If there 5 digit code is unique to those in the database then they are sent to page A where they can purchase the book.

If that 5 digit code HAS been entered before, then they are sent to page B where they are told that their zipcode has already been taken, and they cant buy the book.

So there are two main parts to this:

**1)**

The area that the USER uses. Where they enter their 5 digit zipcode into an empty box.

They click submit.

Which leads to part 2:

**

2)**

The script checks the 5 digit code they entered with the others in the database.

If it DOESNT find it - it first stores that number in the database - and then they are sent to page A.

If it DOES find it - it doesnt do anything with the database - and then they are sent to page B.

Thats it.

As I said above, I need to be able to edit/change the link that they are sent to, so it needs to be simple enough for me to go into the code and change it (dont think I will have a problem there though).

Also, on the main area where they enter their 5 digit code, I need to be able to edit the wording that should go ABOVE the empty box (for instance, "Please enter your zipcode to see if it is taken..") You can add anything there just so I can find it and edit it.

I think I explained it well enough. However if you need further clarification or want to ask something, send me a message.

Please be aware that I can pay $50 for the script I linked to, so I am looking for bids below or around there.

**NOTE:

I know how to create databases. But anything beyond that and I run into trouble.

As part of the project I require a simple set of instructions on how to set it all up (only if it is confusing).

I can install wordpress manually and do lots of other stuff, but I am not a coder or programmer, so just a simple set of instructions is usually enough.

****Thanks!**

PHP

プロジェクトID: #3438727

プロジェクトについて

9個の提案 リモートプロジェクト アクティブ Jul 12, 2011

アワード:

pateman

See private message.

$25.5 USD 7日以内
(61レビュー)
5.1

9人のフリーランサーが、平均$30 で、この仕事に入札しています。

shihan033010

See private message.

$21.25 USD 7日以内
(255件のレビュー)
6.5
dzmitrij

See private message.

$38.25 USD 7日以内
(73件のレビュー)
5.9
hmddevelopervw

See private message.

$34 USD 7日以内
(49件のレビュー)
4.9
eagleeyesvw

See private message.

$42.5 USD 7日以内
(64件のレビュー)
4.7
tomgascoigne

See private message.

$21.25 USD 7日以内
(6件のレビュー)
3.8
baseers

See private message.

$34 USD 7日以内
(32件のレビュー)
3.8
emiliandobre

See private message.

$8.5 USD 7日以内
(20件のレビュー)
3.3
2010pctech

See private message.

$42.5 USD 7日以内
(0件のレビュー)
0.7