Form validation fix + change of mail sending method -> fwrite -- 3
Budget: $10 – $30 USD
I am looking for a PHP developer for a slight modification of a PHP form.
The form currently uses the mail function and has a ready js/php validation system.
Two things need to change:
1. Change the delivery method from PHP mail to writing to a txt file in a specified path (PHP fwrite).
2. Add two additional textarea field validation rules.
a] the first validation rule needs to work with a separate PHP script. This is a simple disk space usage counter for a directory. The form validation rule should be associated with a counter so that when the directory occupancy reaches 100%, submitting queries to the form should be blocked.
b] the second rule should block all requests except for a few http:// addresses (regex expressions should be used). This function is already partially working, but it needs to be refined.
The form currently uses the mail function and has a ready js/php validation system.
Two things need to change:
1. Change the delivery method from PHP mail to writing to a txt file in a specified path (PHP fwrite).
2. Add two additional textarea field validation rules.
a] the first validation rule needs to work with a separate PHP script. This is a simple disk space usage counter for a directory. The form validation rule should be associated with a counter so that when the directory occupancy reaches 100%, submitting queries to the form should be blocked.
b] the second rule should block all requests except for a few http:// addresses (regex expressions should be used). This function is already partially working, but it needs to be refined.