Re: PHP include security
| From: | Micky Hulse | Date: | Sun, 18 Apr 2010 19:43:19 +0000 |
| Subject: | Re: PHP include security | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304185@lists.php.net to get a copy of this message | ||
On Sun, Apr 18, 2010 at 10:23 AM, Michiel Sikma <michiel@thingmajig.org> wrote:
> I would prefer to use include() since it runs the code in the same context,
> ...<snip>...
> with your data rather than printing it right away.
Thanks for the reply Michiel, I really appreciate it. :)
For some benchmarks on the different types of inclusion
functions/language constructs, this page has some good info:
<http://www.raditha.com/wiki/Readfile_vs_include>
The results are interesting.
Thanks again! Have an excellent day.
Cheers,
Micky