apache - Running a open source php project after modifications -
i looking open source php website code , found 1 @ http://projects.students3k.com/online-exam-website-php-source-code.html , downloaded it. doesnt have read me suppose involves common sense people use php.
subsequently, installed apache2, placed whole stuff in var/www/ , connected database.
- what i'm unable find users login user or admin interface. did find file users in csv format doesn't work
- the instructions have make changes file lib/db.php adding local parameters.
this not sort of homework , wanna explore functionality of website.
p.s. - file size 80 mb before i'm scolded posting such links.
p.p.s - reallllly me , have smashed head trying.
db.php file after modifications :
define('db_server', 'localhost'); define('db_user', 'root'); define('db_passwd', 'password'); define('db_name', 'test'); define('admin_url', 'localhost/admin/'); define('url', 'localhost/'); define('imageurl', '/var/www/images'); define('site_admin_name','http://online-test.students3k.com/admin/'); define('site_name', 'http://online-test.students3k.com/'); define('admin_folder_name', '/var/www/admin/web'); define('admin_path','<a href="../home.php" style="text-decoration: none;">admin</a> <span class="org_arrow"><b>»</b></span>'); define('site_title', 'ismart exams'); define('admin_site_title', 'ismart exams :: admin panel');
you need import data database. file located at
database/ismartexams.sql
after imported data there 3 users available.
- admin
- testengine
- superadmin
their passwords equal username.
Comments
Post a Comment