Wrox Programmer Forums
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 7th, 2009, 02:57 PM
Registered User
 
Join Date: Dec 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using XML in PHP

Please tell me how to use an xml in php? And where it is applied?
 
Old December 13th, 2009, 09:54 PM
Authorized User
 
Join Date: Dec 2008
Posts: 50
Thanks: 1
Thanked 5 Times in 5 Posts
Default

you can use XML to send data to any other program, running on the same computer or other server/computer.

The function of XML is similar to CSV files but is more readable, structured and etc etc.

Before you can use(Parse) XML in your PHP you need a PHP library for XML installed on your server.

for PHP 4 you can use DOMXML(http://php.net/manual/en/book.domxml.php)

for PHP 5 you can use DOM(http://www.php.net/manual/en/book.dom.php)

you can ask your hosting if the library is installed or refer to http://uk.php.net/manual/en/function.phpinfo.php for more information.

Kind regards,





Similar Threads
Thread Thread Starter Forum Replies Last Post
CSV and XML with PHP NEO1976 PHP How-To 1 July 17th, 2006 02:33 AM
generating XML through PHP Ashleek007 Beginning PHP 1 January 27th, 2006 08:16 AM
XML generation from PHP Ashleek007 XSLT 0 January 23rd, 2006 08:27 AM
XML with php Ashleek007 XML 0 April 10th, 2005 10:30 AM
Cron with PHP + XML d912mv Linux 1 October 22nd, 2004 09:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.