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

ÔÚphpÖÐÊä³öxml

<?php
header('Content-type: text/xml');
echo '<?xml version="1.0" encoding="GBK" ?>';
echo '<users>';
echo '<user>';
 echo '<name>'; echo 'СС²ËÄñ';
   echo '</name>';
   echo '<age>';
    echo '24';
   echo '</age>';
   echo '<sex>';
    echo 'ÄÐ';
   echo '</sex>';
echo '</user>';
echo '<user>';
   echo '<name>';
    echo 'ÑÞÑÞ';
   echo '</name>';
   echo '<age>';
    echo '23';
   echo '</age>';
   echo '<sex>';
    echo 'Å®';
   echo '</sex>';
echo '</user>';
echo '</users>';
?>


Ïà¹ØÎĵµ£º

php±àÒëgd³ö´í!(Òѽâ¾ö)

php±àÒëgd³ö´í!(Òѽâ¾ö)
ÔÚ32λubuntu9.04ÉϱàÒëphp5.2.12,µ½gdʱmake³ö´í:
ext/gd/libgd/.libs/gd_png.o: In function
`php_gd_gdImageCreatefromPngCtx':
/home/test/php-5.2.12/ext/gd/libgd/gd_png.c:142: undefined reference to
`png_check_sig'
collect2: ld returned 1 exit status
make: *** [sapi/cli/p ......

ÎÒµÄ2009Ä깤×÷¾­ÑéС½á(php³ÌÐòÔ±)

תÑÛÓÖÊÇÒ»Äê¹ýÈ¥ÁË£¬Ëƺõ£¬×î½üÎåÁùÄêÀ´£¬Ò»Ö±¶¼¹ýµÃ²»ÄÇô˳Àû£¬½ñÄ껹ËãÊDz»´í£¬ÖÁÉÙ£¬ÔÚ¿Í»§¡¢ÀÏ°åºÍͬʵİïÖúÏ£¬Ò»ÄêµÄ¹¤×÷£¬ÖÕÓÚÔÚÄêÇ°ÊÕβÁË¡£ÔÚ´ËС½áһϣ¬ÎüȡһЩ½Ìѵ£¬ÒÔÃâÀ´ÄêÖØ·¸ÏàͬµÄ´íÎó¡£
1¡¢×öÁËÒ»¸ö×îÕýÈ·µÄÑ¡Ôñ£º¹Ò¿¿Ò»¼ÒÈí¼þ¹«Ë¾×ö³ÌÐò¡£×ö³ÌÐòºÍ×öÒµÎñ£¬ÊDz»Ó¦¸Ãͬһ¸öÈ˽øÐеģ¬¾ÍËã¿Í»§ÊÇÖ÷¶¯É ......

Óëphp.iniÓйصļ¸¸öPHPº¯Êý

PHPÖÐÌṩËĸöº¯ÊýʵÏÖ¶Ôphp.iniµÄ²Ù×÷£ºini_get¡¢ini_set¡¢ini_get_all¡¢ini_restore
ÆäÖÐ×î³£ÓõÄÊÇini_setºÍini_get¡£
ÏÂÃæ¾ßÌåÀ´ËµËµÕâÁ½¸öº¯ÊýµÄ×÷Ó㺠
ini_get()
»ñÈ¡ÅäÖÃÎļþµÄÑ¡ÏîÖµ£¬¼´»ñÈ¡ÅäÖÃÎļþÖÐijһ¸öÑ¡ÏîµÄÖµ£¬Èç¹ûÊÇtrueÖµ¾Í·µ»Ø1£¬Èç¹ûÊÇfalseÖµ¾Í·µ»Ø0£¬×Ö·û´®¾Í·µ»Ø×Ö·û´®¡£
ÀýÈ磺
<?p ......

php——Êý¾ÝÀàÐÍ£¨1£©

Ô­ÎÄÁ´½Ó£ºhttp://www.phpdo.net/index.php/2010/02/03/1-10/
ÓëÆäËû±à³ÌÓïÑÔ²»Í¬µÄÊÇ£ºPHPµÄÊý¾ÝÀàÐͲ»ÊÇÓɳÌÐòÔ±ÔÚ¶¨Òå±äÁ¿µÄʱºò¾ö¶¨µÄ£¬¶øÊÇÓÉPHPÔÚ³ÌÐòÔËÐйý³ÌÖж¨Òå¡£
PHP¹²Ö§³Ö8ÖÖÊý¾ÝÀàÐÍ£ºÕûÐÍ£¨integer£©¡¢¸¡µãÐÍ£¨float£©¡¢×Ö·û´®ÐÍ£¨string£©ºÍ²¼¶ûÐÍ£¨Boolean£©ËÄÖÖ±êÁ¿ÀàÐÍ£¬Êý×飨array£©ºÍ¶ÔÏó£¨object£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ