Changeset 79


Ignore:
Timestamp:
Sep 2, 2009 1:05:10 PM (10 years ago)
Author:
prjemian
Message:

present the raw XML as the browser result

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 1dwg/trunk/php/xmlWriter/index.php

    r78 r79  
    7777                } 
    7878                if ($post['result_style'] == 'Raw XML') { 
     79                        header("Content-Type: text/html"); 
    7980                        print("<pre>\n"); 
    80                         print($result); 
     81                        print(htmlentities($result));                   //  "<" to "&lt;" and similar 
    8182                        print("</pre>\n"); 
    8283                } 
Note: See TracChangeset for help on using the changeset viewer.