You are here: Re: Run PHP scripts outside of the web directory « PHP Programming Language « IT news, forums, messages
Re: Run PHP scripts outside of the web directory

Posted by Willem Bogaerts on 02/13/07 15:48

Aggelos wrote:
> Hello,
> Is it possible to run a script that will be used from all the websites
> on the server outside of the web dir ?
> At the moment for every site I have I upload the script in the web dir
> of the specific site...
>
> Specifically it is a RichEditor so it has javascripts as well ...
> But it is difficult to maintain updates of the script to all websites
> so I would prefer if I had only one place to update it...
>
> Any ideas will be appreciated.

As it contains javascript, I understand that it has to be
browser-accessible. In that case, and since you are running unix, I
think a symbolic link is the easiest way.

Another approach is to share the directory in a source code control
system (subversion, for instance), but this will result in physical
multiple copies.

Best regards
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/

 

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

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