** Can you complete this in the next 2 hours? **
Hello,
I need a small PHP form script created. I know it's quite basic but it'll be much quicker for someone used to PHP coding more than me!
Here's how it needs to work:
1) On the web page with the form, there is the following:
Text: Enter your Savings Coupon ID here:
The form will have just one single text entry field to accept a 4-digit number (eg 1234) and an "Enter" button all on a single line.
* I need the form html code to display this form.
The PHP form script:
* The PHP form will take the 4-digit number entered into the form and then use the header Location to redirect to a webpage ../subfolder/[login to view URL] (where the "0000" represents the number entered above).
* To prevent malicious use, only a 4-digit number should be valid entry in the form.
* There will be a pre-set list of pages that are listed in the PHP form code -- only they will be valid matches (I want to be able to manually edit this list when new pages are setup).
* If the 4-digit number does not match a page in the pre-set list, then the header Location should redirect instead to a specific defined page (eg ../subfolder/[login to view URL]).