Server IP : 172.16.15.8 / Your IP : 3.146.34.148 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/jesimmons/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<HTML> <HEAD> <link href='https://fonts.googleapis.com/css?family=Fjalla One' rel='stylesheet'> <TITLE>COVID-19 Information Page </TITLE> <style> body { font-family: 'Fjalla One'; background-image: url('FPBACKROUND.png'); background-repeat: no-repeat; background-size: 100% 100%; } </style> </HEAD> <BODY> <?php $Name = $_POST['fullName']; $Email = $_POST['email']; $Donate = $_POST['money']; $DonOrg = $_POST['donorg']; if($Donate>0) { $host = 'localhost'; $user = '*****'; $passwd = '*****'; $database = '*****'; $connect = mysql_connect($host, $user, $passwd); $query = "insert into DONATION values ('$Name', '$Email', $Donate, '$DonOrg')"; mysql_select_db($database); if(mysql_query($query, $connect)) { print "<P>Thank you for your generosity! You will be contacted shortly about further instructions for donation.<P>"; } else print "<P>Sorry, your transaction did not go through at this time. Please try again at another time.<p>"; mysql_close($connect); } else { print "<P>Sorry, your transaction did not go through at this time. Please try again at another time.<p>"; } ?> <HR> <P> </body> <center> <A HREF=FinalHomePage.html> Return to Homepage </A> </center>