Reply to Re: php within dhtml, is that possible?

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация