a) How long for
Thanks
Posted 08 October 2004 - 06:18 AM
Posted 08 October 2004 - 11:15 AM
Posted 08 October 2004 - 11:39 AM
Posted 08 October 2004 - 11:43 AM
Posted 08 October 2004 - 01:06 PM
<?php # MD5 Password Creator # Usage: call this script, passing the textual passowrd you desire # Example: md5-password.php?password=new_password # echo md5($password); ?>
Posted 08 October 2004 - 01:44 PM
Posted 08 October 2004 - 02:49 PM
The name Phase was replaced by Etomite for trademark dispute reasons. It is the same project, under the same management (Alex), with the same user community. Etomite took over at the 0.6 release, the last version under the Phase name was 5.3 - 0.6 has MANY improvements. You might want to consider upgrading...I am using phasecms, which is basically the same thing but probably a bit older...
Posted 17 October 2004 - 03:24 AM
If you have access to your Etomite database, try using the following script as a stand-alone program... It will generate a new password that you can then copy and paste into your admin record within the manager_user table...
<?php # MD5 Password Creator # Usage: call this script, passing the textual passowrd you desire # Example: md5-password.php?password=new_password # echo md5($password); ?>
manager_user table?
Posted 17 October 2004 - 03:01 PM
For a standard installation this would actually be called etomite_manager_users, and can be accessed using phpMyAdmin or any other MySQL administration software... Or, if you don't have access to a MySQL administration program, which everyone should have as a basic tool, you could create another small script which would make the password change for you... A working example of the script to perform this task would be:Where can i find the
manager_user table?
<?
# MD5 admin password changer for Etomite
$host = "localhost"; # Name of MySQL host
$user = "user"; # MySQL username
$pass = "password"; # MySQL password
$db = "etomite"; # Etomite database name
$table = "etomite_manager_users"; # The etomite_manager_users table name with prefix
$admin_password = "your_new_password"; # The new password for the admin user
$md5_password = md5($admin_password);
$sql = "UPDATE `$table` SET `password` = '$md5_password' WHERE `username` = 'admin' LIMIT 1;";
if (!$conn = mysql_connect($host, $user, $pass)) die('Could not connect: ' . mysql_error());
if (!mysql_select_db($db)) die('Database select failed: ' . mysql_error());
if (!mysql_query($sql)) die('Update failed: ' . mysql_error());
else echo "Password successfully changed for admin...";
mysql_close($conn);
?>Posted 30 October 2004 - 06:24 PM
For a standard installation this would actually be called etomite_manager_users, and can be accessed using phpMyAdmin or any other MySQL administration software... Or, if you don't have access to a MySQL administration program, which everyone should have as a basic tool, you could create another small script which would make the password change for you... A working example of the script to perform this task would be:
<? # MD5 admin password changer for Etomite $host = "localhost"; # Name of MySQL host $user = "user"; # MySQL username $pass = "password"; # MySQL password $db = "etomite"; # Etomite database name $table = "etomite_manager_users"; # The etomite_manager_users table name with prefix $admin_password = "your_new_password"; # The new password for the admin user $md5_password = md5($admin_password); $sql = "UPDATE `$table` SET `password` = '$md5_password' WHERE `username` = 'admin' LIMIT 1;"; if (!$conn = mysql_connect($host, $user, $pass)) die('Could not connect: ' . mysql_error()); if (!mysql_select_db($db)) die('Database select failed: ' . mysql_error()); if (!mysql_query($sql)) die('Update failed: ' . mysql_error()); else echo "Password successfully changed for admin..."; mysql_close($conn); ?>
Once you have regained access to your Etomite Manager, the very first thing you should do is to create an alternate Admin account using a password that you are sure not to forget... By doing this you will insure that you won't be locked out of Etomite Manager again...![]()
Good Luck...
Posted 30 October 2004 - 07:11 PM
So,i just go to notepad and paste that script? save and upload?
Posted 30 October 2004 - 07:23 PM
Open the Documentation.html file within your phpMyAdmin subdirectory using your browser and follow the installation directions...Hmm....i have downloaded...PhPMyAdmin, after i finish uploading it how do i enter my Database?
Posted 25 September 2005 - 11:31 PM
<?php # MD5 Password Creator # Usage: call this script, passing the textual passowrd you desire # Example: md5-password.php?password=new_password # echo md5($password); ?>[/quote]
<?php # MD5 Password Creator # Usage: call this script, passing the textual passowrd you desire # Example: md5-password.php?password=new_password # echo md5($password); ?>[/quote]
<?
# change_etomite_admin_password.php
#
# Created By: Ralph A. Dahlgren - rad14701@yahoo.com
# Purpose: Allows the changing of an admin password without MySQL utility software
# Use: Change the varaibles below to match your Etomite setup, save,
# and point your browser to this script
#
# WARNING!!! Use at your own risk!!!
#
$host = "localhost"; # Name of MySQL host
$user = ""; # MySQL username
$pass = ""; # MySQL password
$db = ""; # Etomite database name
$table = "etomite_manager_users"; # The etomite_manager_users table name with prefix
$username = "" # The username that needs a new password
$admin_password = ""; # The new password for the admin user
# Modifications should not be required below this point
$md5_password = md5($admin_password);
$sql = "UPDATE `$table` SET `password` = '$md5_password' WHERE `username` = '$username' LIMIT 1;";
if (!$conn = mysql_connect($host, $user, $pass)) die('Could not connect: ' . mysql_error());
if (!mysql_select_db($db)) die('Database select failed: ' . mysql_error());
if (!mysql_query($sql)) die('Update failed: ' . mysql_error());
else echo "Password successfully changed for ".$username."...";
mysql_close($conn);
?>Edited by uzz, 25 September 2005 - 11:40 PM.
Posted 26 September 2005 - 12:19 AM
Posted 26 September 2005 - 01:11 AM
Hi uzz...
Yes, the change_etomite_admin_password.php script should get you going... As for the MD5 encryption for your password, if you attempt to change it within phpMyAdmin you can simply enter your new plain text password and then select MD5 from the function drop-down... Once you save it phpMyAdmin will automatically MD5 encrypt the plain text password...
Posted 29 March 2007 - 07:53 PM
If you have access to your Etomite database, try using the following script as a stand-alone program... It will generate a new password that you can then copy and paste into your admin record within the manager_user table...
<?php # MD5 Password Creator # Usage: call this script, passing the textual passowrd you desire # Example: md5-password.php?password=new_password # echo md5($password); ?>
<?php # MD5 Password Creator # Usage: call this script, passing the textual passowrd you desire # Example: md5-password.php?password=new_password # $password=$_GET['password']; echo md5($password); ?>
Posted 29 March 2007 - 09:39 PM
You are correct... That omission stems from the fact that I had converted a snippet to a true PHP script... I also notice that I misspelled "passowrd" in the usage text... My bad X2...The script is fine but if you do not add
$password=$_GET['password'];
It will produce md5 for space
So, this worked for me:<?php # MD5 Password Creator # Usage: call this script, passing the textual passowrd you desire # Example: md5-password.php?password=new_password # $password=$_GET['password']; echo md5($password); ?>
Then copy the md5 string, go to table etomite_manager_user in database etomite and change the password field of the user of your choice to it. I suppose you can create new record for user in this table.
Posted 18 February 2009 - 08:52 PM
Posted 18 February 2009 - 11:25 PM
Edited by justPeachy, 18 February 2009 - 11:29 PM.
Posted 18 February 2009 - 11:43 PM
Edited by PaulD, 18 February 2009 - 11:47 PM.
0 members, 0 guests, 0 anonymous users