Connecting Tech Pros Worldwide Help | Site Map

path to includes

  #1  
Old December 24th, 2005, 12:35 AM
Ken Loomis
Guest
 
Posts: n/a
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.
  #2  
Old December 24th, 2005, 06:05 AM
Ken Loomis
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set path to the WebForm JavaScript file Mike answers 7 October 28th, 2007 05:35 PM
Find Path To Client Application moongirl answers 3 May 18th, 2007 05:45 PM
SSI: path to file Frances Del Rio answers 10 July 24th, 2005 12:47 AM
what do I set my allowed_include path to? lawrence answers 1 July 17th, 2005 02:09 AM