[PHP] Forgot Password Help?

1 Answer

Answer :

You could try using the built in PHP crypt() function, you pass the string and a salt you want to encrypt, then to decrypt it use the decrypt() function and the same salt. That should give you the same password back. Though really you should try to push for a randomly generated password on reset.

Related questions

Description : Is it possible to store PHP scripts in the cloud?

Last Answer : answer:Yes Simplest example would be to grab the script from a service, stick it in a variable and eval it. Could you provide an example of why you’d want to? I can’t think of a good reason to do it offhand.

Description : Which is better between PHP and ASP.net?

Last Answer : answer:I prefer PHP. It is well documented and very portable. ASP is non starter for me since I refuse to use IIS. I like Ruby and Python too. But when I have to start a project from scratch I use PHP and CodeIgniter.

Description : What's your favorite PHP integrated development environment (IDE)?

Last Answer : If I did PHP development, I’d probably use Coda: http://www.panic.com/coda/

Description : What's the best way to deploy a PHP application?

Last Answer : answer:debian package At a previous job I had to install/maintain a site written in CakePHP. I made it into a debian package. “aptitude install projectname” and you’re done (although I guess that is technically “touching the server”) Send me a PM and I can give you the details.

Description : PHP problem with && and possibly a malfuntioning array?

Last Answer : answer:Unfortunately the examples above don't really shed a lot of light without some additional information. Maybe we can help with some troubleshooting tips in general? A couple of things that come to mind ... is where you're expecting it. Good luck with it, I hope it all comes together.

Description : Which windows application for writing PHP codes?

Last Answer : answer:Don’t know about compiling php? and debugging is also foreign to me. But Notepad++ is awesome.

Description : If I already know basic PHP/MySQL, what else should I learn to use Google App Engine?

Last Answer : answer:I am not an expert, I just started reading up on this myself, but here are a couple of starting points on data storage. Rather than a separately maintained SQL database, ... .com/appengine/articles/datastore/overview.html http://code.google.com/appengine/docs/python/datastore/overview.html

Description : PHP echo number of instances if specific word?

Last Answer : make a while loop that goes through the contents of the array. prior to the array define a counting variable and give it the value 0. during each loop, increase the value by 1 if the word “and” is encountered

Description : Make an archive-like page in PHP?

Last Answer : Hi Davey, Here is some quick and dirty code for your showarticlesfor($year)' function which should get the job done (NOTE: I am assuming you are using MySQL as your DBMS): function ... few breaks, and finally by the records (the while loop). References: MySQL DATE_FORMAT PHP mysql_fetch_assoc()

Description : How would I check if an XML element exists in PHP?

Last Answer : Wrap it in an if that checks for the existence first if($status->item(0)) { $eventStatus = $status->item(0)>getAttributeNode( value )->value; } and run from there, I haven't actually run your ... and does just about everything you'll want (then you can use the DOM stuff to fill in the blanks)

Description : How would I perform this operation on a string in PHP?

Last Answer : That isn’t XML, that’s HTML. Can you not grab the data in a format where times are stamps?

Description : Referencing a class from another class [PHP]?

Last Answer : Great question! I wish I knew.

Description : Cloning Objects in PHP?

Last Answer : I usually use it when I'm at a midpoint that I'll be using for several objects. How about a oversimplified example just to illustrate the point? If I'm programming a Christmas story and have ... formatted request that I'll be reusing, and then clone the XML object before filling in the particulars.

Description : Does including a file with lots of functions slow down PHP applications?

Last Answer : It is always better to short the calls to the server, so it is a good practice to keep it in one file and one call. But also the the size of the file been called sometimes slows ... the time periods of the requests to the server. There is also PHPSpeedy that makes the requests significantly faster.

Description : I'm in PHP right now. Will a transition to Objective-C be relatively easy, or do you think I should try other languages first?

Last Answer : answer:Objective-C is a compiled language, strong typed, then is different to Php in many ways. Since 2.0 version, Obj-C has its own garbage-collector for memory management. I don't try to ... want to do with Objective-C ? Cocoa framework is really interesting, you should take a look at it !

Description : What is the best php framework?

Last Answer : I have found cake to be the most portable and easy to install. If I had to choose a MVC PHP framework I would go with Cake.

Description : Cut a string into pieces (PHP! ;-) )

Last Answer : You could use substr while looping up to the length of the string and using array_push to build your $string_array.

Description : What's the best editor for PHP/Javascript work?

Last Answer : Vim

Description : Anybody know how I can integrate .zip files with PHP?

Last Answer : http://www.net2ftp.com/ allows you to do this. You could dig through the source (you can download it there) and figure out how they did it. Or you could just install net2ftp and have them use that instead.

Description : Free PHP Web Server for Dreamweaver?

Last Answer : answer:This is probably your best bet for getting PHP, Apache, and MySQL running easily. http://www.apachefriends.org/en/xampp.html It works well on most operating systems. I can't help with Dreamweaver ... add that xampp runs on your computer. No need for a external server. It is great for testing.

Description : External Link to PHP module execute twice?

Last Answer : answer:I'm not sure I understand the question correctly, but if I do: it sounds like whatever program you're embedding your link in ( email or word document ) is loading the URL more than once. It' ... has been moved, and only raises an error if the appropriate row can't be found in either table.

Description : I forgot my password on amazon.com and i tried to recover it by clicking the "forgot password?" link and it wants me to enter the last four digits of the last credit card I used but I didn't use a credit card I used a checking account. Please help.

Last Answer : Why don’t you just open an new account?

Description : What question do you get if you click on "I forgot my password" in Yahoo email?

Last Answer : I didn’t get the second part of the question. What do you wanna copy / paste and where? Also it’s simple DIY type question which would be easier to check yourself rather than waiting for answer here!

Description : How can I answer my secret question for my windows live ID if I forgot my email account password?

Last Answer : If you forgot both bits of info it directs you to the secret question? Do you not remember the answer to it?

Description : What happens if I forgot my password?

Last Answer : If I knew that I’d get my original address back instead of having 2003 at the end of mine, lol.

Description : How can you make another iTunes account on an iPhone if you already have one but you forgot the password?

Last Answer : When faced with a login screen, you should be able to select something like a “Create an Account” etc. Or there may be a “Reset your password” dialogue.

Description : Forgot my password?

Last Answer : Try to reset it if you have an email in your account. Then that email will have a verification for you to reset.

Description : How do I get a new one I just forgot my password.?

Last Answer : Hey. it is elementary to reclaim your password if you have forgotten it.Follow the following steps to recover your password:Step 1: Click the "Forgot your password?" link on the Sign In panel, and it ... to set your new password. After this, you can sign in and change your password in "Dashboard."

Description : Forgot your Facebook ID password ?

Last Answer : You go to Facebook and click on the forgotten password option . Then enter the email id , then the verification code will come, then give the recovery ..... Then logout then recovery .

Description : I forgot my email password - what to do ?

Last Answer : It would be nice to know which email provider you are using. We hope you verified your mobile number or created another email when you created the email. But now go to the login page and see if there ... link is sent to the email. If you follow their instructions, you can renew your password.

Last Answer : What to do if you forget your Gmail ID password: 1. You have to enter www.gmail.com . Can't access your account? Click on 3. Now there are three options. From there you have to select Don't ... window will appear. There is a new password. If you double click on Reset password then the work is done

Description : I forgot my password for sony ericsson xperia x10i what I can do

Last Answer : Need Answer

Description : blocked mobile

Last Answer : You will go to a mobile repair shop;) he will unblock your mobile phone :)

Description : I forgot the master password on my imac. How can I reset it?

Last Answer : You can find instructions on Apple's site: http://www.apple.com/support/osx/passwords/

Description : I forgot the password into my computer has windows 7

Last Answer : Similar question has been answered: http://answers.answerspal.com/149/i-do-not-remember-my-administer-password-for-windows-7 .

Description : i forgot my password for windows 7 i have no seset disk what should i do?

Last Answer : Start your laptop in SAFE MODE. On the start menu goto control menu and select "USER ACCOUNTS". Add another account for yourself with Administrative access. Use this account to change the ... ALWAYS destroy the harddrive to asure that no hidden personal information can be accessible to others.

Description : How do I deactivate my DeviantArt account when I forgot the password to it and the eMail I had used?

Last Answer : The account will reside in the system unless you can prove itwas your account in all instances. You can contact Deviant Art andexplain to their moderators your issue but they will most certainlyask for and expect conclusive proof of your account. In most casesyou would leave it unused

Description : I Forgot my Password for outlook account what do I do?

Last Answer : Contact your system administrator.

Description : HOW DO I RESET THE PASSWORD THAT I FORGOT ON A GARMIN 205W?

Last Answer : Open Garmin Connect or My Garmin in a Web browser, then click the â⠬ŠForgot Passwordâ⠬ link. The same Forgot Password tool opens for both applications. Type your Garmin username and your email ... The Password Reset link is emailed to your email address on file. Open the link in a browser.

Description : Can you help fix this programming problem in Python?

Last Answer : You can’t treat arrays of digits as a single number. The easiest way to read a numeric string is to use the sys library to read a line from the keyboard. import sys print(“Enter value for mass”) mass = sys.stdin.readline() mass = float(mass)

Description : Programmers: Is this puzzle a "named problem?" and can you help me with it?

Last Answer : I'd call it enumerating a list of all combinations . There's a field of math called combinatorics which I did not study but I assume probably has a word for this. It doesn't seem like a puzzle ... each iteration, and tweak it to get the output format you want, but that's essentially it, I think.

Description : Geometry Gurus. Can you help me solve for an angle?

Last Answer : answer:The simplest solution would indeed be to have an IF ELSE statement there and have two separate cases depending on whether (RadialPointY - CenterPointY) is positive (@Angle < 180) or ... values it actually is cannot be determined without some sort of test of (RadialPointY - CenterPointY).

Description : Any programmers willing to help me solve a triangle?

Last Answer : Are you sure whether your language is using degrees vs. radians for the angle?

Description : Any Python programmers willing to help me find a bug?

Last Answer : Anything for the sake of science. I will look at the code and see if I can find the bug. As I understand it, you want to find the number of distinct locus values. By just looking at the csv ... just how the parsing is supposed to work. Also, what is the calling sequence to get the program started?

Description : MySQL help!

Last Answer : answer:You spelled “propeller” wrong, for one thing. Table SERVICE_REQUEST has a primary key, SERVICE_ID, which is a DECIMAL field. In your attempt to load the table with the error record, the secondary key value you attempted to insert for SERVICE_ID, ‘7’ is a CHAR value. That’s a show-stopper.

Description : I understand what the PL/SQL code below is supposed to do, but when I run the code, it won't compile. Can anybody help with why this is so?

Last Answer : answer:PL\SQL really isn’t my thing, but I believe you need something between the first IF statement and the ELSIF. What do you want it to do with the number if it is 50 or 90?

Description : Does anyone here have experience working with PL/SQL? I need some help getting started...

Last Answer : answer:PL/SQL is Oracle's take on SQL. It's mostly vanilla SQL, but with some Oracle-specific twists. You need Oracle SQL Developer or something similar. I doubt other relational ... more closely resembling a true object-oriented language, so make sure you get something Oracle-specific!.

Description : Hey mathematicians, would you like to help me find patterns between rolling ball clocks?

Last Answer : answer:I read the article & watched the video, but I don't get it. It takes 27 balls to display 12:59 (12 balls on the hours rack, 11 on the 5-min, 4 on the 1-min). But ... there are no simple rules among the numbers you've compiled. In other words, your algorithm might be its shortest description!

Description : Can you help me find an App that can help one make App's? (any platform, including pen and paper, details inside)

Last Answer : answer:I'm not sure if it's quite what you're looking for, but my buddy makes AppCooker. You can use it with AppTaster to create mockups and make them play. I can't speak to their efficacy personally because ... charge $75-125/hour. If that's the route you end up wanting to take, feel free to PM me.

Description : Excel spreadsheet help (formulas)

Last Answer : Which version of excel are you using? In 2010 it has a square root function which is =sqrt(CellNameHere). Also as far as the second problem with the multiplication table can you not just use the cell name for example =$B$1*A2 and then drag it down?