583 Topics

Member Avatar for
Member Avatar for baig772

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' …

Member Avatar for tracyberge
0
614
Member Avatar for potatochips

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 for lauryfriese
0
12K
Member Avatar for spud91

I have the following code: <?php session_start(); // Starting Session include_once('config.php'); $error=''; // Variable To Store Error Message if (isset($_POST['submit'])) { if (empty($_POST['user']) || empty($_POST['pass'])) { $error = "Please complete both fields"; }else{ // Define $username and $password $user=$_POST['user']; $pass=md5($_POST['pass']); // To protect MySQL injection for Security purpose $user = …

Member Avatar for GESTIC
0
1K
Member Avatar for tutu1104
Member Avatar for borobhaisab

Hi, I am trying to create a login page using the sql's mysqli_stmt_num_rows() function. Issue is, no matter if I give correct password or incorrect, I always get message 'Incorrect user Credentials'. Why is that ? The details on Mysql Looks like this: id|domain|password 0|gmail.com|373b29d2837e83b9ca5cec712a5985843df271cc Obviously, password is hashed using …

Member Avatar for Dani
0
91
Member Avatar for rjDeveloper

Hello, I have a typical login page in vb.net (Asp.net). It checks a sql table for a user/pw. If admin1 user they get directed to admin page. if not, they go to basic users page. I put this below code in my web.config page in the testlogin folder. (which I …

Member Avatar for rjDeveloper
0
68
Member Avatar for Walter_17

I am new to programming and testing. I would like to know if there are any useful articles or resources where I can see how to test a web service. I need to use HttpClient to implement my own universal REST API client - TestHttpClient <T>, which will complete GET, …

Member Avatar for Dani
2
298
Member Avatar for Mustafa Kaan

Hi, I am .net developer. I need a Multipage asp.net password protected website template or sample. Thanks Kaan

Member Avatar for Dani
0
25
Member Avatar for Valeriia

Hello everyone! Can you please tell me how can I limit the number of entries to my website with one login? I’m going to use Joomla for this site. I need to get a unique device id apart from the platform. What should be used - php, javascript or anything …

Member Avatar for Karl_11
0
73
Member Avatar for Jaklins

Hello This is a simple php login script with sessions. It connects to mySQL for usernames and passwords. I’m using a variation of the code from [url]http://www.phpportalen.net/wiki/index.php?page=Enkel+Inloggning+med+Mysql+och+sessioner+-+Komplett+kod[/url] (index.php is the relevant part) Here is my code (my script is called login.php): [code=php] <?php session_start(); // Always at the top include …

Member Avatar for Bharath_6
0
11K
Member Avatar for Divyansh_5

`Here is my HTML Code : <html> <head> <title>Welcome</title> </head> <body> <form enctype="multipart/form-data" action="upload.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> Choose a file to upload: <input name="uploadedfile_1" type="file" /><br /> Choose a file to upload: <input name="uploadedfile_2" type="file" /><br /> <input type="submit" value="Upload Files" /> </form> </body> </html> And Below …

Member Avatar for Jawass
1
184
Member Avatar for Catharina

Hi. I have a question. So, I'm registering a user, but a table is created for me (empty), and I can't figure out how to save my data when registering in the database? I tried to write various functions, but I failed. Below I send the code: Users.cs: using Microsoft.AspNetCore.Mvc; …

Member Avatar for rproffitt
0
78
Member Avatar for Catharina

How can I save the registration data after connecting to the database (an empty table is created for me)? I do this in Blazor (C #). User.cs: [Table("Users")] public class User { [Display(AutoGenerateField = false)] public int UserId { get; set; } [Display(Name = "UserName")] [Required(ErrorMessage = "UserName is required.")] …

0
80
Member Avatar for samantela123
Member Avatar for Mohamed_147

rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

Member Avatar for Dani
0
36
Member Avatar for afan21
Member Avatar for aberagetahun
Member Avatar for pritaeas
0
38
Member Avatar for cosmo13

> Hey there! I don't know why "Your Password is Incorrect!" is printed before I fillin the form. I've started learning php two weeks ago <!DOCTYPE html> <html> <head> </head> <body> <form action = "" method="POST"> <label id="first"> Name: </label><br/> <input type="text" name="username" placeholder= "Name" required><br/> <label id="first">Password: </label><br/> <input …

Member Avatar for Biiim
0
162
Member Avatar for engrjd91

I am developing an android app for the first time and I wanted to make the sessions for login and logout. I saw that most of the people suggested using SharedPreferences. But how can I check if the user logged out? If the user does not and clicks on my …

Member Avatar for veery channA
0
18K
Member Avatar for vindyauwu

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 for VINITHAPRIYA R
0
36K
Member Avatar for Mohd Irfan

// To protect MySQL injection for Security purpose $stmt = $conn->prepare($SQuery); $stmt->bind_param("i", $user_id); $stmt->execute(); $stmt->bind_result($fullName); $stmt->store_result(); if($stmt->fetstmt->store_result() ch()) //fetching the contents of the row

Member Avatar for pritaeas
0
47
Member Avatar for Sananil

I want my users to be logged out automatically after30 minutes of inactivity. I also want to have all sessions destroyed. This is my login.php i have set cookies but does not work. if (isset($_POST['member_login'])) { $username = isset($_POST['username']) ? $_POST['username'] : ""; $password = md5(isset($_POST['password']) ? $_POST['password'] : ""); …

Member Avatar for Dani
0
636
Member Avatar for Mimi_3

I have being passing across this word above without knowing the meaning, please someone should come up with an answer.

Member Avatar for rproffitt
0
29
Member Avatar for mexabet

I'm struggling to create a two-paged form using $_SESSION. What I want to achieve is the first page (page1.php) requires the user to enter his/her email address. And the second page (page2.php) requires the user to enter his/her password. When the user submits page1.php, it takes you to page2.php, where …

Member Avatar for mexabet
0
122
Member Avatar for nanakumi75

I am trying to get the usernames of users to appear in the url so that I can use $_GET['username'] to grab the username to create a link to the user's profile which can be viewed by any logged in user. So far I can only the logged in user's …

Member Avatar for Dani
0
1K
Member Avatar for nanakumi75

I have a long/register system working . Each user see their own profile details when they login. Now I want to users to see other users profile by clicking on a link to their profile. How do I do this? I need advice

0
764
Member Avatar for rproffitt

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 …

Member Avatar for Dani
2
2K
Member Avatar for priya2278

i need to enhance the existing code to add on the user locked if the user failed 3 times... even after they enter the username & password, the system should track whether the user have been tried to login before... once it have been try for three times, the user …

Member Avatar for Allyson_1
0
3K
Member Avatar for ArunRaj.SRM

Hi, I'm having my login page as: [code=jsp]<html><head><body> <form action="validateuser.jsp" method="POST"> username - <input type="text" name="userName"> password - <input type="password" name="passWord"> <input type="submit" value="Submit"> <input type="reset" value="Reset"> </form></body></html>[/code] And Validator Page as : [code=jsp]<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page import="java.util.*" %> <jsp:useBean id="idHandler" class="com.suntec.tbms3.ui.Login" scope="request"> <jsp:setProperty name="idHandler" property="*"/> </jsp:useBean> <!DOCTYPE HTML …

Member Avatar for Vaishnav_1
0
13K
Member Avatar for mikeas4

The Forgot Password process sends an email with a link to click. The email purports that the link resets the password to one specified in the email. The link logs me in, and takes me to the User Settings page. I can enter a new password no problem. I put …

Member Avatar for mikeas4
0
448

The End.