Show code only HTML once every 24 hours to each user?
I would like to show one piece of HTML once per day for one user.
Can someone please help me do that..
Sorry for bad English.
We need more information. Like where is the html stored (are they files, in database ...) and more or less how is the database structure relating to html codes and users.
and what do you mean buy showing a piece of html code a day? is it a big piece or just 1 tag or like an ad.
P.S. Your English is good :)
I would like to increase my click count on some topsites with iframes..
So basicly i would like this (below) iframe code to be loaded once per day for a user.
<IFRAME SRC='http://TOPSITE.COM/MYWEBSITE' SCROLLING='no' WIDTH='1' HEIGHT='1' FRAMEBORDER='no'></IFRAME>
Could you please show me a code i could use as i suck at coding, i tried but it seems a bit to hard for me...
so everyday is going to be a different SRC='http://TOPSITE.COM/MYWEBSITE'? If you have a database I would save a table of sites_urls with an id field. then in the users tables also have a shown_sites field that would be a string of ids separated by a coma, another field with current_site with the id of the current site url. Also a last_date_shown field in the users table having the date that the current. From then it is just a checking if the last_date_shown has expired (if it is already the next day) then save a new id that hasn't been shown to the current_site field and also append that new id to the shown_sites list field. Then just show the current_site. Sorry I can't provide code. I am in a bit of a hurry. Hopefully it helps.
why not just drop a cookie, and check it every visit ?
Just use different times, some examples below
So the code is shown here the wrong way round as you would test for the cookies existence first, then set it at the end of your page.
|All times are GMT. The time now is 05:21 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0