I need two simple php scripts. They must be written from scratch. The code must be as little as possible and serve the purpose without being too big.
(1) I need a script that checks an input's value in a form for custom block words or characters using a text file. For example, make a page that has a text input field. The form must submit successfully unless ANY of the following is entered:
(2) I need a script that checks the IP address of the user, and if the IP address matches one from a custom IP list using a text file, then it will display different information on the page. For example, make a page that says "Hello World". If the page is viewed from a specific IP from the custom list of IPs, then it will say "Hello Friend".
I need these ASAP. I am awarding the project to the first $30 bidder that I feel can get this done for me quickly.
Payment through GAF ONLY after scripts have been tested by me and I know they work the way I explained.