Edit report at https://bugs.php.net/bug.php?id=65662&edit=1
ID: 65662 Updated by: requi...@php.net Reported by: mbiama at angosso dot com Summary: root files cpanel -Status: Open +Status: Feedback Type: Bug Package: Apache2 related Operating System: Ubuntu/linux/Apache/php PHP Version: 5.5.3 Block user comment: N Private report: N New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. You've given no description of what the supposed bug is and the code you've provided is indecipherable and invalid. Previous Comments: ------------------------------------------------------------------------ [2013-09-12 15:27:05] mbiama at angosso dot com Description: ------------ <?php include 'http://www.exemple.com/file.php/.?root=1&bar=2'; $root = 1; $bar = 2; $(function() { $root = include 'return.php'; echo $root; // prints 'PHP' $bar = include 'noreturn.php'; echo $bar; // prints 1 $string = get_include_contents('somefile.php'); ? Expected result: ---------------- <?php include 'http://www.nav.com/file.php/./?root=1&bar=2'; $root = 1; $bar = 2; $(function() { $("#wb_element_instance599").children("ul").children().each(function() { if ($(this).children("ul").size() == 0) return; $(this).hover(function() { $(this).children("ul").css({display: "block"}); }, function() { $(this).children("ul").css({display: "none"}); }); }); }); include 'file.txt'; // id="wb_element_instance601" class="wb_element"; include 'file.php'; // ul class="hmenu"; <?php include dirname(__FILES__).'/uk.zyro/<li class='active'><a href='HOME/' target='_self' title='HOME'>HOME</a></li>'; ?> <?php include dirname(__FILES__).'/uk.zyro/<li class='active'><a href='ROOMS/' target='_self' title='ROOMS'>ROOMS</a></li>'; <?php include dirname(__FILES__).'/uk.zyro/<li class='active'><a href='RESERVATIONS/' target='_self' title='RESERVATIONS'>RESERVATIONS</a></li>'; ?> <?php include dirname(__FILES__).'/uk.zyro/<li class='active'><a href='CONTACTS/' target='_self' title='CONTACTS'>CONTACTS</a></li>'; ?> <?php include dirname(__FILES__).'/uk.zyro/<li class='active'><a href='SITEMAP/' target='_self' title='SITEMAP'>SITEMAP</a></li>'; ?> <?php include dirname(__FILES__).'/uk.zyro/<li class='active'><a href='AFFILIATE/' target='_self' title='AFFILIATE'>AFFILIATE</a></li>'; ?> <?php include dirname(__FILES__).'/uk.zyro/<li class='active'><a href='MEDIAS/' target='_self' title='MEDIAS'>MEDIAS</a></li>'; ?> if ((include 'vars.php') == 'OK') { echo 'OK'; } $root = include 'return.php'; echo $root; // prints 'PHP' $bar = include 'noreturn.php'; echo $bar; // prints 1 $string = get_include_contents('somefile.php'); function get_include_contents($filename) { if (is_file($filename)) { ob_start(); include $filename; return ob_get_clean(); } return false; } ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65662&edit=1