close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Login Page not doing anything

Thread began 2/05/2019 4:04 am by stevenmcgough | Last modified 4/10/2020 10:36 am by stevenmcgough | 1431 views | 14 replies


Login Page not doing anything

It has been a while since I have used MySQLi to work with a site. I have a simple database with a table called "User" - which holds simple login info (user/password etc) I have a done a very straighforward form page to test this login procedure - but on viewing the page - it does nothing at all - no errors, just as if there is nothing chacking or happening at all?

I have pasted the page code below to see if anythjing stands out? - the authentication.php file has been created. Thanks in advance for any replies...


<?php require_once('Connections/Timesheet.php'); ?>
<?php require_once('webassist/mysqli/authentication.php'); ?>
$Authenticate = new WA_MySQLi_Auth($Timesheet);
$Authenticate->Action = "authenticate";
$Authenticate->Trigger = ((((isset($_GET["Submit"]))?$_GET["Submit"]:"") != ""));
$Authenticate->Name = "PPLLogin";
$Authenticate->Table = "`User`";
$Authenticate->addFilter("PPL", "=", "s", "".((isset($_GET["User"]))?$_GET["User"]:"") ."");
$Authenticate->addFilter("password", "=", "s", "".((isset($_GET["password"]))?$_GET["password"]:"") ."");
$Authenticate->storeResult("PPL", "Name");
$Authenticate->RememberMe = (false);
$Authenticate->SaveLogin = (false);
$Authenticate->AutoReturn = false;
$SuccessRedirect = "TimeEntryForm/index.php";
$FailedRedirect = "";
if (function_exists("rel2abs")) $SuccessRedirect = $SuccessRedirect?rel2abs($SuccessRedirect,dirname(__FILE__)):"";
if (function_exists("rel2abs")) $FailedRedirect = $FailedRedirect?rel2abs($FailedRedirect,dirname(__FILE__)):"";
$Authenticate->SuccessRedirect = $SuccessRedirect;
$Authenticate->FailRedirect = $FailedRedirect;
<!doctype html>
<meta charset="utf-8">
<title>Untitled Document</title>

<form action="" method="get" name="form1" id="form1">
<label for="User">User:</label>
<input type="text" name="User" id="User">
<label for="password">Password:</label>
<input type="password" name="password" id="password">
<input type="button" name="Submit" id="Submit" value="Button">

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...