# # STEP 1: # # Remember to require this script before all others, since it uses sessions # session_start(); # # STEP 2: # # Somewhere in your
tags, call the insert_javascript(); php function # # function insert_javascript() { @$already_got_a_survey = $_SESSION['already_popped_up']; echo "\n"; } # # STEP 3: # # In your body declaration, remember to call the javascript: # # # # # onetimepopup.inc by Eli Fulkerson # Visit http://www.elifulkerson.com for more. # ?>