Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
i need help with cookies
Old 10-28-2010, 05:47 AM i need help with cookies
ZoC
Skilled Talker

Posts: 68
Trades: 0
hello there,
what im trying to do now is to setup cookies on visitor browser and to make the cookie hit counter, so if the visitor click 5 times in 1 minute to say -to many hits

im trying to make my own anti ddos ... hope someone can help me with. This is the last thing what i need to do ...

thank you all for the support
ZoC is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-28-2010, 06:22 PM Re: i need help with cookies
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
I believe your intent here is misguided. A DDOS attack can easily not store cookies -- you're relying on the end user to be trusted which is inherently what you can't do on a DDOS attack. You might try recording IP addresses on the backend and if there is an excessive number of hits from the IP, then flag that, but even then hackers can use 1000's of IPs to attack you via proxies, etc.

I believe there is server stuff that can be configured for this, but I don't know that realm of the web.

One additional alternative is to record all page hits and if the rate becomes higher than expected, reduce the number of allowed hits.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 10-29-2010, 04:40 AM Re: i need help with cookies
miki86's Avatar
Extreme Talker

Posts: 185
Location: print_r($serbia);
Trades: 0
I think you need to set .htaccess file.
Look at this example.
miki86 is online now
Reply With Quote
View Public Profile
 
Reply     « Reply to i need help with cookies
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12804 seconds with 12 queries