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

phpÖÐxml×·¼ÓÎÊÌâ

ÎÒÉú³ÉµÄxmlÊÇÕâÑùµÄ
<?xml version="1.0"?>
<message>
  <title>dd </title>
  <content>ee </content>
</message>
дÁËÕâÑùµÄÒ»¸öº¯Êý

xml('33','j33');
xml('dd','ee');
function xml($m_title,$m_content){

$doc = new DOMDocument('1.0');
$doc->loadXML('x.xml');
$doc->formatOutput = true;
$root = $doc->createElement('message');
$root = $doc->appendChild($root);

$title = $doc->createElement('title');
$title = $root->appendChild($title);

$title_text = $doc->createTextNode($m_title);
$title_text = $title->appendChild($title_text);

$content=$doc->createElement('content');
$content=$root->appendChild($content);

$text = $doc->createTextNode($m_content);
$text = $content->appendChild($text);

echo $doc->saveXML();
echo $doc->save('x.xml');

}
?>
¿ÉÊÇÎÒÏëÿ´Îµ÷ÓÃËüµÄʱºò£¬Êý¾Ý¿ÉÒÔÒ»Ö±ÍùÀïÃæ×·¼Ó£¬¶øÏÖÔÚȷʵÐÂÊý¾ÝÌæ»»ÁËÔ­À´µÄ
¹Ø×¢Ò»ÏÂ

ºÇºÇ~~~˼·ÓÐÎÊÌâ¡£¸ù¾ÝÄãµÄfunctionÿ´Î»áÖØÐÂÉú³ÉMESSAGE,²¢ÇÒ¸²¸ÇÔ­À´µÄÊý¾Ý¡£Èç¹ûÏëʵÏÖ×·¼ÓÊý¾Ý²¢ÇÒ²»¸²¸ÇÔ­À´±êÇ©ÄÚÈÝ£¬Ö÷±êǩдÔÚfunctionÍâ¡£²»Ã÷°×µØ·½ÔÙ¸úÌù˵Ã÷¡£¡£¡£¡£

1¡¢¶ÁÈ¡XMLÎļþÓà $doc->load('x


Ïà¹ØÎÊ´ð£º

¹ØÓÚ¡¡php webservice¡¡µÄÎÊÌâ - PHP / »ù´¡±à³Ì

¶Ôphp²»ÊǺÜÁ˽â дÁ˸ö¼òµ¥µÄÀý×Ó
ÏÖÓÃc#µ÷ÓÃphpдµÄ webservice£¨soap WSDL£©iis6.0+php5.2.8
webserviceÈçÏÂ
<?php
class WebService
{
  public function Logout()
  {
//header('Co ......

¸¶·ÑÇóÒ»¶Îphp´úÂ룬֧³ÖÌÔ±¦½»Ò× - PHP / Framework

¸÷λ´óÏÀ 
ÇóÒ»¶Îphp´úÂë 
¿ÉÒÔʵÏÖÒÔϹ¦ÄÜ 
Õë¶Ô²»Í¬µÄä¯ÀÀÆ÷ÏÔʾ²»Í¬µÄͼƬ 
¾ÍÊÇÓÐÒ»ÕÅͼƬ£¬Ö»Ïë¸øie6Óû§¿´µ½ 
Èç¹ûie7¡¢chrome¡¢firefoxÓû§ä¯ÀÀÔòÏÔʾÁíÍâÒ»ÕÅͼƬ  ......

¿Õ¼äÉÏphpÎļþ²»ÄÜä¯ÀÀ£¬ä¯ÀÀ¾ÍÏÂÔØphpÎļþ

ÔÚ¹úÍâµÄ¿Õ¼ä£¬ÆäËüµÄphpÕ¾µã¶¼Õý³££¬¿ÉÖ»ÓÐ×î½ü½¨µÄÕâ¸öÕ¾µã£¬Ö»ÒªÒ»ä¯ÀÀphpÎļþ¾Í³öÏÖÏÂÔØÌáʾ£¬ÏÂÔØÏÂÀ´µÄÎļþ¶¼ÊÇ´øÓÐphpÔ´Â룬¸÷λ·¹ýµÄ£¬°ï°ïÎÒ£¬¿´¿´Ê²Ã´Ô­Òò£¬ÏÈлÁË¡£
¿Õ¼ä²»Ö§³Ö¡£
»òÕßÄãµÄÕ˺ÅûÓп ......

ÈçºÎ¶¨ÆÚɾ³ýmysqlÊý¾Ý - PHP / »ù´¡±à³Ì

ÇëÎÊÏÂÄܲ»ÄÜÔÙwindows϶¨ÆÚÇå¿ÕmysqlÒ»¸ö±íÖеÄÈ«²¿Êý¾Ý£¬ÓÃPHPʵÏÖ£¡
лл¸÷λÁË
¾Í±ÈÈçÒ»¸öÐÇÆÚÇå¿ÕÒ»´Î
±ÈÈçÿ¸öÐÇÆÚÁùÁãµãÇå¿ÕÒ»´Î£¡
ллÁË

¼Æ»®ÈÎÎñ...php....sql...truncate....OK

Äã¾ÍÕâ½ÓÔÚҳà ......

Çó´ïÈ˽«Ò»¶ÎPHPת»¯ÎªASP£¬Ð»Ð»£¡ - Web ¿ª·¢ / ASP

´úÂëÈçÏ£º
function uc_get_user($username, $isuid=0) {
$return = call_user_func(UC_API_FUNC, 'user', 'get_user', array('username'=>$username, 'isuid'=>$isuid));
return UC_CONNECT == 'mysql' ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ