Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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));
Èç¹ûÏÔʾÂÒÂëµÄ»°£¬¼ÇµÃת»»±àÂë

ѧϰ£¡£¡


Ïà¹ØÎÊ´ð£º

vb¶ÁÈ¡ÓÃwordת»»³ÉµÄxmlÀïµÄÊý¾Ý - VB / »ù´¡Àà

Private Sub Command1_Click()
Dim MyString() As String
Open "a.xml" For Binary As #1 ' ´ò¿ª¸Õ´´½¨µÄÎļþ¡£
ReDim MyString(LOF(1) - 1)
  Put #1, , MyRecord ' ¶ÁÈëËùÓÐ×Ö·ûµ½±äÁ¿ÖÐ ......

ÕÒ¹¤×÷ºÍ¶Ô¸ÕѧPHPµÄÅóÓѵÄÖÒ¸æ - PHP / ¿ªÔ´×ÊÔ´

ĿǰÔÚÎ人ÕÒ¹¤×÷  
·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ
Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü
»¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³
Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......

php¸újspÖ®¼äsession¹²ÏíµÄÎÊÌâ - Java / Web ¿ª·¢

×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔ­ÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬Ô­À´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨
......

phpÁª½Ó¶à¸öÊý¾Ý¿âµÄÎÊÌâ

mssql_select_db("f1",mssql_connect("localhost","sa","sa"));
mssql_select_db("f2",mssql_connect("192.168.0.1","sa","sa") ......

php mail - PHP / »ù´¡±à³Ì

ÎÒ×î½üдÁ˸ömailÖ´ÐкóûÓгöÏÖ´íÎóÐÅÏ¢Ö´ÐÐÍê±ÏºóÓÊÏäÀﲢû·¢ËÍÓʼþ£¬Çë¸÷λ°ïÎÒ¿´¿´
ÎÒÓõĵÄÊÇiis smtp
<?php
$to = 'xueyuxia1988@sohu.com';
$subject = 'the subject';
$message = 'hello';
$ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ