473,321 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

password changing

12
hi,
i need code to change password in php..
could you plz help me its urgent
Jul 4 '07 #1
8 1097
pbmods
5,821 Expert 4TB
Heya, sree. Welcome to TSDN!

What application do you need to change your password for?
Jul 4 '07 #2
epots9
1,351 Expert 1GB
make sure that the user is logged in/valid have him/her enter the new password (2 textboxes to make sure its right), test the values of the textboxes to make sure they match, then do an update statement (only updating the password field) and send it off to your database.

good luck
Jul 4 '07 #3
Atli
5,058 Expert 4TB
.. then do an update statement (only updating the password field) and send it off to your database...
And make sure you only allow your query to update 1 row, so you don't accidentally change all passwords. (Errors like that have actually killed people!)
Jul 4 '07 #4
epots9
1,351 Expert 1GB
i hinted at that in my first line but ur right Atli, should have been alittle more clear.
Jul 4 '07 #5
dafodil
392 256MB
hi,
i need code to change password in php..
could you plz help me its urgent
If you want to change your password you should have an existing database and a table for a user....

Then use the Update statement.....

You can read additional info on : w3schools.com
Jul 5 '07 #6
ak1dnar
1,584 Expert 1GB
hi,
i need code to change password in php..
could you plz help me its urgent
Hi sree266,

If you'd like to get the work to be done, you have to get thruogh the forum rules.
Please be my guest to read this
Thanks!

-Ajaxrand

How to ask a question

Give as much detail as possible When you post a question or problem, express the situation clearly and concisely and include all relevant information, code used, data used, result expected, result achieved and any error codes or messages that you get as a result.
Jul 5 '07 #7
pbmods
5,821 Expert 4TB
What application do you need to change your password for?
Hah. Everyone have a good laugh at pbmod's silliness :P
Jul 5 '07 #8
dafodil
392 256MB
Hah. Everyone have a good laugh at pbmod's silliness :P
I didn't notice that.... lol
Jul 5 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: arktikturtle | last post by:
Hi! I'm looking for a way to validate a password within PL/SQL. I want to write CREATE PROCEDURE change_password(old_password IN VARCHAR2) IS BEGIN -- check if old_password is correct... but...
3
by: jinev | last post by:
Hey Hey everyone. It's me again asking for help. I have an NT sp6 box with SQL 7. It seems the password for SA has been corrupted, so it won't allow me to log in to it. As an NT admin, is...
1
by: patrickshroads | last post by:
I just started a new job and no one seems to know the SA password. Here's my plan to change it: 1. I've run a trace for a couple of days to verify that there are no jobs or processes that are...
1
by: Mindy Geac | last post by:
Hello, I'm seaching for the possibility to change Domain/User passwords. And a check for users if the password has to change with the first logon or when the password is expired. thanx, ...
1
by: black lee via DBMonster.com | last post by:
we would like to provide users with changing password feature in our application. I understand that db2 uses password of operating systems. does anyone know if there is sql commend or api we use in...
10
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
5
by: scorpion53061 | last post by:
is it possible to set the database password that you can set in access for a database from a vb.net application?
4
by: muchexie | last post by:
I have developed a login system but its failing to allow the user to change password. Here is my code. <? require_once("system_fns.php"); session_start(); do_html_header("Changing...
4
by: John Kotuby | last post by:
Hi all, I have a simple user-form which accepts contact and profile information for the user to edit and save. All the textboxes are working fine and displaying the expected data, both when the...
5
by: jehugaleahsa | last post by:
Hello: We have a request for an console application to change the administrative password on our user's machines during an upcoming update. The console application will be called from a batch...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.