Vulcan Logic SRM  

SRM - Documentation


^ SRM Documentation
^ User documentation

- PHP goes to the enterprise level
- Features
- Using the extension
- Bananas
- FAQ
- Support

Chapter 4. Bananas

Using Bananas

Example 4-1. Example: Using Bananas from a client side script

<?php
    
/* Starting a connection to the SRM daemon */
    
$srm = new SRM ('localhost'7777);
    
$app = new SRMApp ($srm'Uptime');

    echo 
$app->new_uptime ();

    echo 
$app->uptime."\n";

    
$app->count2 100;

?>

Prev: Using the extension Next: Writing Banana components


© 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by The Vulcan Logic Group