Jump to content

Question about database param


helpmeplease1234

Recommended Posts

I am trying to install a script.
It is asking many things, and I did good till the end.
______________________________________________________________
// database param

define('DB_TYPE', 'mysql');

define('DB_SERVER', 'localhost');

define('DB_USER', 'db_db');

define('DB_PASSWORD', 'db');

define('DB_DATABASE', 'db_db');



// set

define('HOMEPAGE','http://yoursite.com/');

define('SITENAME','Your Site Name');

define('SHOWPIMP','ON'); //ON or OFF      show left-top



define('ROOT_DIR',    realpath(dirname(__FILE__)));

define('MP3FLASHLIST_DIR',ROOT_DIR."/uploads/playlist");

_____________________________________________________

these last two I really have no idea?
can you help me, Please???? ::)
Link to comment
https://forums.phpfreaks.com/topic/19733-question-about-database-param/
Share on other sites

You mean these two:
[code]define('ROOT_DIR',    realpath(dirname(__FILE__)));

define('MP3FLASHLIST_DIR',ROOT_DIR."/uploads/playlist");[/code]
They should fine as they are. No need to tinker them. the only bit you might want to change is where it says '[i]"/uploads/playlist"[/i]'. WHat ever you are uploading will  be uploaded to '[your sites root dir)/uploads/playlist' (http://yoursite.com/uploads/playlist)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.