including files
Posted: Fri Oct 28, 2005 1:48 pm
I need to include a root file in a subdirectory file. I tried this...
and I tried this
Both throw errors. How do I include it?
The file I am including it into is like this...
/admin/file.php
and the file that is included is like
/functions.php
It's making me mad.
Code: Select all
include("../functions.php");Code: Select all
include("http://www.domain.com/functions.php");The file I am including it into is like this...
/admin/file.php
and the file that is included is like
/functions.php
It's making me mad.