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

PHPÍøÉÏÊéµê

ÍøÉÏÊéµêϵͳÊÇÓÉEÒ×ÍøÂç(68ws.cn)»ùÓÚphp+mysql¿ª·¢£¬³ýÁ˾ßÓÐÍøÉÏÊéµê±Ø±¸µÄÉÌÆ·¹ÜÀí¡¢ÅäËÍÖ§¸¶¹ÜÀí¡¢¶©µ¥¹ÜÀí¡¢»áÔ±·Ö×é¡¢»áÔ±¹ÜÀí¡¢²éѯͳ¼ÆºÍ¶àÏîÉÌÆ·´ÙÏú¹¦ÄÜ£¬»¹¾ßÓÐÍêÕûµÄÎÄÕ¡¢Í¼ÎÄ¡¢ÏÂÔØ¡¢µ¥Ò³¡¢¹ã¸æ·¢²¼µÈÍøÕ¾ÄÚÈݹÜÀí¹¦ÄÜ¡£ÏµÍ³¾ßÓо²Ì¬HTMLÉú³É¡¢UTF-8¶àÓïÑÔÖ§³Ö¡¢¿ÉÊÓ»¯Ä£°æÒýÇæµÈ¼¼ÊõÌص㣬֧³Ö¶àƵµÀµ÷Óò»Í¬Ä£°æºÍÈÎÒâÉèÖÃƵµÀÊ×Ò³£¬ÊʺϽ¨Á¢¸÷ÖÖ¹æÄ£µÄÍøÉÏÊéµê¡£ÏµÍ³¾ßÓÐÒÔÏÂÖ÷Òª¹¦ÄÜÄ£¿é£º
ÍøÕ¾²ÎÊýÉèÖà - ¶ÔÍøÕ¾µÄһЩ²ÎÊý½øÐиöÐÔ»¯¶¨Òå            ¡¶ÍøÉÏÊéµêϵͳÓû§Êֲᡷ 
»áÔ±ÀàÐÍÉèÖà - ¿ÉÒÔÈÎÒâ´´½¨¶à¸ö»áÔ±ÀàÐÍ£¬ÉèÖò»Í¬»áÔ±ÀàÐ͵ÄȨÏ޺ͼ۸ñ¼¶±ð
»õ±ÒÀàÐÍÉèÖà - ¶¨Òå¶à±ÒÖֺͻãÂʹØϵ
Ö§¸¶·½·¨ÉèÖà - ÉèÖÃÖ§¸¶·½Ê½£¬Ö§³ÖÔÚÏßÖ§¸¶¡¢ÏßÏÂÖ§¸¶ºÍÔ¤¸¶¿î¿Û¿îÖ§¸¶Èý´óģʽ£¬ÔÚÏßÖ§¸¶½Ó¿Ú¿ÉÀ©Õ¹
ÅäËÍ·½·¨ÉèÖà - ¿É°´²»Í¬ÇøÓòÉ趨ÅäËÍ·½·¨ºÍÅäËÍ·ÑÓüÆËã·½°¸£¬¼æÈݼò½àµÄ¼ÆËã·½°¸ºÍÔ˷ѼÆË㹫ʽ
ÉÌÆ·ÀàÐÍÉèÖà - Õë¶Ô²»Í¬ÉÌÆ·ÀàÐÍÉèÖò»Í¬µÄ·¢²¼²ÎÊý£¬°üÀ¨¿ÉÌî²ÎÊý¡¢Ñ¡µ¥²ÎÊýºÍÊÇ·ñÔÚ¶©¹ºÊ±¿ÉÑ¡µÈÉèÖÃ
ÉÌÆ·¹ÜÀíÄ£¿é - ¾ßÓÐÉÌÆ··ÖÀà¡¢ÉÌÆ··¢²¼¡¢ÅúÁ¿µ¼ÈëºÍÉÌÆ·¹ÜÀí¹¦ÄÜ£»²»Í¬ÉÌÆ·ÀàÐ;ßÓв»Í¬µÄ·¢²¼²ÎÊý
¸½¼Ó¶©¹ºÄ£¿é - ¸½ÊôÅä¼þÊÇÒ»ÖÖÌØÊâµÄÉÌÆ·ÀàÐÍ£¬¿É×÷ΪijÀàÉÌÆ·»òµ¥¸öÉÌÆ·µÄÅä¼þ¸½¼ÓÑ¡¹º
Ñ¡µ¥¶©¹ºÄ£¿é - Ö§³Ö·þ×°µÈÉÌÆ·ÔÚ¶©¹ºÊ±¿ÉÑ¡Ôñ³ßÂë¡¢ÑÕÉ«µÈ¼Û¸ñÎÞÇø±ðÏîÄ¿µÄ¿ÉÑ¡¶©¹º¹¦ÄÜ
À¦°óÌײÍÄ£¿é - À¦°óÌײÍÊÇÒ»ÖÖÌØÊâµÄÉÌÆ·ÀàÐÍ£¬ÔÊÐí½«¶à¸öÉÌÆ·¼ÓÈëÌײͺó°´ÌײͼÛÏúÊÛ
»ý·Ö»»ÔùÄ£¿é - »ý·ÖÔùÆ·×÷ΪһÖÖÌØÊâµÄÉÌÆ·ÀàÐÍ£¬¿ÉʹÓûý·Ö¶Ò»»ÔùÆ·
´òÕÛ´ÙÏúÄ£¿é - ¿ÉÉèÖöÌÆڵĴòÕÛ´ÙÏú·½°¸£¬¿ªÕ¹´òÕÛ´ÙÏú»î¶¯
ÓÅ »Ý 劵Ä£¿é - ¿ÉÅúÁ¿Éú³ÉÓÅ»Ý劵£¬É趨ÕÛ¿ÛÂÊ£¬¶©¹ºÊ±ÊäÈëÓÅ»Ý劵ºÅÂë¿É»ñµÃÏàÓ¦ÕÛ¿Û
¶©µ¥¹ÜÀíÄ£¿é - °üÀ¨¶©µ¥²éѯ¡¢¶©µ¥ÊÕ¿îÈ·ÈÏ¡¢·¢»õÈ·ÈÏ¡¢¶©µ¥´òÓ¡¡¢´æµµ²éѯµÈ¹¦ÄÜ
»áÔ±¹ÜÀíÄ£¿é - °´²»Í¬ÀàÐͲéѯ»áÔ±×ÊÁÏ¡¢»áÔ±Ô¤¸¶¿îÕÊ»§¼°ÆäÖ§¸¶¼Ç¼ºÍ¶©¹º¼Ç¼¡¢½øÐÐÔ¤¸¶¿îÈëÕʲÙ×÷
»áÔ±»ý·Öϵͳ - ¿ÉÉèÖûý·Ö¼ÆËã·½·¨£¬¹ÜÀí»áÔ±»ý·Ö
ÍøÕ¾À¸Ä¿ÉèÖà - ¿ÉÈÎÒâ´´½¨ÍøվƵµÀ£¨À¸Ä¿£©£¬ÉèÖÃÀ¸Ä¿ÏÔʾÊôÐÔ¡¢ÊÇ·ñʹÓÃƵµÀÄ£°æºÍÊÇ·ñʹÓÃƵµÀÊ×Ò³
Ò³Ãæ²å¼þÉèÖà - ÔÚ¿ÉÊÓ»¯½çÃæÖжԸ÷ƵµÀ¸÷ÍøÒ³µÄ²å¼þ½øÐÐÏÔʾÉèÖÃ,»òÉèÖÃ×ÔÓɱ༭Çø½øÐÐÈÎÒâ±à¼­
½çÃæ·ç¸ñÉèÖà - ¾ßÓÐÄ£°æ¿â²éѯ¡¢µ¼ÈëÄ£°æ¡¢Çл»Ä£°æ¡¢Ä£°æÏÂÔر༭µÈ¹¦Ä


Ïà¹ØÎĵµ£º

phpÖÐutf 8±àÂëÏÂÓÃÕýÔò±í´ïʽÈçºÎÆ¥Å人×Ö

ÐèÒªÓõÄphpµÄÕý¹æÆ¥Å人×Ö£¬ÔÚÍøÉÏÕÒÁËЩÎÄÕ¿´ÁËÒÔÏ£¬¿´µ½Õâ¸öµÄʱºò¸Ð¾õÕâƪÎÄÕÂдµÄºÜÕæʵ£¬È̲»×¡×ª¹ýÀ´ÁË¡£
Ô­ÎĵØÖ·£ºhttp://hi.baidu.com/comdeng/blog/item/f272362e47ce29564ec226c5.html
ÔÚjavascriptÖУ¬ÒªÅжÏ×Ö·û´®ÊÇÖÐÎÄÊǺܼòµ¥µÄ¡£±ÈÈ磺
var str = "php±à³Ì";
if (/^[\u4e00-\u9fa5]+$/.t ......

PHPµÄÓïÑÔ¹¹³ÉÓ빤×÷Ô­Àí

Ô­ÎÄÁ´½Ó£ºhttp://www.phpdo.net/index.php/2010/01/27/1-3/
×òÌìÎÒÃÇʵÏÖÁËPHPµÄµÚÒ»¸öÒ³Ãæhello£¬world£¡
 PHPµÄÓïÑÔ¹¹³ÉÓ빤×÷Ô­ÀíÊÇʲôÄØ£¿
 ºê¹ÛµØ½«£ºÒ»¸öÍêÕûµÄPHP³ÌÐòÊÇÓÉÖ÷³ÌÐòºÍº¯Êý¹¹³É¡£PHP³ÌÐòµÄÖ´ÐдÓÖ÷³ÌÐò¿ªÊ¼£¬µ÷ÓÃÆäËûº¯Êýºó·µ»ØÖ÷³ÌÐò²¢½áÊø¡£
 ÔÚPHPµÄÖ÷³ÌÐòºÍº¯ÊýÖУ¬PHPº¯ÊýµÄ»ù ......

Smarty Ä£°å ´Óphp·ÖÅäµÄ±äÁ¿ Êý×é

index.php:
$smarty = new Smarty;
$smarty->assign('Contacts',
array('555-222-9876',
'zaphod@slartibartfast.com',
array('555-444-3333',
'555-111-1234')));
$smarty->display('index.tpl');
index.tpl:
{$Contacts[0]}<br>
{$Contacts[1]}<br>
{* you can print arrays of arrays ......

·ÖÏí¼¸¸öphpʱ¼äÏà¹ØµÄº¯Êý

function FormatShowTime($nTotalSec)
{
//echo "total sec:" . $nTotalSec . '<br>';

$strTime = "";
//day
if ($nTotalSec > 3600 * 24)
{
$nDay = (int)($nTotalSec / (3600 * 24));
//$nDay > 0 ? $nDay : 1;
$strTime = $nDay;
$strTime .= 'Ìì';
//echo "nDay: ......

PHP»ñµÃµÄ¿Í»§¶ËºÍ·þÎñÆ÷¶ËIP

¿Í»§¶ËIPÏà¹ØµÄ±äÁ¿
1. $_SERVER['REMOTE_ADDR']; ¿Í»§¶ËIP£¬ÓпÉÄÜÊÇÓû§µÄIP£¬Ò²ÓпÉÄÜÊÇ´úÀíµÄIP¡£
2. $_SERVER['HTTP_CLIENT_IP']; ´úÀí¶ËµÄIP£¬¿ÉÄÜ´æÔÚ£¬¿ÉαÔì¡£
3. $_SERVER['HTTP_X_FORWARDED_FOR']; Óû§ÊÇÔÚÄĸöIPʹÓõĴúÀí£¬¿ÉÄÜ´æÔÚ£¬¿ÉÒÔαÔì¡£
·þÎñÆ÷¶ËIPÏà¹ØµÄ±äÁ¿
1. $SERVER_NAME£¬ÐèҪʹÓú¯Êýget ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ