im using wampserver and i want to put password in the database. i check some video tutorias but when i try it it is not working in my case. can anybody please help me give some ideas. thanks
lloydsbackyard
0
Light Poster
Recommended Answers
Jump to PostPassword of what? Of a database user? You can use phpMyAdmin. Don't forget to flush priviliges or restart wamp.
Jump to PostYou should use POST method for that:
<form method="post" action="process.php"> <input type="password" name="pass"> <input type="submit" name="submit" value="Submit password"> </form>
And this is an example of a process.php
<?php // check if password is set and matches criteria if(isset($_POST['pass']) && $_POST['pass'] != '') { …
Jump to Posthttp://wiki.phpmyadmin.net/pma/user_management
You'll have to add it through phpMyAdmin first, see the link above.
Jump to PostYou should have created/edited the host name for the user as
localhost
to use on the same computer, or%
to be able to connect from any computer. If MySQL cannot resolvenohs
as a hostname, it won't work.
All 14 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
broj1
356
Humble servant
Featured Poster
lloydsbackyard
0
Light Poster
lloydsbackyard
0
Light Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
lloydsbackyard
0
Light Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
lloydsbackyard
0
Light Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Squidge
101
Newbie Poster
lloydsbackyard
0
Light Poster
lloydsbackyard
0
Light Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
lloydsbackyard
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.