Pages

Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Tuesday, April 29, 2014

Linux-Scrap Website from terminal

Fool the server that we are using mozilla if unable to do via simple way
 $ wget --user-agent="Mozilla 2.0" -m http://www.itfeast.blogspot.com  
The Simple way
 $ wget -m --tries=7 "http://www.itfeast.blogspot.com"  

Wednesday, October 2, 2013

PHP-Version Check code

 if (version_compare(phpversion(), '5.0.0', '>=') !== true) {  
   exit('This website runs with PHP5... You version is <b>' . phpversion() . '</b>.Please upgrade');  
 }