Hi everyone,
i was wondering if you could help me out, i'm working on a project where the user can login from any part of the site and a function is called when the button is clicked.
The problem is if the user for example is on this url
http://localhost/profile.php?id=12
and the user wants to login the url would become
http://localhost/profile.php?id=12&action=login
That works fine but when i did $_SERVER i get the full url, how can i remove the &action=login after the user has logged in!
Thanks for looking.