Jump to content


Photo

Question about database param


  • Please log in to reply
1 reply to this topic

#1 helpmeplease1234

helpmeplease1234
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 05 September 2006 - 04:32 AM

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

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 05 September 2006 - 11:55 AM

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

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users