note 48267 added to function.require
| From: | php-general at lists dot php dot net | Date: | Fri, 17 Dec 2004 11:07:02 +0000 |
| Subject: | note 48267 added to function.require | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81900@lists.php.net to get a copy of this message | ||
Is it possible to read the contents of a remote require()'ed file? And if yes, how?
eg:
<?php
require(http://www.example.com/test/test.inc.php);
?>
How can I read the contents of http://www.example.com/test/test.inc.php ?
----
Manual Page -- http://www.php.net/manual/en/function.require.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48267
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48267&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48267&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48267&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48267&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48267&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48267&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48267&report=yes
Search -- http://master.php.net/manage/user-notes.php