PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php session_start(); $_SESSION['steamid'] = '123'; if(!$_COOKIE['steamid']) { setcookie("steamid", $_SESSION['steamid'], time()+30*24*60*60, "/", "127.0.0.1/"); } else { if (isset($_SESSION['steamid'])) { # logged in } else { $_SESSION['steamid'] = $_COOKIE['steamid']; } }
Show:  
Copy Clear