|
Posted by Jacques Jamain on 05/17/06 18:06
hi,
Toby Inkster wrote:
> Jacques Jamain wrote:
>
> > yes, I know that, but my point is (was after a bypass) "is it possible
> > to have a php directive like <?php include('fn.php') ?> processed on
> > the server within a php execution?".
>
> Yes it is:
>
> Call this file "foo.php", save it to your server and visit it:
>
> <?php
> global $foocount;
> $foocount++;
> print "This file has been included recursively $foocount times<br>\n";
> if ($foocount < 100)
> include("foo.php");
> ?>
>
>
great and so simple... often you search for complicated methods when
it's obviously under your eyes.
Many thanks for this kind solution.
Navigation:
[Reply to this message]
|