Õâ¸öÊÇʲô¸ñʽµÄxml?phpÈçºÎ¶ÁÈ¡?
1.xml
<shandong dn="day">
<city cityX="236" cityY="90" cityname="±õÖÝ" />
<city cityX="296" cityY="90" cityname="¶«Óª"/>
<city cityX="296" cityY="90" cityname="Çൺ"/>
</shandong>
ÈçºÎÓÃphp°ÑËû¶ÁÈ¡µ½Êý×éÀïÃæ?
¸øµÄ¾ÍÕâ¸ö¸ñʽ.
¸ßÊÖÖ¸µãÏ ¸ø¸öº¯Êý»òÕß½â¾ö·½·¨
²»ÏëÓà explode Ò»µãÒ»µãµÄ²ð·Ö
$xml = simplexml_load_string(iconv('gbk','utf-8',file_get_contents('1.xml')));
print_r($xml);
SimpleXMLElement Object
(
[@attributes] => Array
(
[dn] => day
)
[city] => Array
(
[0] => SimpleXMLElement Object
(
[@attributes] => Array
(
[cityX] => 236
&nbs
Ïà¹ØÎÊ´ð£º
¶Ôphp²»ÊǺÜÁ˽â дÁ˸ö¼òµ¥µÄÀý×Ó
ÏÖÓÃc#µ÷ÓÃphpдµÄ webservice£¨soap WSDL£©iis6.0+php5.2.8
webserviceÈçÏÂ
<?php
class WebService
{
public function Logout()
{
//header('Co ......
<!--¹ºÂòÊýÁ¿-->
<div class='buyinfo'>
<table width='auto'>
<tr>
<td><span>¹ºÂòÊýÁ¿£º</sp ......
ÇëÎÊÏÂÄܲ»ÄÜÔÙwindows϶¨ÆÚÇå¿ÕmysqlÒ»¸ö±íÖеÄÈ«²¿Êý¾Ý£¬ÓÃPHPʵÏÖ£¡
лл¸÷λÁË
¾Í±ÈÈçÒ»¸öÐÇÆÚÇå¿ÕÒ»´Î
±ÈÈçÿ¸öÐÇÆÚÁùÁãµãÇå¿ÕÒ»´Î£¡
ллÁË
¼Æ»®ÈÎÎñ...php....sql...truncate....OK
Äã¾ÍÕâ½ÓÔÚҳà ......
ÎÒ¸ÕѧϰphpÇëÎÊ£¬Èç¹ûÎÒ°ÑphpÎļþÉÏ´«ÖÁ·þÎñÆ÷ºó£¬ÀýÈçhttp://www.****.com/cast.phpÕâ¸öÎļþ»á²»»á±»±ðÈËÏÂÔØ»ò¸´Öư¢£¿
¿ÉÒÔ±»ÏÂÔØ£¬Ò²¿ÉÒÔ²»±»ÏÂÔØ£¬¿´web·þÎñÆ÷¶Ô¸ÃÎļþȨÏÞµÄÅäÖÃ
¿´Äã¶ÔÎļþȨÏÞµÄÉèÖÃ
......