/    Sign up×
Community /Pin to ProfileBookmark

Lost password to CMS. New to PHP.

I just got a job working on a website that uses an unidentified CMS. I’m completely new to PHP and I’ve looked around at the file structure on the FTP server and through all of the *.php files. I still can’t find a password or log in.

<?php
//define(‘SERVER_ROOT’,’http://192.168.0.15/bs/‘);
define(‘SERVER_ROOT’,’http://www.thebeautifulsmile.com/‘);
define(‘INCLUDES_ROOT’,SERVER_ROOT.’includes/’);
define(‘CLASSES_ROOT’,SERVER_ROOT.’classes/’);
define(‘IMG_ROOT’,SERVER_ROOT.’images/’);
define(‘ADMIN_ROOT’,SERVER_ROOT.’admin/’);
define(‘SITE_ROOT’,SERVER_ROOT.’site/’);

//define(‘DOC_DIR’,’C:/Program Files/Apache Group/Apache2/htdocs/bs/’);
define(‘DOC_DIR’,’/home/thebeaut/public_html/’);
define(‘INCLUDES_DIR’,DOC_DIR.’includes/’);
define(‘CLASSES_DIR’,DOC_DIR.’classes/’);
define(‘IMG_DIR’,DOC_DIR.’images/’);
define(‘ADMIN_DIR’,DOC_DIR.’admin/’);
define(‘SITE_DIR’,DOC_DIR.’site/’);
define(‘FILE_DIR’,’files/’);
define(‘IMGS_DIR’,’images/’);

define(‘DB_SERVER’, ‘localhost’);
define(‘DB_SERVER_USERNAME’, ‘thebeaut_www’);
define(‘DB_SERVER_PASSWORD’, ‘rottingt’);
define(‘DB_DATABASE’, ‘thebeaut_www’);

define(‘TOKEN_SYSTEM’,’0′);
define(‘TOKEN_COLUMN’,’1′);
define(‘TOKEN_USER’,’2′);

define(‘SITE_ID’, ‘1’);

define(‘MAX_IMAGE_SIZE’,’1024768′);
define(‘MAX_FILE_SIZE’,’1024768′);

?>

There is that in a file called /includes/system.php but thebeaut_www/rottingt does not work. Neither does thebeaut/rottingt. I’m a graphic designer learning how to code. I know HTML,CSS and flash but thats about it. So someone please help me identify what CMS the person installed before me. And or how to find the log in.

THANK YOU,
Matthew

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@SheldonJun 13.2007 — I am assuming that the login details are stored in a Database. If you have access to PHPmyAdmin then you may be able to reset/recover the password.
×

Success!

Help @TryptamineKid spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...