Page 1 of 1

including files

Posted: Fri Oct 28, 2005 1:48 pm
by Luke
I need to include a root file in a subdirectory file. I tried this...

Code: Select all

include("../functions.php");
and I tried this

Code: Select all

include("http://www.domain.com/functions.php");
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.

Posted: Fri Oct 28, 2005 1:54 pm
by hawleyjr
This question isn't much different than your other post:


viewtopic.php?p=211253&highlight=#211253

Posted: Fri Oct 28, 2005 1:57 pm
by Luke
yes... I guess you're right... but I never came back to that thread and didn't see the new posts... I'll try what it said.

I dont even remember what I ended up doing about that. I think I just abandoned the project lol.

Posted: Fri Oct 28, 2005 2:00 pm
by Burrito
Locked