17 Solved Topics

Remove Filter
Member Avatar for
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 Niloofar24

hi:) I want the script to check the db table to see if there is the same username as what the user has submit with the register form, then stop the script from registering, but if the user has submited a new username, then registering. I think the script should …

Member Avatar for Niloofar24
0
390
Member Avatar for Niloofar24

Hello. Look at this file please: register.php <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = "mydbusername"; $dbpassword = "mydbpassword"; try { $conn = new PDO("mysql:host=$servername;dbname=$dbname", $dbusername, $dbpassword); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "INSERT INTO Users (Username, Password) VALUES ('$username', '$password')"; $conn->exec($sql); } catch(PDOException $e) { echo $sql . "<br>" . …

Member Avatar for lps
0
258
Member Avatar for VRamone

Hello guys,how are you? well im in a bit of trouble,so i want some help. I´m developing a site in VB.NET that in the beginning the user must login to access other pages.This part is ok,the user logins successfully and goes to members area.In this area,i would like to show …

Member Avatar for mahak.butt2
0
2K
Member Avatar for hannahaddad

Hello, I'm new to daniweb community and it's very exiting and useful place to share idea and problems. but i have this problem. every time i login i get a message about invalid combination password. and i'm sure that it's my valid mail with my valid password. so every time …

Member Avatar for Warrens80
0
581
Member Avatar for iLikePHP

I signed up with google and I didn't see anywhere to choose a username... could I have "iDevelop" or even better, "iLikePHP"?

Member Avatar for iLikePHP
1
2K
Member Avatar for OsaMasw

I don't know whats wrong but my code not working properly here is my html code <input type="text" name="username" id="username"> <div id="check_usr"></div> AJAX call <script> $(document).ready(function() { //user name $('#username').on("keypress", function(e) { startTypingTimer($(e.target)); }); }); var typingTimeout; function startTypingTimer(input_field) { if (typingTimeout != undefined) clearTimeout(typingTimeout); typingTimeout = setTimeout( function() { …

Member Avatar for OsaMasw
0
359
Member Avatar for Octet

Hello, I am trying to create a members page for my website and I want it to display a welcome message for when the person views it, something like: "Welcome <USERNAME>" I am new to PHP so I am not sure if there is something I am doing wrong, here …

Member Avatar for cereal
0
8K
Member Avatar for dave27johnson
Member Avatar for happygeek
0
150
Member Avatar for Philippe.Lahaie

Hi, I've created this account several years ago while in college and I would like to change my username to something more appopriate since I am now working as a programmer-analyst rather than just studying programming (TGI being the short name of the course i followed) If an administrator would …

Member Avatar for Philippe.Lahaie
0
2K
Member Avatar for natehome123

Can someone please change my username to natehome123, this is very important. thank you

Member Avatar for natehome123
0
208
Member Avatar for Tinito16

Hi, I'm new to jsp, and right now I'm doing a school project. I want to change the part of my page that has the login fields to say the username of the person who logs in (as opposed to just leaving them there and having the person wonder whether …

Member Avatar for Mindpowerh
0
159
Member Avatar for feoperro

Hi there, I'm trying to do a Username validation with JQuery but I'm not sure how to get a "TRUE" from the first section of code before going to the next section which is an ajax call to the backend. Below is my code. [CODE] $(document).ready(function() { $("#username").change(function() { var …

Member Avatar for feoperro
0
262
Member Avatar for newbiecoder

Hello everyone, I got an error from the code which I am copy-pasting from a textbook. Could you please tell me what I am doing wrong? Here are the codes: login.php: [CODE]<?php session_unset(); ?> <html> <head> <title>Please Log In</title> </head> <body> <form method"post" action="http://localhost/movie1.php"> <p>Enter your username: <input type="text" name="user"> …

Member Avatar for newbiecoder
0
190
Member Avatar for acerious

Hello DaniWeb, This is my first real assignment and am having problem with it. The program must accept a userID and pass from user. The program must also read the userID and pass from file and if it matches the one on file, the program must display success message. The …

Member Avatar for acerious
1
3K
Member Avatar for EAnder

I am attempting to get the username of the current user on a windows computer using windows API. I am using the GetUserName function in the Windows Unit. I am having some problems with giving the correct data types for function arguments. Any help would be greatly appreciated. [code] program …

Member Avatar for rapistebe
0
946
Member Avatar for coachHinesfan

Hello there. I haven't been here for a long time but now i am here. Well this post is more towards the moderators. I was wondering if it is possible to change my username(which is konyango) ? Reason being that it is a "reserved"(meaning it has a bearing in the …

Member Avatar for rolexreplica
0
165

The End.