Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

problem with "DEFINE"

Discussion in 'Programming' started by blackflow, Apr 1, 2011.

  1. blackflow

    blackflow New Member Webmaster

    I am integrating a file manager to my script but...

    The config. file (file manager) is dead simple and its included in several other files:

    define('BASEDIR', 'Q:\path_to folder\username');


    The thing is that I want to get the path form a database but I can't as far as it's define and not a normal variable...Is there any way to put a variable instead of that path without changing the "BASERDIR?

    appreciate your help.

Featured Resources (View All)

Share This Page