<form method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>">What is the $_SERVER["PHP_SELF"] variable?

The $_SERVER["PHP_SELF"] is a super global variable that returns the filename of the currently executing script.