simonshaw Posted May 7, 2015 Share Posted May 7, 2015 on your page: http://www.w3schools.com/php/php_form_validation.asp you discuss preventing exploits by using htmlspecialchars. When I build forms I avoid entering the page name at all and simply use action="?" is this some how wrong? it works well for me Link to comment Share on other sites More sharing options...
Ingolme Posted May 7, 2015 Share Posted May 7, 2015 If you want the form to submit to the same page you can omit the action attribute altogether. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now