The simplest way to install PHPEclipse is to use the PHPEclipse update site. 继续阅读“Installation – PHPEclipse”
分类: php
PHPEclipse 官方网站
求关于php用WEBSERVICE 来做电信ISAG下行发短信的案例_百度知道
请问网路上各位PHP高手大哥,本人现在要做一个电信提供了接口,做一个ISAG下行,发送短信的客户端,不知如何做起,本人尝试过用SOAP来做,做不成功.以下是本人的程序:<!--more--><br>set_time_limit(0); <br>//ini_set("soap.wsdl_cache_enabled", "0");<br>$timestamp = date("mdhis");<br>$password = "1519xxxxxxxxx1".$timestamp;<br><br>$SOAP = new SoapClient("wsdl/NORTH/ctcc_sms_send_service_2_1.wsdl");<br>$xmlstr .="";<br>$xmlstr .="<?xml version=\"1.0\" encoding=\"UTF-8\"?>";<br>$xmlstr .="<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">";<br>$xmlstr .="<soapenv:Header>";<br>$xmlstr .="<ns1:RequestSOAPHeader soapenv:actor=\"http://schemas.xmlsoap.org/soap/actor/next\" soapenv:mustUnderstand=\"0\" xmlns:ns1=\"http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1\">";<br>$xmlstr .="<ns1:spId>15XXXX44</ns1:spId>";<br>$xmlstr .="<ns1:spPassword>".$password."</ns1:spPassword>";<br>$xmlstr .="<ns1:timeStamp>".$timestamp."</ns1:timeStamp>";<br>$xmlstr .="<ns1:productId>11500000000000XXXXX55</ns1:productId>";<br>$xmlstr .="<ns1:OA></ns1:OA>";<br>$xmlstr .="<ns1:FA></ns1:FA>";<br>$xmlstr .="<ns1:linkId></ns1:linkId>";<br>$xmlstr .="<ns1:SAN></ns1:SAN>";<br>$xmlstr .="</ns1:RequestSOAPHeader>";<br>$xmlstr .="</soapenv:Header>";<br>$xmlstr .="<soapenv:Body>";<br>$xmlstr .="<sendSms xmlns=\"http://www.chinatelecom.com.cn/schema/ctcc/sms/send/v2_1/local\">";<br>$xmlstr .="<addresses>tel:+8613xxxxxx551</addresses>";<br>$xmlstr .="<senderName>106XXXX8</senderName>";<br>$xmlstr .="<message>SOHU 彩信</message>";<br>$xmlstr .="<receiptRequest>";<br>$xmlstr .="<endpoint xmlns=\"\">http://61.135.132.206:8080/axis/services/SmsNotification</endpoint>";<br>$xmlstr .="<interfaceName xmlns=\"\">SendSms</interfaceName>";<br>$xmlstr .="<correlator xmlns=\"\">1224146261455</correlator>";<br>$xmlstr .="</receiptRequest>";<br>$xmlstr .="</sendSms>";<br>$xmlstr .="</soapenv:Body>";<br>$xmlstr .="</soapenv:Envelope>";<br><br>//echo $xmlstr;<br><br>$te2 = array("spId"=>"15xxxx4","spPassword"=>md5($password),"timeStamp"=>$timestamp,"productId"=>"115000xxxxxxxxxxx5");<br>$SOAPHEADER = new soapheader('http://soapinterop.org/echoheader/',"RequestSOAPHeader",$te);<br><br>$te = array("addresses"=>"tel:+86135xxxxx551","senderName"=>"106xxxx8","message"=>"test");<br>$SOAP ->__soapCall("sendSms" , $te);
能讲具体点吗,谢谢
php调用电信isag的方法_网络小农_新浪博客
php在创建或调用webservice方面太差了,这几天在调用电信isag接口发送短信的时候是深有体会啊,当时因为懒得装java的运行环境放弃使用java改用php,现在想想太后悔了。下面是php通过socket调用isag接口发送短信的例子: 继续阅读“php调用电信isag的方法_网络小农_新浪博客”
利用php soap实现web service – 最简单的就是最好的 – 博客园
php有两个扩展可以实现web service,一个是NuSoap,一个是php 官方的soap扩展,由于soap是官方的,所以我们这里以soap来实现web service.由于默认是没有打开soap扩展的,所以自己先看一下soap扩展有没有打开。
在soap编写web service的过程中主要用到了SoapClient,SoapServer,SoapFault三个类。 继续阅读“利用php soap实现web service – 最简单的就是最好的 – 博客园”
nuovo/vCard-parser
Easier and more concise vCard (.vcf) parser for PHP
http://nuovo.lv/
from:
php生成二维码方法及二维码名片的生成格式vcard介绍 | 志文工作室
- 1. 二维码简介
- 1.1. 二维码分类 继续阅读“php生成二维码方法及二维码名片的生成格式vcard介绍 | 志文工作室”