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

php intÐ͵Ä×î´óÖµ

Ö´ÐÐÒÔÏÂÓï¾ä£º
var_dump(2147483647); // int
var_dump(
2147483648); // float
¿ÉÒÔ¿´µ½£¬php intÐ͵Ä×î´óÖµ¾ÍÊÇ
2147483647£¬¼´231
-1£¬ÒòΪ32λµÄ×î¸ßλҪÓÃÀ´±íʾÕý¸º¡£
ÔÙÖ´ÐÐÒÔÏÂÓï¾ä£º
$u = sprintf("%u",
2147483648); # ¸ü»»Îª%b,%dÊÔÊÔ
var_dump($u);


Ïà¹ØÎĵµ£º

php»æÖƱý״ͼ

drawPieImg()º¯Êý°üº¬8¸ö²ÎÊý£¬$titleΪ±ý״ͼµÄ±êÌ⣻$dataArrΪÐèÒªÏÔʾµÄÊý¾ÝÊý×飻$labelArrΪ¶ÔÓ¦Êý¾ÝµÄ±êÇ©·ÖÀàÊý×飻$colorArrΪ¶ÔÓ¦Êý¾ÝµÄ»æͼÑÕÉ«Êý×飬Õâ4¸ö²ÎÊýÊDZØÐëµÄ£¬¶ÔÓÚ²»Í¬µÄϵͳӦÓô«µÝÏàÓ¦µÄ²ÎÊý¼´¿É¡£½ÓÏÂÀ´µÄ4¸ö²ÎÊý£¬¸ºÔðÉèÖÃÒªÉú³ÉµÄ±ý״ͼµÄ´óС£¬Èç¹û²»ÉèÖÃÔòʹÓÃϵͳĬÈÏÖµ¡£³ÌÐò°´ÕÕ´²µ×Êý×éÊ ......

phpÊä³öcsvºÍexcelÁ½ÖÖ·½·¨

1£¬¶¨Òåheader()Í·²¿Êä³ö¸ñʽ
   
   header("Content-type:application/vnd.ms-excel");
   header("Content-Disposition:finlename=php.xls");
    vnd.ms-excel -----¶¨ÒåÊä³öÎļþ¸ñ
    php.xls  ---------¶¨ÒåÊä³öµÄÎļþÃû
2£¬Êä³ö±à ......

(PHP)CRUDÀ༰·ÖÒ³Àà

֮ǰдµÄcrudÀàʵÔڱȽϼòµ¥£¨http://blog.csdn.net/yycai/archive/2009/12/15/5012353.aspx£©£¬ÖØзâ×°ÁËһϣº
<?php
/**
* ×Ô¶¯»¯Êý¾Ý±í²Ù×÷Àà
* @example
* <code>
* $db = cls_crud::factory(array('table'=>'article'));
* $data = $db->get_block_list(array('category_id' => 3), ......

linuxÏ°²×°PHP APACHE MYSQL ÊÖ¼Ç

/**********************************
APACHE
***********************************/
±à¼­²ÎÊý£º
./configure" \
"--prefix=/usr/local/apache" \
"--enable-so" \
"--enable-ssl" \
"--enable-mods-shared=most" \
"--with-mpm=event" \
"--with-ssl=/usr/local/openssl" \
"--enable-cache" \
"--enable-mem- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ