Login   Register  
PHP Classes
elePHPant
Icontem

File: simpleExample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Joe Bloggs  >  ArrayToXML  >  simpleExample.php  >  Download  
File: simpleExample.php
Role: Example script
Content type: text/plain
Description: Client Side Example - Simple
Class: ArrayToXML
Send and receive arrays as XML via HTTP
Author: By
Last change:
Date: 6 years ago
Size: 254 bytes
 

Contents

Class file image Download
<?php
require_once("./ArrayToXML.class.php");

$myArray = array( "name"=>"Joe""age"=>"36" );

$Request = new ArrayToXMLClient"./simpleServer.php"$myArray );

$responseArray $Request->getResponseArray( );

echo 
$responseArray['response'];