When after logging in you are allowed into the page, it opens with a slash at the end of the url, and that is causing the page not to display properly.
I have been trying to understand what is causing the "/". Not knowing much about php (and not alot more about htnl/css...) I am at a loss. i think it might be to do with the following line which is at the end og the script.
Could you "translate" it for me, please, and let me know if I can get rid of the slash here?
Code: Select all
header("location: ".$_SESSION['current']."/");
PS - Maybe I should explain better. if you enter my site at pintotours.net and follow the login procedure from the front page (the index page) after you login you get taken back to the front page - perfect!
However, if you call the login page from one of the country pages, even though you do the login in the very same place, when you are allowed in you are taken to the page where you were- fine! .... but because it tried to open the page adding a slash at the end of the address, the page does not reproduce properly.
if you go into the Bali page from the fron page, you will see a box in the right sidebar named "Incoming Agents". If you were to press the "Go to login area", you would then commence the procedure.
I would be very grateful if someone could help me get rid of the blasted slash!!!