My logout link does 2 things
1. Log user out of forum phpbb
2. Log user out of main site
This is achieved by loading one url then applying a redirect, however now that i have moved this from my local machine to the online webserver, when i click logout it is pointing the user to localhost
link to my site - http://www.hookedonpike.co.uk/index.php
test details - username - test1 password - qwerty
the code for my logout link looks like this
Code: Select all
$appendLogout = append_sid($phpbb_root_path . 'login.php?logout=true&redirect=http://www.hookedonpike.co.uk/logout.php&sid=' . $userdata['session_id']) ;