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>';
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>';