Jump to content

HTTP POST to automatically fill out and send a form


Recommended Posts

The only way this possibly make sense, is a user fills out fields, submits using $_post, it vaildates, sanitize post values if they pass this stage process and automatically send email using server mail function, else return to form with entered content automatically showing in input fields again and warning pointing out the problem.


IF this info is gathered from database for instance, it should have been validated, sanitized before being stored in DB, and if! having the required information to send email, be processed by the server mail $_post would not be involved.

Edited by dsonesuk
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...