ID:               30728
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sa1230usr at libero dot it
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: Windows Xp
 PHP Version:      5.0.2
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Not a bug, read about htmlspecialchars().


Previous Comments:
------------------------------------------------------------------------

[2004-11-09 06:55:02] sa1230usr at libero dot it

Description:
------------
When i read an html file with fread and inside that file there is a
<textarea> tag than isn't possible to print(echo) the variable filled
with fread inside another <textarea> tag cause the tag </textarea> in
the variable close the <textarea> tag where is going to be printed!

Reproduce code:
---------------
$MyText='<textarea>MyTest</TextArea><br><input type=text>Not into the
textarea tag!'

<textarea> echo $MyText;</textarea>

Expected result:
----------------
The variable $MyText should be fully showed inside the <textarea> tag
also if contain tags of the same type.

Actual result:
--------------
It happend that variable $MyText isn't fully printed into <textarea>
tag but it stop when is printed </textarea> tag.
The rest will be showed like normal html.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30728&edit=1

Reply via email to