commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / tools / bin / scripts / soapClient.php.txt
1 <?php
2
3 $client =& new SoapClient(null, array(
4 'location' => 'http://civicrm1.electricembers.net/~lobo/drupal/modules/civicrm/extern/soap.php',
5 'uri' => 'urn:civicrm', 'trace' => 1 )
6 );
7
8 $key = $client->authenticate( USER_NAME, USER_PASSWORD );
9 $params = array('contact_id' => 101,
10 'return.display_name' => 1 );
11
12 $result =& $client->get_contact( $key, $params );
13
14 print_r($result);
15
16