note 17006 added to function.include
| From: | steve at php2 dot chek dot com | Date: | Wed, 21 Nov 2001 23:12:36 +0000 |
| Subject: | note 17006 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21125@lists.php.net to get a copy of this message | ||
Okay, Lars Torben Wilson gets credit for
the right answer: use "fopen()" and
"fread()" instead of "include()". The
file is executed remotely, and anything
it prints comes back as text that can be
parsed into variables or whatever.
Thanks, Lars!
--
http://www.php.net/manual/en/function.include.php
http://master.php.net/manage/user-notes.php?action=edit+17006
http://master.php.net/manage/user-notes.php?action=delete+17006
http://master.php.net/manage/user-notes.php?action=reject+17006