path to includes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ken Loomis

    path to includes

    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

    #2
    Re: path to includes

    On Fri, 23 Dec 2005 19:26:31 -0500, <not_a_real_ema il@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.

    Comment

    Working...