Reply to Re: Is a .php file protected from inclusion in outside domains?

Your name:

Reply:


Posted by NC on 12/04/05 00:19

nc wrote:
>
> If www.any1.com has a lib\file1.php, can someone at
> www.any2.com include the script

Yes.

> and access the items in the script?

No.

> include("http://www.any1.com/lib/file1.php");

This is equivalent to

readfile("http://www.any1.com/lib/file1.php");

in that only the script's output (but not its internal environment)
will be captured.

Cheers,
NC

[Back to original 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

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