Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > PHP 5 auto-htmlentitizing strings?
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 21st November 19:10
westonc
External User
 
Posts: 1
Default PHP 5 auto-htmlentitizing strings?



I just switched over an app from PHP 4 to PHP 5, and one of the weird
things I'm noticing initially is that some of the html output seems to
be html entitized. For example, a link that was showing up in html
output as:

"<a href="http://metaphilm.com/philm.php?id=29_0_2_0">Is Tyler Durden
Hobbes?</a>"

now gets transformed to:

&lt;a href="http://metaphilm.com/philm.php?id=29_0_2_0"&gt;Is Tyler
Durden Hobbes&lt;/a&gt;

No other changes in the PHP source -- just a change in the interpreter.

Any idea what could be causing this?

Thanks,

Weston
  Reply With Quote


 


2 21st November 19:11
mrclay
External User
 
Posts: 1
Default PHP 5 auto-htmlentitizing strings?



Nail down a reproducible case and start logging the string contents up
to the echo point. Read this very carefully:
http://docs.php.net/manual/en/migrat...compatible.php
get_class() returning the correct case bit me the most.
Steve
  Reply With Quote
Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Php 5 forum, Apache forum, Iis forum, Functions forum, Classes forum, Librarys forum, Bugs forum, Postgres forum, Mysql forum, Paradox forum, Ms sql forum, Configurations forum, Php.ini forum, Problems forum, Scripting forum, Css forum, General forums, Off-topic talk, Links, Extra forums, Php


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666