Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Networkprotocols/XML - SAVE ME!!

Name: Anonymous 2012-03-17 13:54

This is part of an assignment that is due tomorrow and is worth 20% of the credit of the entire curriculum. My eternal gratitude is given to those who can help me with this.



Draw a schematic, including mac- and ip-adresses of your pc and gateway, using your knowledge of ARP as a foundation.

Describe the layeredness of the TCP/IP model. Take MSN Messenger as an example, and show all the layers that are integrated in this.

Using PHP, create a page on your website where the following data is displayed clearly.

<?php

$xml = <<<XML
<?xml version='1.0' standalone='yes'?>
<messages>
    <message>
        <from>John</from>
        <to>Mark</to>
        <subject>Party</subject>
        <date>11-04-2010 13:22:55</date>
        <body>The <bold>party</bold> is this weekend!</body>
    </message>
</messages>   
XML;

$results = new SimpleXMLElement($xml);

echo '<h2>My text messages - 2</h2>';

echo ($results->message[0]->from . '<br/>');             // "John"
echo ($results->message[0]->to . '<br/>');             // "Mark"
echo ($results->message[0]->subject);                 // "Party"

//etc..
 
?>





Please. SAVE ME!!

Name: Anonymous 2012-03-18 10:27

You are all useless!

Name: Anonymous 2012-03-19 16:06

no-one would ever user this method to display xml.  using <<< >>> is bad practice.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List