note 11244 added to include
| From: | arlo at typea dot net | Date: | Mon, 12 Feb 2001 20:52:23 +0000 |
| Subject: | note 11244 added to include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10950@lists.php.net to get a copy of this message | ||
I can't do a "secure include", like:
include("https://secure.server2.com/myfile.txt")
but it appears that if I use include("http://www.server2.com/test.txt") in the
secure file https://secure.server1.com/test.php,
PHP grabs the text of the include file on port 443 (secure socket layer).
Can anyone confirm or deny this? Does this mean that includes are automatically "secure"
if called from a secure file? Do I need to worry about the security of included data when including
remote files?
Thanks much,
Arlo Leach
http://www.typea.net
http://www.php.net/manual/en/function.include.php