Current time: 11-15-2024, 07:53 AM Hello There, Guest! (LoginRegister)


Post Reply 
HowTo change your Webmail password for ispCP Omega 1.0.0 • 2009-02-25
Author Message
shiizpa Offline
Junior Member
*

Posts: 69
Joined: Mar 2009
Reputation: 2
Post: #1
HowTo change your Webmail password for ispCP Omega 1.0.0 • 2009-02-25
show http://www.isp-control.net/documentation...ebmailpass
04-17-2009 08:51 AM
Find all posts by this user Quote this message in a reply
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #2
Cool RE: HowTo change your Webmail password for ispCP Omega 1.0.0 • 2009-02-25
Nice, very nice.
04-17-2009 03:18 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: HowTo change your Webmail password for ispCP Omega 1.0.0 • 2009-02-25
Is this Part with the adodb needed ?
ispCP itself use adodb so we don´t need it a second time.
Code:
/var/www/ispcp/gui/include/adodb# ls -l
total 588
-r--r--r-- 1 vu2000 www-data  15433 Feb 17 19:50 adodb-active-record.inc.php
-r--r--r-- 1 vu2000 www-data   8306 Feb 17 19:50 adodb-csvlib.inc.php
-r--r--r-- 1 vu2000 www-data  27014 Feb 17 19:50 adodb-datadict.inc.php
-r--r--r-- 1 vu2000 www-data   8543 Feb 17 19:50 adodb-error.inc.php
-r--r--r-- 1 vu2000 www-data   2750 Feb 17 19:50 adodb-errorhandler.inc.php
-r--r--r-- 1 vu2000 www-data   2277 Feb 17 19:50 adodb-errorpear.inc.php
-r--r--r-- 1 vu2000 www-data   2216 Feb 17 19:50 adodb-exceptions.inc.php
-r--r--r-- 1 vu2000 www-data   1598 Feb 17 19:50 adodb-iterator.inc.php
-r--r--r-- 1 vu2000 www-data  35342 Feb 17 19:50 adodb-lib.inc.php
-r--r--r-- 1 vu2000 www-data   3200 Feb 17 19:50 adodb-memcache.lib.inc.php
-r--r--r-- 1 vu2000 www-data   8119 Feb 17 19:50 adodb-pager.inc.php
-r--r--r-- 1 vu2000 www-data   9564 Feb 17 19:50 adodb-pear.inc.php
-r--r--r-- 1 vu2000 www-data  31487 Feb 17 19:50 adodb-perf.inc.php
-r--r--r-- 1 vu2000 www-data    321 Feb 17 19:50 adodb-php4.inc.php
-r--r--r-- 1 vu2000 www-data  41804 Feb 17 19:50 adodb-time.inc.php
-r--r--r-- 1 vu2000 www-data  55332 Feb 17 19:50 adodb-xmlschema.inc.php
-r--r--r-- 1 vu2000 www-data  62667 Feb 17 19:50 adodb-xmlschema03.inc.php
-r--r--r-- 1 vu2000 www-data 121232 Feb 17 19:50 adodb.inc.php
dr-xr-xr-x 2 vu2000 www-data   4096 Feb 17 20:26 contrib
dr-xr-xr-x 2 vu2000 www-data   4096 Feb 17 20:26 cute_icons_for_site
dr-xr-xr-x 2 vu2000 www-data   4096 Feb 17 20:26 datadict
dr-xr-xr-x 2 vu2000 www-data   4096 Feb 17 20:26 docs
dr-xr-xr-x 2 vu2000 www-data   4096 Feb 17 20:26 drivers
dr-xr-xr-x 2 vu2000 www-data   4096 Feb 17 20:26 lang
-r--r--r-- 1 vu2000 www-data  26079 Feb 17 19:50 license.txt
dr-xr-xr-x 3 vu2000 www-data   4096 Feb 17 20:26 pear
dr-xr-xr-x 2 vu2000 www-data   4096 Feb 17 20:26 perf
-r--r--r-- 1 vu2000 www-data   6461 Feb 17 19:50 pivottable.inc.php
-r--r--r-- 1 vu2000 www-data   1731 Feb 17 19:50 readme.txt
-r--r--r-- 1 vu2000 www-data   1575 Feb 17 19:50 rsfilter.inc.php
-r--r--r-- 1 vu2000 www-data   2399 Feb 17 19:50 server.php
dr-xr-xr-x 3 vu2000 www-data   4096 Feb 17 20:26 session
dr-xr-xr-x 2 vu2000 www-data   4096 Feb 17 20:26 tests
-r--r--r-- 1 vu2000 www-data   3474 Feb 17 19:50 toexport.inc.php
-r--r--r-- 1 vu2000 www-data   5724 Feb 17 19:50 tohtml.inc.php
-r--r--r-- 1 vu2000 www-data   1453 Feb 17 19:50 xmlschema.dtd
-r--r--r-- 1 vu2000 www-data   1719 Feb 17 19:50 xmlschema03.dtd
dr-xr-xr-x 2 vu2000 www-data   4096 Feb 17 20:26 xsl

Also this one

Code:
<?php
require_once'adodb5/adodb.inc.php';
define('host','localhost');
define('user','root'); //enter user access to table ISPC
define('pass','tucontraseña'); //enter your password
define('database','ispcp');
$db = ADONewConnection('mysql');
$db->Connect(host, user, pass, database);
?>
Is there a way we can use the ispcp configs for this ?
So that we only need to create the change_password.php.
BTW: Does this work with the crypted PW´s ?

If so, it is a easy way to get in ispCP per default.

Greez BeNe
04-24-2009 05:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
shiizpa Offline
Junior Member
*

Posts: 69
Joined: Mar 2009
Reputation: 2
Post: #4
RE: HowTo change your Webmail password for ispCP Omega 1.0.0 • 2009-02-25
change_password.php working with encryption

change_password.php
PHP Code:
<?php
//required libraries ispcp default ("encryption")
require '../../include/ispcp-lib.php';
////////////////////////////////////////////
require '../../include/adodb.inc.php'//requiere adodb 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>..... 

encryption in
PHP Code:
... encrypt_db_password($_POST['ncontrasena'] ... 
(This post was last modified: 04-25-2009 02:48 AM by shiizpa.)
04-25-2009 02:46 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)