Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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>
 
PREVIOUS NEXT
Tagged: #php #post #form
ADD COMMENT
Topic
Name
5+6 =