Answers for "if post method form php self"

PHP
1

php post form to self

// Here is how to post form data to self or to the same page & 
// avoid the PHP_SELF exploits at the same time.
<form name="my_form" method="post"
  action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>"> 
</form>
Posted by: Guest on June-23-2020
3

php self

<form name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" >
Posted by: Guest on November-08-2020

Browse Popular Code Answers by Language