<?php
/**
* Open an url on https using curl and return content
*
* @param string url The url to open
* @param string refer Referer (optional)
* @param mixed usecookie If true, cookie.txt will be used as default, or the usecookie value.
* @return string
*/
function open_https_url($url,$refer = "",$usecookie = false) [...]
I was wondering how we can simply ignore (block) the flood atacks to our servers and i think that this solution is useful.
It checks if there is more than 1 request in 5 seconds. Of course you can change the time limit to 1 sec or 60 sec. It depends on this what you want.
So [...]
1. Construct an SQL Insert Statement in an efficient way
bitrepository.com/
2. 5 Helpful Tips for Creating Secure PHP Applications
nettuts.com/
3. Notepad++ Function List plugin show PHP classesfunctions tip
wlscripting.com/
4. AJAX Voting in PHP – Cast a Vote Without Reloading the Page
tutorialtoday.com/
5. Intro to Drupal – Build a Simple CMS
nettuts.com/
6. How to Validate [...]