Fixed
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
<br />
|
<br />
|
||||||
<a href="f8l_exception/index.php">Home</a> |
|
<a href="index.php">Home</a> |
|
||||||
<a href="f8l_exception/change_password.php">Change Password</a> |
|
<a href="change_password.php">Change Password</a> |
|
||||||
<a href="f8l_exception/logout.php">Logout</a>
|
<a href="logout.php">Logout</a>
|
||||||
<br />
|
<br />
|
||||||
<a href="f8l_exception/my_accounts.php">My Accounts</a> |
|
<a href="my_accounts.php">My Accounts</a> |
|
||||||
<a href="f8l_exception/deposit.php">Deposit</a> |
|
<a href="deposit.php">Deposit</a> |
|
||||||
<a href="f8l_exception/withdraw.php">Withdraw</a> |
|
<a href="withdraw.php">Withdraw</a> |
|
||||||
<a href="f8l_exception/transfer.php">Transfer</a> |
|
<a href="ransfer.php">Transfer</a> |
|
||||||
<a href="f8l_exception/view_statement.php">View Statement</a>
|
<a href="view_statement.php">View Statement</a>
|
||||||
<br />
|
<br />
|
||||||
<a href="f8l_exception/new_loan.php">New Loan</a> |
|
<a href="new_loan.php">New Loan</a> |
|
||||||
<a href="f8l_exception/new_account.php">New Account</a> |
|
<a href="ew_account.php">New Account</a> |
|
||||||
<a href="f8l_exception/loan_payment.php">Make Loan Payment</a>
|
<a href="loan_payment.php">Make Loan Payment</a>
|
||||||
<br />
|
<br />
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
function showAccounts($userName) {
|
function showAccounts($userName) {
|
||||||
include f8l_exception/includes/inc_dbConnect.php;
|
include includes/inc_dbConnect.php;
|
||||||
// Select database.
|
// Select database.
|
||||||
if ($db_connect === FALSE)
|
if ($db_connect === FALSE)
|
||||||
echo "<p>Unable to connect to the database server.</p>" . "<p>Error code " . mysql_errno() . ": " . mysql_error() . "</p>";
|
echo "<p>Unable to connect to the database server.</p>" . "<p>Error code " . mysql_errno() . ": " . mysql_error() . "</p>";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<a href="f8l_exception/index.php">Home</a> |
|
<a href="index.php">Home</a> |
|
||||||
<a href="f8l_exception/new_customer.php">New Customer</a> |
|
<a href="new_customer.php">New Customer</a> |
|
||||||
<a href="f8l_exception/login.php">Login</a>
|
<a href="login.php">Login</a>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<a href="f8l_exception/admin.php">Admin</a>
|
<a href="admin.php">Admin</a>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
function validateLogin ($myusername,$mypassword) {
|
function validateLogin ($myusername,$mypassword) {
|
||||||
global $errorCount;
|
global $errorCount;
|
||||||
global $errorMessage;
|
global $errorMessage;
|
||||||
include f8l_exception/includes/inc_dbConnect.php;
|
include includes/inc_dbConnect.php;
|
||||||
mysql_select_db("$db_name")or die("cannot select DB");
|
mysql_select_db("$db_name")or die("cannot select DB");
|
||||||
|
|
||||||
// To protect MySQL injection (more detail about MySQL injection)
|
// To protect MySQL injection (more detail about MySQL injection)
|
||||||
|
|||||||
Reference in New Issue
Block a user