How do I send to the current page? [closed]

Take a look at the $_SERVER superglobal. It contains all the information you’ll need about the current request, to reconstruct it.

echo '<pre>';
print_r($_SERVER);
echo '</pre>';

Leave a Comment