Added "error_reporting(0);" as without it, if the server is offline,
errors appear.