You are here: path to includes « PHP Programming Language « IT news, forums, messages
path to includes

Posted by Ken Loomis on 11/17/91 11:35

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация