如何添加Spread Web服务到我的PHP项目?
     - 
         开启SOAP拓展模块,
 浏览phpinfo信息页面,SOAP的安装状态如下图所示:
  
 如果SOAP是在“enable”的状态,您不需要执行这些步骤.
         
             以下是windows环境下开启SOAP模块的操作:
         - 
             打开php.ini文件,找到节点extension=php_soap.dll把前面的; 去掉,如果没有该节点这添加该文本.
             
 
- 
             在php.ini文件中找到extension_dir= 节点,打开对应的目录文件夹查看是否存在soap.dll文件.
         
 
- 
             如果不存在,则需下载soap.dll文件保存在该文件夹下,重启web server,重新查看phpinfo中的soap的设置.
         
     - 
         例:
 如何获取接口链接 : 登陆你的Spread账号 -> 我的账号 -> 应用程序接口 ->接口链接
 
              $APIUrl = "http://service.rspread.com/Service.asmx"
$client = new SoapClient($APIUrl."?WSDL");
$arrayPara = array('loginEmail'=>'test@reasonables.com','password'=>'your api key','subscriberEmail'=>'customer11@reasonables.com', 'subscription'=>'SeedList','optInType'=>'Off');
$result = $client->addSubscriberByEmail($arrayPara);