Archive for the ‘PHP’ Category

How To Make A Blog In CodeIgniter!

September 21, 2017

Almost everyone up till now believed that blogs were to be made in WordPress. That's true. But, have you ever tried to make a blog in CodeIgniter Framework? Yes, it is definitely possible and easy too. If you are a...

How to get Weather Information in PHP

March 15, 2016

Would you like to implement functionality of Getting Weather Information in PHP? Try Below Code. <?php //Note: appid can be obtained after login on http://api.openweathermap.org $city="indore"; $country="in"; // By City Name //$url="http://api.openweathermap.org/data/2.5/weather?q=".$city.",".$country."&appid=b1b15e88fa797225412429c1c50c122a"; // By latitude & longitude $url="http://api.openweathermap.org/data/2.5/weather?lat=22&lon=75&appid=b1b15e88fa797225412429c1c50c122a"; $json=file_get_contents($url); $data=json_decode($json,true);...