How to change the database name and pwd in dbconnection.php file

2 views
Skip to first unread message

bunny

unread,
Oct 20, 2009, 2:53:32 PM10/20/09
to OOP PHP
Hi there,
Can you please help me to get out this problem?
Some body developed my website last year and gave it to me, and now I
need to change database password in dbconnection.php file. But problem
is I cannot see the database name and password in the file. Because
they encoded the file. So pls help me how to change the database
password? I really appreciate for that.
They used ioncube software to encode the file, here I'm sending the
dbconnection.php file. Please take a look. I really appreciate for
your help.
---------------------------------------------File
Start--------------------------------
<?php //
0035e
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr
(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr
(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');$__oid=$__id=realpath
(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)
>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));

$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat
('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while
($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if
(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die
('The file '.__FILE__." is corrupted.\n");}if(function_exists
('_il_exec')){return _il_exec();}echo('Site error: the file
<b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename
($__ln).' to be installed by the site administrator.');exit(199);
?>
Reply all
Reply to author
Forward
0 new messages