The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “CPA

problem with "DEFINE"

blackflow

New Member
affiliate
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:

<?php
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.
 
banners
Back