Hey can someone help with this php script?
| From: | EminemSk8rDude at aol dot com | Date: | Mon, 16 Sep 2002 02:35:18 +0000 |
| Subject: | Hey can someone help with this php script? | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-12559@lists.php.net to get a copy of this message | ||
I am trying to do a form that converts the information entered into the
pythagorean theorem. The outcome is 0.
<CENTER>
>?php
$Aside = $HTTP_POST_VARS['Aside'];
echo $Aside;
$VERYBIGNUMBER = $Aside * $Aside;
$Bside = $HTTP_POST_VARS['Bside'];
$VERYBIGNUMBER2 = $Bside * $Bside;
$BIG = VERYBIGNUMBER + $VERYBIGNUMBER2;
$HYPOTNUSE = SQRT($BIG);
PRINT $HYPOTNUSE;
?>
</CENTER>
<CENTER><H1><B><A HREF=HTTP://STUDENT.ASD.WEDNET.EDU/~ahs551506/sqrt.html>
go
back</a></center></ht></b>