PHP variable, current page with parameters
Posted: Fri Jan 27, 2012 4:20 pm
Is there a variable that contains the current page with parameters?
For example, the
only contains the current page, but I would like it to contain the current URL parameters as well. In this instance I want it to contain "?id=1" as well, but to use something like
is not what I want, since there are different paramters at different times.
For example, the
Code: Select all
$_SERVER['PHP_SELF'];Code: Select all
$_SERVER['PHP_SELF']."?doChangePass=true&id=1"