00001 <?php 00012 //This is to include file common_functions.php which has 00013 //common functions which are required in more than one page. 00014 require("common_functions.php"); 00015 00016 00024 function main() 00025 { 00026 $num1=check_and_get('num1'); 00027 $num2=check_and_get('num2'); 00028 echo "Sum of $num1 and $num2 is " . ($num1 + $num2) . "<br/>\n"; 00029 } 00030 00031 00032 main(); 00033 ?>