title: Need to run a script only once when accessing the site for the first time by saving cookie
body: <p>i need to run a java script only once when accessing the site for the first time..i want to save a cookie and check it every time site opening if cookie is saved dont need to run the script if cookie is not saved ( it mean first times that using the site ) need to create a new cookie and run the script.. Or we can do it from IP if that ip is on mysql database no to run if not add da ip and run the script.im new to php..still studying. need a help.</p>