Enable curl function in php.ini
How to enable curl in XAMPP
Curl module might not be enabled by default in xampp. Before you do confirm by seeing your phpinfo().
Check whether curl is enabled or not
write the above php script in a file and execute the script. The php info will print the information of the modules ..
Well PHP is one of the most popular applications that run on Linux and Windows servers today. It's also one of the main sources for servers and user accounts getting compromised. I want to go over some of the things you can do to help lock down PHP, securing php ..
Eval a statement as string
A statement stored in a string can be executed using the eval function.
Most of the programming language has build-in eval function which is used to evaluate a math operations
$str = "\$math=15*log(10);";
The above php code will evaluate the math query or statement which is stored in a ..
Php function to detect crawler
Detect crawlers using PHP script
Very simple php function used to analyze $_SERVER['HTTP_USER_AGENT'] variable and looking for crawler signature. If function founds crawler, it will return it's name, otherwise the php sccript will return false.
$crawlers = array(array('Google', 'Google'),