I have a login system, which redirect user to his workplace after login and i have set the logout button and to clear session i have done this:
This code check for session, which is created after login:
this code in included in workplace area after login.
but after login ; i get this error when i upload it to host:
Re-UPDATE 2: Error after updating require_once statement again:
Fatal error: require_once() [function.require]: Failed opening required '/data/19/1/86/59/1901711/user/2069354/htdocs/xxxxxx/connect/auth.php' (include_path='.:/usr/services/vux/lib/php') in /data/19/1/86/59/1901711/user/2069354/htdocs/xxxxx/xxxxx/xxx/index.php on line 2
Found the solution myself.. Thanks everyone anyways..
just was missing 1 part of path folder and that fixed up all..
NOTE: When i use this same process over localhost it never shows any error. what should i do ?
Any help would be amazing thank you!