Server IP : 172.16.15.8 / Your IP : 3.14.145.167 Web Server : Apache System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.2.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/slcebula/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Name: Lee Cebula Date: 2/9/09 Instructor: Dr. Wang Title: circle2.php Goal: Receive radius and height value and output volume --> <HTML> <HEAD> <TITLE> Circle2.php </TITLE> </HEAD> <BODY> <CENTER> <FONT COLOR=red> <H2> Calculate the Volume of a Circle </H2> </CENTER> </FONT> <FONT SIZE=4 COLOR=green> <?php $radius = $_POST["radius"]; $height = $_POST["height"]; $volume = M_PI*$radius*$radius*$height; $v = number_format($volume,2); print ("radius= $radius <BR> height= $height <BR> volume= $v"); ?> </FONT> </BODY> </HTML>