Hi,
I would very much appreciate some help with a script I've been working on which needs database access details, hence the need to require a file.
The script seems to be having problems with evaluating the file rather than requiring it (no fatal errors).
using
require({_COOKIE['cookiename']}/config.php");
I've stored the full path of the include directory in a cookie because I can't link relatively as the file to be included is in a directory below the one I'm working with.
What am I doing wrong, or is there in fact a better way to do this in the first place.
Thanks very much