Login   Register  
PHP Classes
elePHPant
Icontem

File: mappoint/ClassLoader.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Carlos Machado  >  MapPoint PHP API  >  mappoint/ClassLoader.php  >  Download  
File: mappoint/ClassLoader.php
Role: Application script
Content type: text/plain
Description: Loads class definitions on demand
Class: MapPoint PHP API
Access MapPoint Web services
Author: By
Last change: Removed my MapPoint username and password :)
Date: 9 years ago
Size: 1,123 bytes
 

Contents

Class file image Download
<?php
/**
 * @author Carlos Jorge Machado Antunes <metator@netcabo.pt>
 * @version 1.0
 * @copyright Copyright 2005, Carlos Jorge Machado Antunes
 */

/**
 * WSDL file URL. Notice that the wsdl file was placed on the local server. 
 * This improves performance greatly. You should also check in your php.ini if 'soap.wsdl_cache_enabled' 
 * is enabled.
 */
define('WSDL_URL''http://localhost/mappoint/mappoint.wsdl');

/**
 * Your Mappoint Web Service username.
 */
define('MP_USER''your_username');

/**
 * Your Mappoint Web Service password.
 */
define('MP_PASS''your_password');

/**
 * Target namespace of Mappoint Web Service. Do not change this constant unless you know what you're doing.
 */
define('NAMESPACE_URI''http://s.mappoint.net/mappoint-30/'); 

/**
 * Proxy server URL. Do not add 'http://' prefix
 */
define('PROXY_HOST''a.proxyhost.com'); 

/**
 * Proxy port.
 */
define('PROXY_PORT'8080);

/**
 * Load class definitions on demand.
 *
 * @param string $className
 */
function __autoload($className) {
    require_once(
$className.'.class.php');
}
?>