Thanks Jason
That code change seems to have sorted out the problem.
I have placed the files on the server and it throws up an error as follows:
Warning: Cannot modify header information - headers already sent by (output started at /home/username/boat-for-sale.co.uk/Login/login.php:11) in /home/username/boat-for-sale.co.uk/Login/login.php on line 76
Warning: Cannot modify header information - headers already sent by (output started at /home/username/boat-for-sale.co.uk/Login/login.php:11) in /home/username/boat-for-sale.co.uk/Login/login.php on line 81
Warning: Cannot modify header information - headers already sent by (output started at /home/username/boat-for-sale.co.uk/Login/login.php:11) in /home/username/boat-for-sale.co.uk/Login/login.php on line 96
Warning: Cannot modify header information - headers already sent by (output started at /home/username/boat-for-sale.co.uk/Login/login.php:11) in /home/username/boat-for-sale.co.uk/Login/login.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at /home/username/boat-for-sale.co.uk/Login/login.php:11) in /home/username/boat-for-sale.co.uk/webassist/security_assist/helper_php.php on line 56
Sounds rather like the error I had earlier with the UEMail.
I have zipped and attached the file and hope you may be able to see the problem.
Many thanks
john