Login Program for C++ with Mysql c++ program to connect to mysql php login code mysql Login Source Codes create login page contain user id,password …
Original source
Login Program for C++ with Mysql c++ program to connect to mysql php login code mysql Login Source Codes create login page contain user id,password …
Original source
18 responses to “Visual C++ Tutorial 4 -Windows Forms Application: Create Login Form with MySql Part 1”
Hi,
What if I want to create login page with text file??
1.5
Thanks for sharing your videos! Learning C++ here by stroustrups books.
Very repetitiy and so slow… but nice
i want to create a login like this without sql for school assignment plz help me
Insecure asf.
I want to create a working ATM application using windows form application.
How can I use this condition in windows form
If userid ==1234 then go to form2
if pin==3456 then go to form3
Please answer me @ProgrammingKnowledge
Plz answer!!!!!
The only thing that I notice about C++ is that it is more encrypted than VBA… If I mastered the use of VBA I will jump into these…
your videos are very helpful. Do you have any pdf for the beginners ?
can you make a Set of video tutorial about, Visual C++2008 connected to SQL SERVER 2008?, Including SHOW DATA, ADD NEW, EDIT, DELETE, RETRIEVE PICTURES from SQL Server, ADD and DELETE PICTURES TO DATABASE, VIDEOS FROM SQL Server ……………………………………………………………………………………………………………………………………………………………………………………………………………………..
we'll be thankful if you do. Students from the Philippines 😀
When I use localhost it takes 20 sec to connect to database. When I use 127.0.0.1 it takes less then a second. How comes?
While this code will work, it will open up your application to SQL injection attacks,
Instead of writing
MySqlCommand^ cmdDataBase = gcnew MySqlCommand("SELECT * FROM database WHERE user_name= '"+this->username_txt->Text+"' AND password= '"+this->password_txt->Text+"';", conDataBase);
You should write something like
MySqlCommand^ cmdDataBase = gcnew MySqlCommand("SELECT * FROM database WHERE user_name=@Name AND password=@Password;", conDataBase);
and then add 2 new lines of code like so
cmdDataBase->Parameters->AddWithValue("@Name", username_txt->Text);
cmdDataBase->Parameters->AddWithValue("@Password", password_txt->Text);
You can add this code in between
conDataBase->Open();
{ADD THE CODE HERE}
myReader = cmdDataBase->ExecuteReader();
This will stop inputs like [ anything' OR 'x'='x ] giving access to your program anyway.
Thank you! 🙂
thank u very much for your contribution to my learning,
May God reward U!! thank u.
hello great tutorial series ….. would you know how to get data from the webBrowser container into a text box so data can be extracted and written to the mysql database, regards and thank you for you detailed videos
Great vids helped me out alot with my C++/mysql project
Keep up the good work
Yo yo
Thank you wery much!