Forum Moderators: coopster
I am new to the php thing, just learning...
Anyways I have searched everywhere for a script but can't seem to find it or even know if it can be done.
I want a script that will make a pop up window for every 1 and 10 visits to the site, by anyone.
any help on this would be much appreciated.
T
If you want to be really exact and show to exactly every 10th user, then you need to write a counter value into a file with each visit and then once you reach 10, reset the counter and display the pop up.
[pcmag.com...]
As much as I hate pop-ups...I have to do one. At least it will be what I refer to as a "ethical pop-up". ie. only 1 in 10 users see it, and when they see it I set a cookie on their machine to never see it again.