// confirm password on each time any page is accessed in blocked country(ies)...... if(isset($_SESSION['auth_password'])){ if($_SESSION['auth_country']=="Yes"){ $con_saved_password = $_SESSION['auth_password']; $check_acpcountry = mysql_query("select * from traffic where auth_password = '$con_saved_password'")or die(mysql_error()); if(mysql_num_rows($check_acpcountry)!="1"){ unset($_SESSION['auth_country']); unset($_SESSION['auth_password']); header("location:welcome.php"); } } } ?> if(isset($_REQUEST['id'])){ $id=$_REQUEST['id']; }else{ $id=0; } $contents=mysql_query("select * from content where content_id='$id'"); $contents_rs=mysql_fetch_array($contents); ?>
|
|||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||
|