<?php /*** * Requires: apt-get install php5-imap */ $weatherenabled = 1; $gmailenabled = 1; $dateenabled = 1; $quoteenabled = 1; // weather $city="London"; $country="UK"; //Two digit country code $openweatherApiKey = ""; $weatherurl="http://api.openweathermap.org/data/2.5/weather?q=".$city.",".$country."&units=metric&cnt=7&lang=en&appid=".$openweatherApiKey; // gmail $hostname = '{imap.gmail.com:993/imap/ssl}INBOX'; $username = ''; $password = ''; ?>