' . print_r($_SESSION, TRUE) . ''; $temp = $_GET["temp"]; if ($temp=='Yes'){ $temp='_temp'; } else{ $temp=''; } // - - - check defined of included files - - - - - if ( ! defined( 'CONSTANTS_PHP_INCLUDED') ) { //---- adding main constant file - ------ $const_main = "/home/wwwtestler/public_html/includes/const_main.php"; if(file_exists($const_main)) { include($const_main); } else{ $subject ='Constantlar olan file tapilmadi (main_index_new6werrw.php)'; send_error($subject, $const_main); } } if ( ! defined( 'SANITIZE_PHP_INCLUDED') ) { //---- SANITIZE FAIL ------ $sanitar_file = ROOT_FOR_INCLUDE.'php_sanitar/lib/inc.sanitize10.php'; if(file_exists($sanitar_file)) { include($sanitar_file); //echo "It is exist"; } else{ //echo "It is not exist"; $subject ='Sanitize file file tapilmadi'; send_error($subject, $sanitar_file); } } if ( ! defined( 'SANITIZE_PHP_INCLUDED') ) { //echo 'SANITIZE_PHP_INCLUDED - '.SANITIZE_PHP_INCLUDED; } $acount = "TS"; $db = 'wwwtestler_myusers'; $main_file = '/home/wwwtestler/public_html/_db_files/main.php'; if(file_exists($main_file)) { //echo "main file is exist"; include($main_file); //echo "main file is exist"; } else{ echo "main file is not exist"; exit(); }; //- - - - - - - - - - - - -get datas- - - - -- - -- - - $nik_cook = $_COOKIE['nik']; $user_cook = sanitize_cook ($nik_cook); $table = "t_paketler"; //// - ---- SELECT DISTINCT ------------ $t_paketler_querry = mysql_query("SELECT DISTINCT id, fenn_full_name, abr, sinif, sinif_short_for_mundericat, suallar, testler, movzu_sinaqlari, bolme_sinaqlari, oyunlar, movcuddur, sinif_order FROM $table WHERE movcuddur = '1'") or die("Distinct error: ".mysql_error()); $paketler_select .= ' '; // - - GET LAST ID IN PAID CHEKS- - - - $table = "istifadechi"; //// - ---- INSERT ------------ /*mysql_query("INSERT INTO $table (`ip`) VALUES ('$ip')") or die("Insert Error: ".mysql_error()); $last_id = mysql_insert_id($con);*/ //$_SESSION['sms_sent_time'] = time(); //echo '
' . print_r($_SESSION, TRUE) . ''; ?>