Hello,
My script directs a user to this page:
http://mydomain.com/publisher/index.php?admin=logout
and once the logout is performed I want to redirect them back to whatever the address is WITHOUT the "?admin=logout" on the end. How would I do that with PHP? I remember using a http_referrer() before but can't seem to get that to work right.
The address will be different each time so I just need a way to refresh the current page and leave off the "?admin=logout" at the end. Any ideas?
Thank you!