Jump to content

Archived

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

helpmeplease1234

Question about database param

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???? ::)

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

×

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.