PHP -> XML output is different on IE -


I am trying to output XML with PHP but faced with a weird (!) Error in Internet Explorer .

The expected XML output is: (Simplified)

  & lt; Root & gt; & Lt; Match_id & gt; 12 & lt; / Match_id & gt; & Lt; Stadium_id & gt; 43 & lt; / Stadium_id & gt; & Lt; Tribune_id & gt; 2 & lt; / Tribune_id & gt; & Lt; Fan_id & gt; 453 & lt; / Fan_id & gt; & Lt; / Root & gt; I am producing this output with the following PHP code:  
  echo " GetId (); Echo " <43 stadium_id> 43 & lt; / stadium_id & lt; tribune_id & gt; 2 & lt; / tribune_id & gt; & lt; fan_id & gt; . $ _ Session ['user_id'] ". & Lt; / fan_id & gt; & lt; / root & gt;";  

In Firefox, the output is similar to expected, however, in IE, the output is:

   

This is a very annoying error. I have set the PHP header for the XML output, and lots of other things change but this can not work

$ match->. GetId () is just returning the part is an integer but IE always shows this value as 0. If I & lt; Fan_id & gt; and & lt; Match_id & gt; Manually set,

Anyway, I am using this XML output in Flash (AS3) and it also shows the same results with IE.

Am I doing wrong?

After "text" itemprop = "text">

It looks like this does not cause inter-IE session user ID storage due to such sessions. Similarly, $ match-> GetId () is actually 0 - I think you will get the same results using a web browser on Chrome or Safari or any other computer.

Another thing: a PHP session cookie can not be sent to the server on a Flash request - which will match IE behavior / a valid session.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -