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

Your name:

Reply:


Posted by Toby Inkster on 05/17/06 09:34

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");
?>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[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

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