The difference between a clear text password and an MD5 password in phpToDo is only the way it's stored in the php file. If you use a clear text password, it can be seen when you open the source file (not very secure). If you are the administrator of your server and make sure the file has the proper permissions, then a clear text passeord shouldn't be a problem. However, an MD5 encrypted password is safer because none can see the real password even if the open the source file.
// Cleartext password.
$passwd = md5('put your password here');
and change -> put your password here <- with your real password.
Then save the file and it should work with that password, as long as you have your MySQL database set up correctly.
Feel free to contact me again if you have further questions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-11-12
Thanks for that Mattia.
I understood all of that allready but I wanted to be certain that I wasn't doing anything wrong.
I've setup your project with a clear text password and I seem to log on ok (I don't get any error messages in red text) but after logging in the project goes straight back to the login page.
I've setup a database in MySQL as required and setup index.php with the correct username and password.
Any ideas what's going wrong ?. I'm running the above on Windows 2000 Server with SP2.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you come straight back to the login page after logging in, there probably is something wrong with the cookies. Do you have cookies enabled on your browser? Have you tried logging in with another browser? Do you have the page behind a http or https (SSL) server?
What version of PHP do you have on your server? I've never tested phpToDo on a Windows server, so I'm not sure if it even should work =)
If you want, I can test your setup if you send me the URL and the password. If you do that, please send it privately via https://sourceforge.net/sendmessage.php?touser=77905 , do not post that information here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-11-12
Mattias,
I've sent you a message privately via the above link.
Thank you for your help.
Clive.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would you be able to clarify what the above is all about ?.
I tried to setup a clear text password and nothing happens and to be honest I have no idea what an MD5 Encrypted Password is ?.
Thanks.
The difference between a clear text password and an MD5 password in phpToDo is only the way it's stored in the php file. If you use a clear text password, it can be seen when you open the source file (not very secure). If you are the administrator of your server and make sure the file has the proper permissions, then a clear text passeord shouldn't be a problem. However, an MD5 encrypted password is safer because none can see the real password even if the open the source file.
Look for this part in index.php (in the config):
// MD5 encrypted password.
$passwd = '098f6bcd4621d373cade4e832627b4f6';
// Cleartext password.
// $passwd = md5('cleartextpasswordhere');
If you don't know how to make an MD5, you can use the cleartext password by changing the 4 above lines to:
// MD5 encrypted password.
// $passwd = '098f6bcd4621d373cade4e832627b4f6';
// Cleartext password.
$passwd = md5('put your password here');
and change -> put your password here <- with your real password.
Then save the file and it should work with that password, as long as you have your MySQL database set up correctly.
Feel free to contact me again if you have further questions.
Thanks for that Mattia.
I understood all of that allready but I wanted to be certain that I wasn't doing anything wrong.
I've setup your project with a clear text password and I seem to log on ok (I don't get any error messages in red text) but after logging in the project goes straight back to the login page.
I've setup a database in MySQL as required and setup index.php with the correct username and password.
Any ideas what's going wrong ?. I'm running the above on Windows 2000 Server with SP2.
Thank you.
If you come straight back to the login page after logging in, there probably is something wrong with the cookies. Do you have cookies enabled on your browser? Have you tried logging in with another browser? Do you have the page behind a http or https (SSL) server?
What version of PHP do you have on your server? I've never tested phpToDo on a Windows server, so I'm not sure if it even should work =)
If you want, I can test your setup if you send me the URL and the password. If you do that, please send it privately via https://sourceforge.net/sendmessage.php?touser=77905 , do not post that information here.
Mattias,
I've sent you a message privately via the above link.
Thank you for your help.
Clive.
I'm having the exact same problem - did you find a solution?
You can't login?
And you specified your cleartext password inside a md5("") function?