NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHP and SOAP


Joined: 12 Feb 2010
Posts: 2
Reply with quote
I have been having problems getting the calls to a soap server working on my PC. but the same code will work on another PC. This is the bit that needs to be changed for it to work
<?php

this is how it was (Not working)
require_once('../lib/nusoap.php');

and this is the change to get it to work
require_once('C:/Apache2.2/htdocs/lib/nusoap.php');

$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';

am I missing something from one of the ini/config files
By the way it was only thanks to PHPEd in debug that I found this.
Many thanks
Slim
View user's profileFind all posts by HairyApeSend private message


Joined: 29 Jun 2009
Posts: 26
Reply with quote
Assuming your script is being ran out of C:/Apache2.2/htdocs and not some subdirectory of the htdocs directory, you should be able to refer to a relative path from there.

require_once('lib/nusoap.php');
View user's profileFind all posts by DracosSend private message


Joined: 12 Feb 2010
Posts: 2
Reply with quote
Dracos. Thanks for the reply. Yes it is in that directory but it still is unhappy.
Thanks again
Slim
View user's profileFind all posts by HairyApeSend private message
PHP and SOAP
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic