Heya peep, how goes it?
I have posted about this before, but didn't get a reply. So, im trying again.
Im making a web page for a gaming club. Members login and they have access to the member features etc. This is how the login thing works....
When a member hit's "Login here", no matter what the current URL is, ?reqi=1 will be added at the end of the URL. As long as reqi is true and no sessoin has been registered, then the login form will be displayed.
All that is fine, untill I have a URL like this....
/default.php?DeptID=3
Now, if I want to login, the URL will be...
/default.php?DeptID=3?reqi=1
This won't display the login form.
Im guessing I need a script of some kind that reads the current URL, and if there's a '?' in the URL, put '&' insted. Problem is, I don't know how to do it. Can someone please help?
Thanx, yours
Stereo