48 Topics
| |
I have a social network site which allows users to upload an image as a profile cover. I use PHP to upload the image to database and select it to display as profile cover.The image shows perfectly, but when I visit a different page and come back, the cover image … | |
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 … | |
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 … | |
Hi, I have installed Oracle 11g (latest version 11.2.0.1.0) on my system. During the installation it didnt ask me to set username or any password. I'm unable to start sql plus because i dont have the username and password. Can anyone tell me what is the default username and password … | |
Hey, I recently found out how to shutdown another's computer using yours at school with command prompt and when I tried it, it didn't work. Here's the code: shutdown -i and when I click on browse, it says that the server is unavailable. And here at my school, we login … | |
I have this code for checking the username and ticket availability but something doesnt work well if someone can tell me whats the problem, this error shows me if i enter the right info `Invalid Ticket or Receiver` here is the code: <?php if(isset($_POST['sendTicket'])) { $ticketID = $_POST['ticketID']; $ticketReceiver = … | |
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 … | |
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>" . … | |
I have website project .user can log in to use it at the home page now the problem is if any user write URL for any other page without login it will show him the page I need to ensure that any user visit other page have already logged in … | |
i have a form which asks the user to enter a username , once the user enters the username, the program will check if the username entered by the user is a new username or an old one from the database 'testdb' and table 'test'. if it is a new … | |
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 … | |
Hello, I have two applications; a server and a client which use simple TCP Sockets to connect to each other and send the data. The only problem I have is that I am struggling to associate usernames with the accepted sockets on the server. The server is able to accept … | |
Dear all, I am developing SOAP web service using netbeans. As i have got preferred SOAP request and SOAP response,now i want to add security information like username and/or password in my SOAP header Request. Please tell me how can i modify or add username in my SOAP header Request … | |
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 … | |
Hello, I am just after some information if anyone knows how to create a system in php that auto assigns a user at random when a record is logged in a mysql database I have been tasked to build a logging system for which uses a database to store the … | |
| I signed up with google and I didn't see anywhere to choose a username... could I have "iDevelop" or even better, "iLikePHP"? |
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() { … | |
Hello there. I used this code for user and it works but when I use and alter a bit for admin side system, there is no data inside of the text field and the username keep on changing to 0 eventhough I type in other username. This is the code. … | |
K! I have been off the daniweb for sometime now. But came back today. But i think i forgot my login details..... so i asked for the reset mail. And i got it, but when i click on the link, it just goes to my profile and no option whatsoever … | |
I have a page called projects.php to let the users submit their bid information via form. When the user is logged in, he can submit this form. But am not able to find out which user has applied to the job unless I specify a username field in the form … | |
require_once(LIBRARY_PATH . "phpmailer.php"); require_once(CONFIG_PATH . "emailconfig.php"); class email { public function sendMail($from,$fromname,$subject,$content,$to){ $mail = new PHPMailer(); $mail->SMTPAuth = SMTPAuth ; $mail->IsSMTP(); $mail->SMTPSecure = SMTPSecure; $mail->Host = Host; $mail->Port = Port; $mail->Username = Username; $mail->Password = Password; $mail->From = $from; $mail->FromName = $fromname; $mail->Subject = $subject; $mail->Body = $content; $mail->AddAddress($to); $mail->IsHTML(true); … | |
Now that there's a method to change a username, I think I'm going to take advantage of that. What does everyone think of me changing my username to Dani? | |
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 … | |
Hello there i would like someone to have a peek at this code and does it solve the question correctly ?? Are there any mistakes or any improvements i could add ?? Thank you Question: 1. (a)modify the addnames.php script to read in and store two fields of data – … | |
Hi, I'm using joomla.. I need to generate user name with ID. like: (different names for male-female, standart-member,gold-member,platinium-member) John567,John568,John569.... Jane345,Jane346,Jane347.... SilverJohn567,GoldJohn568, | |
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 … | |
Hello... I'm practicing c++ and I'm trying to create a program with register and login in it.. the problem is I'm trying to compare the register username/password to the login username/password but even though the comparisons are right it's not working.. [CODE]#include <Windows.h> #include <iostream> #include <iomanip> #include <string> #include … | |
Can someone please change my username to natehome123, this is very important. thank you |
The End.