HI, I whant to use a php form on my site. Is there any way to to validate and ban data coming from insecure sources?
Printable View
HI, I whant to use a php form on my site. Is there any way to to validate and ban data coming from insecure sources?
In the form processing, check for the HTTPS predefined variable.
PHP Code:if ($_SERVER['HTTPS'] == 'on') {/*...*/}