|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-07-23 01:56 UTC] aharvey@php.net
[2012-07-23 01:56 UTC] aharvey@php.net
-Status: Open
+Status: Feedback
-Package: Performance problem
+Package: Scripting Engine problem
[2012-07-23 02:12 UTC] brandonskypimenta at gmail dot com
[2012-07-23 02:12 UTC] brandonskypimenta at gmail dot com
-Status: Feedback
+Status: Closed
[2012-07-23 02:25 UTC] aharvey@php.net
-Status: Closed
+Status: Not a bug
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Apr 02 08:00:01 2026 UTC |
Description: ------------ When running a script that is external (including it into another PHP file) opening that file will result in that external PHP being rendered as HTML text on the screen. Test script: --------------- (This is not a test script. It is an attempt to make a MediaWiki extension.) $wgExtensionCredits['validextensionclass'][] = array( 'path' => __FILE__, 'name' => 'Vote Pages', 'url' => 'https://www.mediawiki.org/wiki/Extension:VotePage', 'description' => 'Allows unregistered and registered users to vote pages', 'version' => 1.0, ); $rate = '<iframe frameborder="0" src="rate.html" height="91">' return $rate; Expected result: ---------------- The external PHP script should have ran. Actual result: -------------- It displays the code and any HTML that has been used in the external PHP file will be displayed instead.