Just for all those wondering what's going on, I don't know but I did jump on another PC to check and it was logged in. So I logged out and could not log back in. The first hint there was a problem was when I went to login on my Android phone. At first I thought it was just the phone but nope. For now, if you are logged it, you can post and more. But **DON'T LOG OUT.**

Member Avatar
Member Avatar
+2 forum 9

Hello, just created a code for login using encrypted password method when user is registering at that time i made a passsword encryption script. But the main problem is that when it comes to verify login how do i veryfy the password as that password is saved as encrypted password how do i very it Thank yOU function hashSSHA($password) { $salt = sha1(rand()); $salt = substr($salt, 0, 10); $encrypted = base64_encode(sha1($password . $salt, true) . $salt); $hash = array("salt" => $salt, "encrypted" => $encrypted); return $hash; } function adduser($connect) { $fname = $_POST['FirstName']; $lname = $_POST['LastName']; $uname = $_POST['username']; $pass …

Member Avatar
Member Avatar
+0 forum 7

I am having an issue with my computer starting up. It will power up, I hear the hard drives spinning, the fans all come on including the CPU fan. But I get no visual, no beeps. I tried to wait out around 5 min or so to see if it is going through it's startup process which would cause my mouse and keyboard to light up once in Windows at the login screen, but it never did that. I tried to test a different monitor, a different graphics card and all variations between. I don't see the power signal inside …

Member Avatar
Member Avatar
+1 forum 37

I Have three form Home.aspx and Login.aspx Details.aspx on home.aspx i have two iframe in iframe one i open login.aspx in Login.aspx i have a button btnChangePage now i want to assign src property of second iframe dynamically ( src="details.aspx" ) on btnChangePage_Click Please if u have any suggetions please help me Thanks a lot in advance

Member Avatar
Member Avatar
+0 forum 8

i have a two menu bar option which are home and my account after login my user and pswd its show home page but when i change home to my account page its show message below and logout Notice: Undefined index: user in folder\myaccount.php Notice: Undefined index: pswd in folder\myaccount.php you are not logged in these both fields are my login page variables user and pswd

Member Avatar
Member Avatar
+0 forum 4

I want to create a single login page for Admin and user.When admin lo it should go to seperate page and when user log it shoult go to seperate page.I want sample code for this.Thanks..

Member Avatar
Member Avatar
+0 forum 22

Hello, Cek this site: www.innovation.web.id Facebook: https://www.facebook.com/pages/Innovation/398014920271702 I wonder why I cannot login to the fans page right away? Like I have to login to my facebook account first before I can login to the fans page. Any clue?

Member Avatar
Member Avatar
+0 forum 2

What I'm trying to do is have a login type windows form to take a user name and password then compare these with data in the db then open an admin type form. I've been trying to get this to work for a few days now with no luck, about 90% of the code below is a peice together from various forums trying to get it to work. i no longer get an error 26 connection cant be made or what may have you, but now i get "Login failed for user ''.", not quite should what this means or …

Member Avatar
Member Avatar
+0 forum 13

Hello, I wrote some codes for student login. the codes checks for the "username", "password" as well as their type of "status", from the database. once this input are met, the student logs in successful, otherwise a message pops up. The problem i encountered is this, i have 11 student records in my database and only the first 6 students can login successfully. the remaining 5 students cannot login. Despite entering the correct username, password and status for the last 5 students in the database, the message "Invalid username and password" comes up. I don't know where my code went …

Member Avatar
Member Avatar
+0 forum 4

Hi, I once tried dazah. I could login into my old account on daniweb. But once I tried after a while I couldn't, even when I used forgot password. I was expecting that i would be given a link to change my password which didn't happen. I had to register with a new account to gain access. Truth be told, I don't think am enjoying this **dazah** whole idea. Please I need help as to our to regain access, using my old login. Thanks.

Member Avatar
Member Avatar
+0 forum 9

How to close main form i. e login form after login and it should not close application

Member Avatar
Member Avatar
+0 forum 7

admin/views/login.php <?php $this->load->library('form_validation'); ?> <?php echo validation_errors(); ?> <?php echo form_open('cpages/ceklogin'); ?> <div class="login-card"> <center><?php //echo $warning; ?> <?php echo $this->session->flashdata('warning'); ?> </center> <h2>Gionda CMS Login</h2><br> <form> <div class="login"><input type="text" name="username" placeholder="Username"></div> <div class="login"><input type="password" name="password" placeholder="Password"></div> <br> <input type="submit" name="login" class="login login-submit" value="login"> </form> <div class="login-help"> <a href="#">Register</a> • <a href="#">Forgot Password</a> </div> </div> controllers/Cpages.php public function ceklogin() { $username = $this->input->post('username', TRUE); $password = $this->input->post('password', TRUE); $this->db->where('username', $username); $this->db->where('password', $password); $query=$this->db->get('login'); if ($query->num_rows() >= 1) { // echo 'LOGIN BERHASIL !'; $this->load->model('Mpages'); $data['login']=$this->db->get('login'); $data['login']=$this->Mpages->login(); $this->load->view('index', $data); } else { // echo 'LOGIN GAGAL !'; $this->session->set_flashdata('warning', 'Your username and …

Member Avatar
Member Avatar
+0 forum 6

Im creating a social network site and i was able to create a user folder each time a new user signs up but my problem is copying a default image from a folder to that user folder how can i do that? I've searched the web on solutions like using Copy function in php but itsn't working You can check my code and i would be glad if anyone could help: <?php $link= mysqli_connect("localhost","root","","new1"); if($link === false) { die("ERROR: Could not connect. " . mysqli_connect_error()); } $firstname = $_POST["firstname"]; $lastname = $_POST["lastname"]; $username= $_POST["username"]; $email = $_POST["Email"]; $password= $_POST["Password"]; $country= …

Member Avatar
Member Avatar
+0 forum 2

Has anyone had any issues logging into DaniWeb today?

Member Avatar
Member Avatar
+0 forum 7

I am hosting web site using a inex.php file. I have setup a login for four different users which currently directs them to same index.php file. I would like direct each individual to a specifice index.php file based on the user. I am very new to php and coding in general. Could anyone hlep me with this? Thank you in advance Here is my code for the index.php <?php //====================================================================== // Positions pic //====================================================================== ?> <style type="text/css"> /*Initializing CSS code*/ img { float: right; } </style> <?php //====================================================================== // Takes you to login //====================================================================== ?> <?php include("/home/pi/html/password_protect.php"); ?> <html> <body> …

Member Avatar
Member Avatar
+0 forum 5

Hello,im working on a music store in magento, i have two users artist and customer ,i want to let artists choose their role and add their songs, i installed multi seller extension but i want also that they choose their role on register form,i tried a lot of extensions what do u suggest me ,please help me ,thank u

Member Avatar
Member Avatar
+0 forum 1

Hi, My Crystal Report is using VB.NET and Sql server 2005. The report can be displayed but everytime it will prompt me to key in the Username n Password.. is there anyway to automatically pass the login information to reports? thanks =)

Member Avatar
Member Avatar
+0 forum 12

I'm really sorry everyone ... Due to an SSL issue, no one was able to log into DaniWeb over the past day. I wasn't aware of the issue as I was already logged in. Soooo sorry!!

Member Avatar
Member Avatar
+0 forum 15

THis is the reply i that get after entering the web address www.theagenda.com.ng. Index of / cgi-bin/ Please what could be the problem? And am still in my designing stage in wordpress....

Member Avatar
Member Avatar
+0 forum 2

The Code Given is for only beginners in HTML 1.The code implements a simple login form 2.It checks whether the password and usernames are matching or not 3.While you are using replace the predefined username and password that I'v given that is replace "myuserid" and "mypswrd" with your own userid and password. 4.just copy the file and paste it in the notepad. 5.and save it with an extension of .html or .htm 6.select 'All Files' from the popupmenu shown at the bottom of notepad before saving. 7.Now you will get a document that has the symbol of internet explorer. 8.just …

Member Avatar
Member Avatar
-2 forum 34

I tried to go to a thread in Chrome and the connection timed out. I loaded Firefox and browsed to Daniweb and tried to log in. I was sent to Dazah (as expected) where I was told my password was no longer valid (I use a password manager so a typo was out of the question). I did a password reset and logged in to Dazah then browsed to Daniweb where I was told I was not logged in. I clicked log in and the page refreshed with me shown as logged in. This whole process is not user friendly.

Member Avatar
Member Avatar
+0 forum 24

It gives me always `Invalid Username or Password` what is the problem with this code ? <form action="admin_login.php" method="POST"> <div class="form-group" style="width: 280px;"> <label for="usr">Username</label> <input type="text" class="form-control" name="userbox" id="user"> <br> <label for="pass">Password</label> <input type="password" class="form-control" name="passbox" id="pass"> <br> <button type="submit" name="login" class="btn btn-success">Log In</button> </div> <?php if(isset($_POST["login"])) { $user = $_POST["userbox"]; $pass = password_encrypt($_POST["passbox"]); $sql = "SELECT `ID` FROM `admins` WHERE `username`='".$user."' AND `password`='".$pass."'"; $result = $conn->query($sql); if(!$result) { echo "There is problem with connection try again later."; trigger_error('Wrong SQL: ' . $sql . ' Error: ' . $conn->error, E_USER_ERROR); } else { if($result->num_rows > 0) { $row = …

Member Avatar
Member Avatar
+0 forum 10

my wordpress page is saying page not found during wordpress design what could be the problem

Member Avatar
Member Avatar
+0 forum 2

We're working on making things a bit different on the DaniWeb/Dazah backend. As a result, there were some routing issues that caused logins to break today if you weren't already logged in. These should be fixed now, sorry for any inconvience.

Member Avatar
+1 forum 0

Making sites is nice and fun but what if you don't want everybody too see something like an admin panel or maybe a special button. Well this tutorial helps you understand how to add a password to a php site in a simple manner. There are two techniques you can use. One is to use a database which allows you to have a group of users who may access the site. Another technique is to have pre defined variables that check if the values match the value of the variable. In this tutorial you will get to know the basics …

Member Avatar
Member Avatar
+5 forum 6

how to login and chat in any flash site in vb net? ex. chatrandom.com/webcamchat/ yapchat.com/

Member Avatar
Member Avatar
-1 forum 1

Hello, how can I improve this form login with error alerts? For example, if the fields are empty, if entered data do not match any user, etc. etc. Right now my form is so, taking advantage of a class: if(isset($_POST['login'])){ //Retrieve the field values from our login form. $username = !empty($_POST['username']) ? trim($_POST['username']) : null; $password = !empty($_POST['password']) ? trim($_POST['password']) : null; if($user->login($username, $password)) { header('Location: index.php'); } else { $message[] = 'We found problems with the login, please try again.'; } }

Member Avatar
Member Avatar
+0 forum 2

I've created a new member for a website (that I'm making for myself) to see if it works and when I register, I can get in, but when I go to log in after, it won't let me log in and I can re-create the same member multiple times. The code that I have that's giving me the error is: do_html_header('Warning:'); echo 'You have not filled the form out correctly. Please go back and try again.';

Member Avatar
Member Avatar
+0 forum 13

Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when I enter correct user name and password then no result. <?php session_start(); require_once("includes/connect.php"); require_once("includes/functions.php"); if(isset($_POST['login'])) { $muser=clean($_POST['username']); $mpass=clean($_POST['password']); if(empty($muser)) { echo ('<script type="text/javascript">alert("User name must not be empty")</script>'); } elseif (empty($mpass)) { echo ('<script>alert("Password must not be empty")</script>'); } else { $query1="SELECT * FROM admin where user ='". $muser ."' "; $result1=mysqli_query($con,$query1)or die ("Error". mysqli_error($con)) ; $count1=mysqli_num_rows($result1); if($count1==0) { echo ('<script>alert("User not found")</script>'); } else { $query="SELECT * FROM admin where user ='".$muser."' and pass='".$mpass."'"; …

Member Avatar
Member Avatar
+0 forum 4

I am trying to implement multi authentication in `laravel5.2`. I am following [this article](http://saravanan.tomrain.com/multiauth-in-laravel-5-0/) My **Auth.php** <?php return [ 'multi' => array( 'user' => array( 'driver' => 'eloquent', 'model' => 'App\User', 'table' => 'users', ), 'admin' => array( 'driver' => 'database', 'model' => 'App\Admin', 'table' => 'tbl_admin_user', ) ), 'password' => [ 'email' => 'emails.password', 'table' => 'password_resets', 'expire' => 60, ], ]; My **App.php** 'providers' => [ /* * Laravel Framework Service Providers... */ //Illuminate\Auth\AuthServiceProvider::class, Ollieread\Multiauth\MultiauthServiceProvider::class, Illuminate\Broadcasting\BroadcastServiceProvider::class, Illuminate\Bus\BusServiceProvider::class, Illuminate\Cache\CacheServiceProvider::class, Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, Illuminate\Cookie\CookieServiceProvider::class, Illuminate\Database\DatabaseServiceProvider::class, Illuminate\Encryption\EncryptionServiceProvider::class, Illuminate\Filesystem\FilesystemServiceProvider::class, Illuminate\Foundation\Providers\FoundationServiceProvider::class, Illuminate\Hashing\HashServiceProvider::class, Illuminate\Mail\MailServiceProvider::class, Illuminate\Pagination\PaginationServiceProvider::class, Illuminate\Pipeline\PipelineServiceProvider::class, Illuminate\Queue\QueueServiceProvider::class, Illuminate\Redis\RedisServiceProvider::class, Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, Illuminate\Session\SessionServiceProvider::class, Illuminate\Translation\TranslationServiceProvider::class, Illuminate\Validation\ValidationServiceProvider::class, Illuminate\View\ViewServiceProvider::class, /* * Application …

Member Avatar
Member Avatar
+0 forum 1

The End.