You are here: Accessing a file on a separate computer, not in the web directory « PHP Programming Language « IT news, forums, messages
Accessing a file on a separate computer, not in the web directory

Posted by Jerim79 on 08/13/07 19:38

Probably an incredibly simple answer, but I can't seem to phrase it so
a search engine can understand it.

I have a php script with a simple include:
include("/include_this.php")

I need to edit this so it accesses the file from another server. I
have tried:
include("http://192.168.1.1/include_this.php:)

But the file isn't in the web directory, which in this case is /usr/
local/apache/htdocs. It is one level above the web directory. I don't
know how to reference /usr/local/apache/include_this.php on another
linux server. I don't even know what the correct term or phrase would
be for this. Any help will be greatly appreciated.

 

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

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