if condition with or conditions for Session variable check in php

236 Views Asked by At

i want to verify my session variables with $_GET['check_string']. it is right ?

$check_string=$_GET['check_string'];
if($_SESSION['check_string']==$c_string || isset($_GET['return'])){

}
0

There are 0 best solutions below