You are here: Re: Including a .php file from another server? « PHP Programming Language « IT news, forums, messages
Re: Including a .php file from another server?

Posted by juglesh on 09/25/05 19:01

If you want to run the included code on your server (like access a db
or files on the including server with this included script) you could
try a non standard ext. so, try including
anotherserver.com/includedscript.blah. The disadvantage here is that
someone could access www.anotherserver.com/includedscript.blah and see
your code, so you cant have anything secret on it. You might work
around this by using .htaccess on anotherserver.com to allow this
script only from your including server...but, I really dont know the
ins and outs of doing that.

--
juglesh

 

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

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