![]() ![]() |
Home |
How it works |
Projects archive |
Contact Us Air Compressor Bot |
|
| The Career Path of Freelance Programming Jobs |
PHP Validation script |
![]() |
Bidding Time: |
03/03/2007 23:33 - 05/03/2007 00:00 |
Budget: |
$30-100 |
Status: |
Closed |
|
|
|
Job Type: |
|
Description: |
This is a PHP script. It is a partial interface to a file upload pl. PHP version is 5. It needs to be completed within 2 days of acceptance. Here’s what it needs to do... Validate page form fields. Fields to be validated are: 1) secretword. Type is password. The contents of this field need to be MD5’d and that resulting hash compared to the contents of a txt file (which contains a hash) located in the same directory as the php file (the PHP file will need to read in the contents of the txt file to make this comparison). Success is an exact match of the two hashes. Failure message is “The secret word is wrong.” 2) youremail. Type is text. It needs to be a valid email address format. Failure message is “Please enter a valid email address.” 3) yourname. Type is text. It needs to be >= 2 characters. Failure message is “Please enter your name.” 4) notify. Type is text. It needs to be >= 2 characters. Failure message is “Please tell us who to notify.” 5) upfile_0. Type is file. It needs to be not empty. Failure message is “Please choose at least one file.” If all fields validate, open a php file called “success.php.” If any fields are not valid, reload the file with error messages. Validate and report on every field at once. For example, if password fails, still validate email and report that it failed when it reports that password failed (don’t just report one failure at a time). When the file reloads with errors, the field values previously entered should persist. Related Projects: This project is the proprietary information of .
Click here to remove this project from OUR database.
|
Operating System: |
Linux |
Database System: |
(None) |
| <<< back |
|
| Home | Projects archive | RSS | Resources | Links | Contact Us | © 2004-2008 ProjectsList.biz /3.432 |