![]() |
Sergey Kornilov admin 7/4/2005 |
Hi, |
J
|
johnww author 7/5/2005 |
No. For Postnuke, the file that stores the MySQL userID and password stores the password in an encrypted form (actually the user has the choice to store it encrypted or clear). |
![]() |
Sergey Kornilov admin 7/8/2005 |
John, $pnconfig['dbuname'] = 'cm9vdA==';
echo base64_decode('cm9vdA=='); |
J
|
johnww author 7/11/2005 |
You are right. The Postnuke method is not extremely secure. Nevertheless, the way phprunner stores the info is even less secure. |
![]() |
Sergey Kornilov admin 7/11/2005 |
John,
$conn = mysql_connect($strhost,$user,$pwd);
$conn = mysql_connect($strhost,base64_decode($user),base64_decode($pwd));
|
|
prleo1 7/13/2005 |
Are dbcommon.php and dbconnect.php the only files that need to be modified in order to setup this up or is there additional work? |
![]() |
Sergey Kornilov admin 7/14/2005 |
Hi, |
|
lukey 8/6/2005 |
right now i created a project and the login.php info points to the postnuke user id and password |
![]() |
Sergey Kornilov admin 8/8/2005 |
Hi, $strSQL = "select * from ".AddTableWrappers($cLoginTable)." where ".AddFieldWrappers($cUserNameField).
$strSQL = "select * from ".AddTableWrappers($cLoginTable)." where ".AddFieldWrappers($cUserNameField). |
|
lukey 8/8/2005 |
it doesnt work |
![]() |
Sergey Kornilov admin 8/8/2005 |
Hi, |
|
lukey 8/10/2005 |
here's the md5 error i got Fatal error: Unknown column 'XXXXXXXXXXXXHASHVALUEXXXXXXXX' in 'where clause' in /path/to/include/dbconnection.php on line 26
Fatal error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '==' at line 1 in /path/to/include/dbconnection.php on line 26
|
![]() |
Sergey Kornilov admin 8/11/2005 |
Hi, if(NeedQuotes(db_fieldtype($rstemp,$cPasswordField)))
if(NeedQuotes(db_fieldtype($rstemp,$cPasswordField)))
|
|
prleo1 8/19/2005 |
Admin, |
![]() |
Sergey Kornilov admin 8/23/2005 |
Hi, |
|
prleo1 8/26/2005 |
Thanks again, Admin. |
![]() |
Sergey Kornilov admin 8/29/2005 |
Hi, $passvalue = $_POST["newpass"]; with $passvalue = md5($_POST["newpass"]); and if($_POST["opass"] == $row[$cPasswordField]) with if(md5($_POST["opass"]) == $row[$cPasswordField]) |
|
prleo1 3/9/2006 |
Sergey, |
|
prleo1 3/9/2006 |
Sergey, I have rebuilt an old project using V3; after doing so, the users are not able to change their password. I have used Sha1 to encrypt them in the database and am not sure how to change the code to get this feature working correctly.
|