Scott tutorialtoday.com

Joined: 24 Mar 2005 Posts: 2600 Location: Mississauga, Ontario
|
Posted: Sat Dec 08, 2007 6:46 pm Post subject: Parse newlines of an XML file in PHP? |
|
|
http://www.php.net/xml
I developed a script in PHP 5 and am testing in PHP 4 and it doesn't parse an XML file properly in PHP 4.
I have this option set but it seems like PHP 4 ignores it.
| Code: | | xml_parser_set_option($xml_parser, XML_OPTION_SKIP_WHITE, FALSE); |
I have looked around and found that a lot of people have experienced this problem, is there any solution to it in PHP 4? It is skipping the newlines, which messes up when I go to unserialize() information. _________________ Tutorial Management Script - Version 1.3 Released
TutorialToday - Up and running, submit your tutorials!
Linux Tutorials - Coming Soon |
|