Re: Contact form does not working Programming Web Development by Biiim …;SMTPAuth = true; $mail->SMTPSecure = 'tls'; $mail->Username = 'email@example.com'; //SMTP username $mail->Password = 'your password'; //SMTP password $mail… Re: How to contact a specific member Community Center Say Hello! by Dani … spam. To find a member, you can search for their username in the top search bar, and a link to their… Re: How To Send MYSQL Data To An Email Programming Web Development by Davidmenk3 Looks like your email issue is causing more drama than a bad Wi-Fi connection! The problem is in $query["SELECT * FROM demo ORDER BY ID DESC LIMIT 1"];—this syntax is invalid. Fix it to $query = "SELECT * FROM demo ORDER BY ID DESC LIMIT 1";. Also, fetch the data properly and append it to $body like this: $row = … Re: How To Send MYSQL Data To An Email Programming Web Development by Biiim Here's the code I've been using for about 15 years now - but a bit more simplified: function dbConnect($type = ''){ $conn = mysqli_connect( DBHOST, DBUSER, DBPASS, DBDB); if (!$conn) { echo "Error: Unable to connect to MySQL." . PHP_EOL; echo "Debugging errno: " . mysqli_connect_errno() . … username after / Programming Web Development by nsan example: [URL="http://www.yourdomain.com/username"]www.yourdomain.com/username[/URL] when you sign up in Social …create a homepage for you that you can edit. your username comes after / and no file extension is included like… [URL="http://www.zorpia.com/username"]www.zorpia.com/username[/URL] i dont know how they do… Re: username or not? Programming Web Development by phorce Going with @Jorge here, let's say you had just a service where you can only sign in using your username, atleast have an option where the users can enter some information to retrieve what their username is. I.e. "I've forgotten my username" Re: username or not? Programming Web Development by diafol …that as most error messages will state that 'either your username or your password is incorrect' - as you don't… 'reset password' function just because the user has forgotten their username (the password they entered may be correct). So, the …could really help the user. They could then find their username after logging in (e.g. on the 'logout diafol'… Re: username or not? Programming Web Development by JorgeM … process. This should reduce the number of "forgot my username" events you have to handle. You can also validate… their username by requiring them to receive an email and click on… Re: username or not? Programming Web Development by diafol … more convenient with 'log in with your username or your email'. That's really handy. Username only accounts - as mentioned above, can… Re: username or not? Programming Web Development by JorgeM >I am using currently has a username I was under the impression that you had to build something new. If you have something existing that is already using the username for the primary logon, I wouldnt bother changing that if 1) its working and 2) there is no requirement for using email addresses as the logon. username or not? Programming Web Development by iamthwee So I'm creating an online system. Just wondering should I allow for users to have a username or just use their email address as the primary logon? What are your thoughts? Re: username or not? Programming Web Development by iamthwee … but the logon system I am using currently has a username already integrated. I suppose it wouldn't be too difficult… Username availability check with jquery and php Programming Web Development by dhani09 …,$db_handler); //trim and lowercase username $username = strtolower(trim($_POST["newusername"])); //sanitize username $username = filter_var($username, FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW|FILTER_FLAG_STRIP_HIGH); //check username in db $results = mysql_query… Username and Password Verification Programming Web Development by Roriomphe …($_POST['save'])){ } // username and password sent from form $Username=$_POST['Email']; $Password=$_POST['Password']; $username = stripslashes($Username); $password = stripslashes($Password); $username = mysql_real_escape_string($Username); $password = mysql_real_escape_string($Password… username password not working right Programming Web Development by GraficRegret …(); and here is the functions code function login($username, $password) { $user_id = user_id_from_username($username); $username = sanitize($username); $password = SHA1($password); $query = mysql_query("SELECT COUNT… Re: Username availability check with jquery and php Programming Web Development by dhani09 Thanks. The PHP page **check_username.php** displays the message "username is available" when i set `$_POST["newusername"] = '… mentioned. However, when i enter a username in the textbox in **register.php** the message (username is available or unavailable) is still… Re: Username availability check with jquery and php Programming Web Development by diafol OK, comment out the whole page and just have echo "checkpage"; at the bottom $.post('check_username.php', {'username':username}, function(data) { alert(data); }); Or keep it as it was and see if the user_result shows checkpage. We need to be sure that ajax call is reaching your php file. Re: Username availability check with jquery and php Programming Web Development by JorgeM … the html your ajax call got back. $.post('check_username.php', {'username':username}, function(data) { alert(data); }); If you get the data back… Re: Username availability check with jquery and php Programming Web Development by diafol …) syntax for jQuery ajax calls... var ajax = $.post('check_username.php', {'username': username}, function(data) { $("#user-result").html(data); }) .fail(function… Username/PW entry help Programming Software Development by MikeKristal … how to make it run so that the Username enter in correctly and run the rest of… //107 - k default: fix = 0154; username.insert (c++,fix); break; //108 - l } } username.replace (7,1,""); // cout …<< username; do { cout <<"Enter Username to Enter: "; cin >>… Re: username password not working right Programming Web Development by broj1 …the login function: function login($username, $password) { $user_id = user_id_from_username($username); $username = sanitize($username); $password = SHA1($password); …mysql_query("SELECT COUNT(user_id) FROM users WHERE userName = '$username' AND password = '$password'"); // DEBUG… Username and password validation Programming Software Development by kipslem …Dim SelectStm As String = "SELECT * FROM tblStaff WHERE UserName = @UserName AND Password = @Password" Dim objCmd As SqlCommand = New… False Else MessageBox.Show("Please enter your right username and password") End If conn.Close() Catch … Re: Username and password validation Programming Software Development by kipslem … count will then indicate that the password entered for that username is wrong. I hope you get my point.[/QUOTE]…the password and then update the Attendance table with the username if password is correct? What if the user mistakenly …chose the wrong username if it is not validated? Please need you help? … Re: Username/PW entry help Programming Software Development by Ancient Dragon … would presume from the name of the variable that [b]username[/b] is a character array. Then why are you assining… on separate lines, like this: [code] case 0: fix = 1046; username = fix; c = 1; break; [/code] The second problem with that… Re: Username and password validation Programming Software Development by kipslem … there is no point of the user selecting a username that does not exist right .?? So , You…a user must at least select a proper username from the list of them. Any other …above to validate the password and not the username? Then How do I know that the …user has selected the right username from the combobox as my Attendnace Table … Re: Username and Password Not Being Saved to DB Programming Web Development by mattyd … connect to MySQL: " . mysql_error()); function NewUser() { $userName = $_POST['userName']; $email = $_POST['email']; $password = $_POST['password']; $…;; } } function SignUp() { if(!empty($_POST['userName'])) //checking the 'user' name which is from … Re: Username and password validation Programming Software Development by adarshcu …you know a person has selected a wrong username. A person would select a username and a corresponding password and not a… usernames , there is no point of the user selecting a username that does not exist right .?? So , You'l have … considering that a user must at least select a proper username from the list of them. Any other suggestions or options… Re: Username and password validation Programming Software Development by adarshcu …have already validated the password. The user will select a username that is existing in the database . If the password matches… the password for that username a record is retrieved or else a message is popped…. I think u had the full code. Displaying the username in a combo-box helps in self-validation of the… Re: Username and password validation Programming Software Development by kipslem … already validated the password. The user will select a username that is existing in the database . If the password… matches the password for that username a record is retrieved or else a message is …message saying "The password does not match for the username selected , Please ensure that they are correct."[/QUOTE… Re: Username/PW entry help Programming Software Development by MikeKristal they are initialized in the beginning [CODE] string username; string fix; string input;[/CODE]