xmlСÎÊÌâÇó¾È! - PHP / »ù´¡±à³Ì
webservice ¸øÎÒÒ»¸ö µØÖ·£º http://www.xxxxxxxxxxxxxxx.aspx?... Ö±½ÓÔÚä¯ÀÀÆ÷ÊäÈëÕâ¸öµØÖ· £¬ ÏÔʾµÄÊÇXML¡£ ÎÒÏÖÔÚÏ£ÍûÓÃÎÒ×Ô¼ºµÄPHPÀï°ÑÕâ¸öXMLÊä³öÀ´£¬Ôõô°ì°¡£¿ ÎÒÈç¹ûÕâÑù£º header("Content-Type: application/xml"); print(http://www.xxxxxxxxxxxxxxx.aspx?...); È´»¹ÊÇÎÞ·¨Êä³öÄǸöXML£¬Firefoxϵõ½µÄÊÇ£º XML½âÎö´íÎó£ºÎ´×éÖ¯ºÃ IEϵõ½µÄÊÇ£º ÎÞ·¨ÏÔʾ XML Ò³ ÎÒÏÖÔÚÏ£ÍûÓÃÎÒ×Ô¼ºµÄPHPÀï°ÑÕâ¸öXMLÊä³öÀ´£¬Ôõô°ì°¡£¿
echo file_get_contents("http://www.xxxxxxxxxxxxxxx.aspx?...");ÒýÓà echo file_get_contents("http://www.xxxxxxxxxxxxxxx.aspx?..."); ..... header("Content-Type: application/xml"); echo file_get_contents(http://www.xxxxxxxxxxxxxxx.aspx?...); Êý¾ÝÊÇxml²¢²»´ú±íÊÇwebservice£¬webservice ÊÇ¿ÉÒÔ½»»¥µÄ¡£ Èç¹ûÊÇwebservice ×îºÃÓÃwebservice µÄ·½Ê½Á¬½Ó Ö»ÒªÏÔʾµÄ»°£¬Ö»ÐèÒªheader(location:http://www.xxxxxxxxxxxxxxx.aspx?...); ¾Í¿ÉÒÔÁË Èç¹ûÊDzâÊÔwebservice·µ»Ø»ØÀ´µÄÊý¾Ý£¬ÔòÐèÒª°Ñresponse¹ýÀ´µÄÊý¾Ýת³ÉhmtlÄܹ»ÏÔʾµÄ×Ö·û²ÅÐУ¬Õâ¸öתµÄº¯ÊýÊÇhtmlspecialchars() ÎÒÒ»°ãÓÃÏÂÃæµÄ´úÂë²âÊÔwebservice·µ»ØÀ´µÄÊý¾Ý echo (htmlspecialchars($soap->response,ENT_QUOTES)); Èç¹ûÏÔʾÂÒÂëµÄ»°£¬¼ÇµÃת»»±àÂë ѧϰ£¡£¡
Ïà¹ØÎÊ´ð£º
Private Sub Command1_Click() Dim MyString() As String Open "a.xml" For Binary As #1 ' ´ò¿ª¸Õ´´½¨µÄÎļþ¡£ ReDim MyString(LOF(1) - 1) Put #1, , MyRecord ' ¶ÁÈëËùÓÐ×Ö·ûµ½±äÁ¿ÖÐ ......
ĿǰÔÚÎ人ÕÒ¹¤×÷ ·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü »¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³ Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......
×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬ÔÀ´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨ ......
mssql_select_db("f1",mssql_connect("localhost","sa","sa")); mssql_select_db("f2",mssql_connect("192.168.0.1","sa","sa") ......
ÎÒ×î½üдÁ˸ömailÖ´ÐкóûÓгöÏÖ´íÎóÐÅÏ¢Ö´ÐÐÍê±ÏºóÓÊÏäÀﲢû·¢ËÍÓʼþ£¬Çë¸÷λ°ïÎÒ¿´¿´ ÎÒÓõĵÄÊÇiis smtp <?php $to = 'xueyuxia1988@sohu.com'; $subject = 'the subject'; $message = 'hello'; $ ......