Jump to content

Php_self


Grabeorama
 Share

Recommended Posts

I am using a login system on my website. I have a form that sends the current page to the login page so when the user logs in, it redirects them back to the page they were on before the logged in. For that I am using $_SERVER['PHP_SELF'];It works fine until the page they were on before logging in was viewing an individual blog entry. It does not seem to carry the "?id=1&name=Name" is there a way of sending all the info of the page using something similar to $_SERVER['PHP_SELF']; ?Thanks :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...