/[drupal]/contributions/modules/secondlife/secondlife.module
ViewVC logotype

Diff of /contributions/modules/secondlife/secondlife.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4.2.2, Tue Dec 16 03:37:52 2008 UTC revision 1.4.2.3, Tue Dec 16 16:05:54 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  // $Id$  // $Id: secondlife.module,v 1.4.2.2 2008/12/16 03:37:52 kbahey Exp $
4    
5  define('SECONDLIFE_LINDEN_SERVERS', '8.2.32.0/22,63.210.156.0/22,64.129.40.0/22,64.129.44.0/22,64.154.220.0/22,8.4.128.0/22,8.10.144.0/21,216.82.0.0/18');  define('SECONDLIFE_LINDEN_SERVERS', '8.2.32.0/22,63.210.156.0/22,64.129.40.0/22,64.129.44.0/22,64.154.220.0/22,8.4.128.0/22,8.10.144.0/21,216.82.0.0/18');
6    
# Line 312  function secondlife_rpc ($channel, $intV Line 312  function secondlife_rpc ($channel, $intV
312    fclose($socket);    fclose($socket);
313    
314    // parse out the returned data    // parse out the returned data
315    $sVal = get_data_between($response, 'StringValue</name><value><string>','</string>');    $sVal = secondlife_get_data_between($response, 'StringValue</name><value><string>','</string>');
316    $iVal = get_data_between($response, '<value><int>','</int></value>');    $iVal = secondlife_get_data_between($response, '<value><int>','</int></value>');
317    
318    // return the response data in an array    // return the response data in an array
319    return array('channel' => $channel, 'string' => $sVal, 'integer' => $iVal);    return array('channel' => $channel, 'string' => $sVal, 'integer' => $iVal);

Legend:
Removed from v.1.4.2.2  
changed lines
  Added in v.1.4.2.3

  ViewVC Help
Powered by ViewVC 1.1.2