Return to Snippet

Revision: 28098
at June 30, 2010 22:03 by orenus


Initial Code
function getWeatherInfo($sCity)
{
	$res = shell_exec("./getWdr.sh {$city}");

	return $res;
}

function convertFrToC($val){
	return (($val+40)*5/9)-40;
}

Initial URL

                                

Initial Description

                                

Initial Title
Get Weather - Step 2 - Functional programming

Initial Tags
php

Initial Language
PHP