Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 24th, 2005, 12:35 AM
Ken Loomis
Guest
 
Posts: n/a
Default 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.
  #2  
Old December 24th, 2005, 06:05 AM
Ken Loomis
Guest
 
Posts: n/a
Default 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.
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles