×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Влад Якуб
Added: Mar 9, 2021 8:20 AM
Views: 4771
Tags: no tags
  1. if (in_array($qnext,['finish', 'end'])) {
  2.            
  3.             unset($_SESSION['current_user']);
  4.             unset($_SESSION['projectHistory']);
  5.             cookieDel('user_guest');
  6.             cookieDel('PHPSESSID');
  7.  
  8.             header('Location: http://profiresearch.net/proj/53/');
  9.             exit;
  10.  
  11.         }