Hi, I have an odd error in my logout.php file maybe you can help me.
I have this in the start of my file:
<?php include('../config.php'); session_destroy(); session_unset(); ?>
In config.php I have session_start();
A little down in the page I have this:
<?php echo 'Logged out...'; echo '<meta http-equiv="REFRESH" content="0;url=index.php">'; ?>
And the error is:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /public_html/short/admin/logout.php on line 1
Can you help me? Thanks!