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
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)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.