Connecting Tech Pros Worldwide Help | Site Map

path to includes

Ken Loomis
Guest
 
Posts: n/a
#1: Dec 24 '05
Hello:

I can't seem to get the path to my include files right.
The php app sits in /var/www/html/myapp.
I have my include files in /var/www/includes.
I've tried every configuration of relative paths to get to them, but
nothing works. So I tried the absolute path like this
include("/var/www/includes/HtmlFooter.txt")
and that doesn't work. I've opened up the permissions all the way on
the path and file, but still no luck. I even tried putting the files
in "/usr/lib/myapp" and I still can't access them.

Does anybody know why this isn't working? Thanks.
Ken Loomis
Guest
 
Posts: n/a
#2: Dec 24 '05

re: path to includes


On Fri, 23 Dec 2005 19:26:31 -0500, <not_a_real_email@address.com>
wrote:[color=blue]
>I can't seem to get the path to my include files right.[/color]

OK. I got it. It was a permissions problem.
I guess I needed sleep.
Closed Thread