You are here: Re: require("common/latest.php") across multiple websites « PHP Programming Language « IT news, forums, messages
Re: require("common/latest.php") across multiple websites

Posted by Chung Leong on 01/20/06 15:45

Jim Carlock wrote:
> I've set up the following using an Alias in Apache...
>
> Alias /phpdocs/ "C:/Apache/htdocs/common/docs/php/"
> <Directory "C:/Apache/htdocs/common/docs/php">
> Options Indexes FollowSymlinks MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> It works well for HTML, all sites have access to the information.
> I want to extend that to PHP require() and include() functions,
> however the following maps out to an incorrect folder. Okay,
> that's fine. My questions include, does PHP provide something
> that maps out to the Apache Alias directive?

http://fi.php.net/apache-lookup-uri/

 

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

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