Jump to content

binggeli

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by binggeli

  1. OKAY, I am usually quite versatile when it comes to making things work, but right now I'm stuck: How do I gain access to TCH's SOAP and PEAR files/directories? Ultimately, I need to get the PayPal API to work on TCH, but right now, I'm just looking for an actual working example from someone who was able to get PEAR::SOAP to work at TCH. S C E N A R I O : My PHP include files are in a local directory, so I altered the include_path by way of .htaccess like so: php_value include_path ".:/usr/lib/php:/usr/local/lib/php:/home/myaccount/public_html/ih/inc" (That leaves the original TCH include path intact, right? And just adds mine to the list, right?) Next, I create a test file (soap_01.php) like so: <?php // Load the PEAR::SOAP client class require_once 'SOAP/Client.php'; // Read the GlobalWeather WSDL document $wsdl = new SOAP_WSDL('http://live.capescience.com/wsdl/GlobalWeather.wsdl'); ?> And here's where I get all the problems and errors. Cannot find Client.php . . . and so forth. Once I had all the PEAR::SOAP files in my local include directory, but then I got errors asking for the base PEAR files. Do I really have to upload all of the PEAR files myself? Or is there a global repository at TCH that I can access? And has anyone successfully gotten this to work in PHP? Would anyone be able to share an example with me? Please? Thanks much, Dee PS: I'm on Server14 if that helps. Edit: TCH-Bruce - removed account info
×
×
  • Create New...