48 Topics

Member Avatar for
Member Avatar for nanakumi75

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 …

Member Avatar for nanakumi75
0
22
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 tomexlfc

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 …

Member Avatar for The Acnor
0
12K
Member Avatar for VenusCrystal

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 …

Member Avatar for Shiwam_1
0
64K
Member Avatar for thecoolman5

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 …

Member Avatar for Shinigetsu
0
1K
Member Avatar for Stefce

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

Member Avatar for cereal
0
436
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
388
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
256
Member Avatar for man.chester.581

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 …

Member Avatar for milil
0
229
Member Avatar for masterinex

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 …

Member Avatar for matrixdevuk
0
234
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 Yorkiebar14

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 …

Member Avatar for Ketsuekiame
0
267
Member Avatar for jalpesh_007

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 …

0
251
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
571
Member Avatar for urbanthistleuk

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 …

Member Avatar for urbanthistleuk
0
407
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
353
Member Avatar for hudhasama

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

Member Avatar for code739
0
220
Member Avatar for captainjake

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 …

Member Avatar for PrimePackster
0
465
Member Avatar for Threza

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 …

Member Avatar for blocblue
0
287
Member Avatar for amy2389

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); …

Member Avatar for pritaeas
0
361
Member Avatar for Dani

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?

Member Avatar for JorgeM
0
223
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 cr7489
Member Avatar for happygeek
0
157
Member Avatar for infinitus

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

Member Avatar for infinitus
0
198
Member Avatar for hadiyaz

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,

Member Avatar for iamthwee
0
141
Member Avatar for dave27johnson
Member Avatar for happygeek
0
149
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 TheWickedKid

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 …

Member Avatar for Ancient Dragon
1
16K
Member Avatar for natehome123

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

Member Avatar for natehome123
0
207

The End.