if(file_exists($filename)){ $timegetmin = file_get_contents($filename); } echo $timegetmin; echo $timeoutsec = $timegetmin*60;
if (isset($_SESSION['LAST_ACTIVITY']) && (time() - $_SESSION['LAST_ACTIVITY'] > $timeoutsec))
if (isset($_SESSION['LAST_ACTIVITY']) && (time() - $_SESSION['LAST_ACTIVITY'] > $timegetmin))
$test = 1800; if (isset($_SESSION['LAST_ACTIVITY']) && (time() - $_SESSION['LAST_ACTIVITY'] > $test))
if (isset($_SESSION['LAST_ACTIVITY']) && (time() - $_SESSION['LAST_ACTIVITY'] > 1800))
<?php $a=array('60',' 60','60a',''); foreach($a as $val){ echo '1* '.$val.' = '.(1 * $val)."<br>"; } ?>
$myfile = fopen("text.txt", "r") or die("Unable to open file!"); while(!feof($myfile)) { $timegetmin = fgets($myfile) ; echo $timeoutsec = ($timegetmin*60)."<br>"; }
echo var_dump($timegetmin); echo var_dump($timeoutsec);
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง