Re: Hey can someone help with this php script?
| From: | Gabor Hojtsy | Date: | Mon, 16 Sep 2002 07:05:20 +0000 |
| Subject: | Re: Hey can someone help with this php script? | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-12562@lists.php.net to get a copy of this message | ||
Sorry, but this email address is not the appropriate forum for asking
support questions. For a list of more appropriate places to
ask for help using PHP, please visit http://php.net/support
Thank you for your interest in PHP.
Goba [one webmaster@php.net]
----- Original Message -----
From: <EminemSk8rDude@aol.com>
To: <webmaster@php.net>
Sent: Monday, September 16, 2002 4:35 AM
Subject: Hey can someone help with this php script?
> 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>
>
>