Page 1 of 1
Increase Any Number By 500 Once A Day
Posted: Sat Aug 18, 2007 12:34 pm
by nanovation
Does anyone know a quick and easy way to have a number increase 500 every day? For example, I would like for my tax liens website to say "Total new users: 156700" and have that number automatically increase 500 every day. Any help would be greatly appreciated

Thanks in advance!
Posted: Sat Aug 18, 2007 12:54 pm
by feyd
So fake the statistic?
Sure. Calculate how many days it has been from a certain date. Multiply by 500 and add your base value. Done.
Posted: Sat Aug 18, 2007 12:58 pm
by superdezign
Hehe, nice job putting up the URL in the post where you claim to try to fake out your users.
Thanks Feyd
Posted: Sat Aug 18, 2007 12:58 pm
by nanovation
Thanks Feyd. I'm pretty good at PHP coding, but I've never done something like this before. Can you maybe give me some PHP code snippets I could work with? That way, other visitors to this post will be able to use the code too. Thanks for the help

Just for the record
Posted: Sat Aug 18, 2007 1:04 pm
by nanovation
And just for the record, my goal is not to fake the stats or mislead my users. I'm just trying to learn how to do something new.
Posted: Sat Aug 18, 2007 1:06 pm
by superdezign
Gotcha.
Look at the date / time functions of PHP,
date() in particular.
Thanks
Posted: Sat Aug 18, 2007 1:31 pm
by nanovation
Thanks. Will do. If I come up with the code before anyone else, I'll post it here so others can cut and paste it.
Re: Just for the record
Posted: Sat Aug 18, 2007 2:34 pm
by Benjamin
nanovation wrote:And just for the record, my goal is not to fake the stats or mislead my users. I'm just trying to learn how to do something new.
lmao
Posted: Sat Aug 18, 2007 3:52 pm
by timvw
I've seen a nice trick on thedailywtf... And it goes by creating a html page with 500 links to the same page.. Resulting in 500 requests...