Created
July 29, 2013 02:11
-
-
Save adisetiawan/6101775 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
if(!isset($_SESSION['firsttime'])) { | |
//user first time visit | |
$_SESSION['firstime'] = true; | |
//do whatever you want | |
} else { | |
} //user already visit this page | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment