¹ØÓÚ¡¡php webservice¡¡µÄÎÊÌâ - PHP / »ù´¡±à³Ì
¶Ôphp²»ÊǺÜÁ˽â дÁ˸ö¼òµ¥µÄÀý×Ó
ÏÖÓÃc#µ÷ÓÃphpдµÄ webservice£¨soap WSDL£©iis6.0+php5.2.8
webserviceÈçÏÂ
<?php
class WebService
{
public function Logout()
{
//header('Content-type: text/xml;');
return array("LogoutResult"=>array("1"));
}
}
$server = new SoapServer("WebService.wsdl");
$server->setClass("WebService");
$server->handle();
?>
c#ÈçÏÂ
WebService ws = new WebService();
return dws.Logout();
´íÎó
¿Í»§¶Ë·¢ÏÖÏìÓ¦ÄÚÈÝÀàÐÍΪ¡°text/html¡±£¬µ«Ó¦Îª¡°text/xml¡±¡£
ÇëÇóʧ°Ü£¬´íÎóÐÅϢΪ:
--
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://sunity.org/"><SOAP-ENV:Body><ns1:LogoutResponse><ns1:LogoutResult><ns1:anyType>1</ns1:anyType></ns1:LogoutResult></ns1:LogoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
ÕâÖÖÇé¿öÓмû¹ýµÄÂð£¿
¸Äд³ÉÕâÑù
public function Logout()
{
header('Content-type: text/xml;');
return array("LogoutResult"=>array("1"));
}
ҲûÓÃ
²»ÊǸÃÈçºÎÐÞ¸ÄÏìӦͷ
iisÖÐ×Ô¶¨Òå£È£Ô£Ô£ÐÍ·Ò²²»¶Ô
´íÎó:¿Í»§¶Ë·¢ÏÖÏìÓ¦
Ïà¹ØÎÊ´ð£º
ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£
ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......
¸÷λºÃ,ÏÖÔÚÍøÂçÉÏÖ÷Á÷µÄphp CMSÏñµÛ¹ú,phpcms,Ö¯Ãεȶ¼ÊÇÉú³É¾²Ì¬Ò³ÃæµÄ,¶¼ÊDzÉÓÃÄ£°å,¸ÄÆðÀ´±È½Ï³ÔÁ¦,ÓÐûÓÐÄÇÖÖ¶¯Ì¬µÄ,¸ÄÆðÀ´·½±ãµãµÄ.. лл¸÷λÁË
ÄãÔÚºǫ́ÉèÖÃһϲ»Éú³É¾²Ì¬Ò³Ã棬²ÉÓö¯Ì¬ä¯ÀÀµÄ·½Ê½¾Í¿ÉÒÔÁ ......
<html>
<head>
<title>hello </title>
</head>
<body>
<input type="button" value="Click" onClick=" ......
ÕÐƸ
¹«Ë¾Ãû³Æ ʤÐÐÈí¼þ£¨ÉîÛÚ£©ÓÐÏÞ¹«Ë¾
ְλÃû³Æ PHP³ÌÐòÔ±
ÕÐƸÈËÊý 3-5
¹¤×÷µØµã ÉîÛÚÊÐÁú¸ÚÇøºá¸ÚËÄÁªÐÂÑÇÖ޹㳡ÐÂÐãÔ·B2-201
нˮ´ýÓö 4k-10k
ְλÃèÊö Ö÷Òª¸ºÔð¶ÔÈÕÍâ°üÏîÄ¿µÄÉè¼Æ£¬±àÂëºÍ ......
ÓÐasp»ù´¡ ¸Ð¾õvbsÓÃ×ÅÂù±ðŤµÄ תphpËãÁË
php100ÍøÕ¾¿´¿´ÀïÃæµÄÊÓƵ½Ì³Ì£¬ÊéÍƼöphpºÍmysql web¿ª·¢µÚËÄ°æ
phpÓï·¨Êֲᣡ£¡
ÔÚÍøÉÏÏÂÔØһЩµç×ÓÊé¾ÍÐÐÁË ºÃÈÝÒ×ÈëÃŵÄ
phpºÍmysql web¿ª·¢µÚÎå°æ
......