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

Your name:

Reply:


Posted by nc on 12/03/05 19:44

If www.any1.com has a lib\file1.php, can someone at
www.any2.com include the script and access the items
in the script? Is it safely protected, or would we need
to handle such protections ourselves?

I.e.,

<?php include("http://www.any1.com/lib/file1.php");
// misc code which checks the defined variables...
echo(pw);
?>

I don't have a system right at the moment to test this.

Thanks, Ralph.

[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

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