Feed The Geeks - Technology News and Reviews Forum
Feed The Geeks - Technology News and Reviews Forum Register Members List FAQ Search

Go Back   Feed The Geeks - Technology News and Reviews Forum > Web Development > Coding & Development

Coding & Development HTML, Java, XML, Flash, PHP etc..

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-10-2007, 10:07 PM
n00b!
 
Join Date: Jun 2007
Posts: 45
Rep Power: 0
zampu is on a distinguished road
Default php timer

I recently started coding a new site, and i need a timer. Like if someone clicks a link they have to wait 10 seconds before clicking another link. How would i do this? Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-11-2007, 01:42 AM
cheater's Avatar
1337
 
Join Date: Apr 2007
Location: Your c:/ drive
Posts: 573
Rep Power: 5
cheater will become famous soon enoughcheater will become famous soon enough
Default Re: php timer

Well, the timer part can be done very easily. Just do a google search for php timer. It will be very difficult to restrict them from clicking links. Most methods of doing this can be beaten quite easily. I would suggest using javascript to make the links inactive during the 10 seconds, and then enable them after. Like I said earlier, this isn't fool proof, and can be gotten around quite easily.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-11-2007, 03:22 AM
n00b!
 
Join Date: Jun 2007
Posts: 45
Rep Power: 0
zampu is on a distinguished road
Default Re: php timer

I decided to do this using cookies, just set one and have it expire in 10 seconds, then just use if isset to check if it's there or not. I know cookies are editable, but i named it user, so people would think it is login credidential stuff, and maybe even waste their time trying to crack a made up encryption. :P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-11-2007, 01:19 PM
cheater's Avatar
1337
 
Join Date: Apr 2007
Location: Your c:/ drive
Posts: 573
Rep Power: 5
cheater will become famous soon enoughcheater will become famous soon enough
Default Re: php timer

Ok, it's your call. Another thing you could do is load a flash movie after they click a link. The flash movie will be loaded directly over all the other links, thus preventing them from clicking any until the movie disappears.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-11-2007, 02:24 PM
n00b!
 
Join Date: Jun 2007
Posts: 45
Rep Power: 0
zampu is on a distinguished road
Default Re: php timer

That is a good idea. Then i could get money from Cost Per Click, or Cost Per M (dk what the M stands for), advertisers. Thanks Cheater.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-11-2007, 04:18 PM
cheater's Avatar
1337
 
Join Date: Apr 2007
Location: Your c:/ drive
Posts: 573
Rep Power: 5
cheater will become famous soon enoughcheater will become famous soon enough
Default Re: php timer

"CPM stands for "cost per 1000 impressions." Advertisers running CPM ads set their desired price per 1000 ads served, select the specific sites on which to show their ads, and pay each time their ad appears."

https://www.google.com/adsense/suppo...y?answer=18196
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-11-2007, 04:55 PM
n00b!
 
Join Date: Jun 2007
Posts: 45
Rep Power: 0
zampu is on a distinguished road
Default Re: php timer

Thanks for the info cheater. Do you know sites the do CPM flash ads? I haven't seen much of them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-11-2007, 09:03 PM
cheater's Avatar
1337
 
Join Date: Apr 2007
Location: Your c:/ drive
Posts: 573
Rep Power: 5
cheater will become famous soon enoughcheater will become famous soon enough
Default Re: php timer

Sorry, I don't know of any sites that do that. You might be better off trying to make it yourself.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Tutorials cheater Coding & Development 17 09-26-2007 12:09 PM
PHP vs. ASP.NET armatik Coding & Development 3 05-16-2007 11:21 PM


All times are GMT. The time now is 12:11 AM.

Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin by VBMode.com