...

View Full Version : creating a cookie



aminnuto
10-21-2006, 12:36 AM
Does anyone know code i can use to create a cookie which displaces a different html code the 2nd time someone visits my site?

I use a php file for the text on my site but I want people to see a different inc file the 2nd time they visit that page.


Does anyone know how i would do that?

_Aerospace_Eng_
10-21-2006, 03:04 AM
Use php cookies or sessions. Check for the session. If not set display certain html, if set display the other html.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum