Bug #65662 [Fbk->NoF]: root files cpanel

From: Date: Tue, 15 Oct 2013 11:54:49 +0000
Subject: Bug #65662 [Fbk->NoF]: root files cpanel
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182266@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65662&edit=1 ID: 65662 Updated by: php-bugs@lists.php.net Reported by: mbiama at angosso dot com Summary: root files cpanel -Status: Feedback +Status: No Feedback Type: Bug Package: Apache2 related Operating System: Ubuntu/linux/Apache/php PHP Version: 5.5.3 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2013-09-12 17:16:55] requinix@php.net 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. ------------------------------------------------------------------------ [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

« previous php.bugs (#182266) next »