#39772 [NEW]: Some php tags displayed in window
From: sgaughan at aamatrix dot com
Operating system: Windows Xp /W Apachie
PHP version: 5.2.0
PHP Bug Type: Unknown/Other Function
Bug description: Some php tags displayed in window
Description:
------------
PHP outputs php code and does not execute it in some situations.
It appears to happen alot with ?> ending php scripts.
Sorry, I see this bug has been summited but I dont see a real logical
answer.
Looks like one of the entries was just spam, and the other one said the
problem should be fixed but did not say much else.
Like, how to patch my php or what version the problem is fixed in.
I am at work, and can not access outside CVS or SVNS due to a firewall =(
Reproduce code:
---------------
Running Media Wiki,
The code >? is outputted to my browser.
Today I installed php 5.2 and Apache on another server and I first noticed
this same issue with my email script
the echo or the object was causing the php to output my code to the
browser.
The Media Wiki, I did not write, so I don't know what that issue is, but
according to Wiki it should work on 5.0x of php.
Any ways I did write my email script code and It was doing the same thing.
outputting parts of the php code.
Expected result:
----------------
PHP Code to Execute and browser to not be filled with code =)
Actual result:
--------------
Browser is displaying some of the code and causing applications to fail.
--
Edit bug report at http://bugs.php.net/?id=39772&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39772&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39772&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39772&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39772&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39772&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39772&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39772&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39772&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39772&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39772&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39772&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39772&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39772&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39772&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39772&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39772&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39772&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39772&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39772&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39772&r=mysqlcfg
Thread (4 messages)
- sgaughan at aamatrix dot com