Posted by Curtis.DanielN on 09/19/06 20:05
You will need to set the header :
<?php
header("Content-Type: text/xml");
?>
the header has to be set in order to specify that you will be writing
xml.
When you want to print something like the ip do this:
<ipaddress><?php echo $_SESSION["IPADDRESS"];?></ipaddress>
After the header is set and you escape from php you'll just be creating
regular xml tags and printing using php when you need to....I hope that
helps
Daniel
Navigation:
[Reply to this message]
|