Lauser Posted November 25, 2009 Share Posted November 25, 2009 scrip antiflood.<?php if (!isset($_SESSION)) { session_start();}// anti buferattack protectionif($_SESSION['last_session_request'] > time() - 2){ // users will be redirected to this page if it makes requests faster than 2 seconds header("location: /loquetuquieras.html"); exit;}$_SESSION['last_session_request'] = time();?> Link to comment Share on other sites More sharing options...
Recommended Posts