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

PHPÏòÒ»¸ö×Ö·û´®Ëæ»úÌí¼ÓÎÄ×Ö

 ºÜ¾ÃÇ°ÔÚbaidu»Ø´ðÎÊÌâʱдµÄ“ÏòÒ»¸ö×Ö·û´®Ëæ»úÌí¼ÓÎÄ×Ö”µÄ½â¾ö·½°¸£¬¿ÉÒÔÖ§³ÖÖÐÓ¢ÎÄ
<?php
/*********************************************************
 describe£º×Ö·û´®´¦Àí,¿ÉÒÔ´¦ÀíÖÐÓ¢ÎÄ
 function£ºÏòÒ»¸ö×Ö·û´®Ëæ»úÌí¼ÓÎÄ×Ö
 author£º  etongchina
 email2me: etongchina@gmail.com
 time£º    2008-06-24
 blog£º    http://etongchina.blogcn.com

*********************************************************/
function getStrlen($str){
 $_count = array();
 $count = 0;
 for($count;$count<strlen($str);){
  ord($str{$i})>127?$count+=2:$count++;
  $_count[] = $count; //ÓÃÊý×é´æ´¢¿ÉÄܲåÈëµÄλÖÃ
 }
 $_key = array_rand($_count); //´ÓÊý×éÖлñÈ¡Ëæ»ú¼ü
 return $_count[$_key];
}
$str = "ΰ´ó×æ¹ú·±ÈÙ¸»Ç¿"; //Ô´×Ö·û´®
$insert_str = "-";     //´ýÌí¼ÓµÄÎÄ×Ö
$_rand = getStrlen($str);  //Ö÷º¯Êý
$_exp = "/^(.{".$_rand."})(.*)$/i"; //ÕýÔò±í´ïʽ
$t = preg_replace($_exp,"$1{$insert_str}$2",$str);
print $t;
?>


Ïà¹ØÎĵµ£º

ʹÓÃphpÀ´ÊµÏÖÍøÂç·þÎñ

×÷Õß:samisa
ÒÔÏÂÎÄÖеķ­ÒëÃû³Æ¶ÔÕÕ±í
:
payload: ½»Ì¸ÄÚÈÝ
object: ʵÀý
function: º¯Êý
ʹÓÃ
phpÀ´ÊµÏÖÍøÂç·þÎñ
ʹÓÿò¼Ü£º
WSO2
WSF/PHP
°²×°»·¾³£º
windows
»òÕß
linux
£¨Ñá¶ñÓÚÑÛϼÆËã»úÎÄÕ¼ÐÔÓÎÞÊýÄѶ®µÄ·­ÒëÒÔ¼°ÊõÓ´Ë´¦¾¡Á¿Ê¹ÓÿÚÓïÒÔ¼°ººÓï¡££©
WSMessages Àࣺ
ÔÚµ÷ÓÃÍøÂç·þÎñµÄ¹ý³ÌÖУ¬Ðè ......

2009Äê9ÔÂÓïÑÔÅÅÐаñ£ºPHP³¬Ô½C++

TIOBEÊÀ½ç±à³ÌÓïÑÔÅÅÐаñÕ¹ÏÖÁ˱à³ÌÓïÑÔµÄÁ÷ÐÐÇ÷ÊÆ¡£Ã¿¸öÔ£¬¶¼ÓÐ×îеÄÊý¾Ý±»¸üС£Õâ·ÝÅÅÐаñµÄÊý¾ÝÈ¡ÑùÀ´Ô´ÓÚ»¥ÁªÍøÉϸ»Óо­ÑéµÄ³ÌÐòÔ±¡¢ÉÌ ÒµÓ¦Óá¢ÖøÃûµÄËÑË÷ÒýÇ棨ÖîÈç¹È¸è¡¢ MSN ¡¢ÑÅ»¢£©µÄ¹Ø¼ü×ÖÅÅÃû¡¢ Alexa ÉϵÄÅÅÃûµÈ¡£Çë×¢ÒâÕâ¸öÅÅÐаñÖ»ÊÇ·´Ó³ÁËij¸ö±à³ÌÓïÑÔµÄÈÈÃÅ³Ì¶È , Õâ²¢²»´ú±íËüÊÇÒ»¸ö×îºÃµÄ±à³ÌÓïÑÔ»òÊ ......

PHPѧϰ

ÓÉÓÚijÖÖÐèÒª£¬ÕâÒ»¶ÎÐèҪѧϰPHP£¬ËùÒÔÔÚÕâÀà¼Ç¼һÏÂ×Ô¼ºµÄһЩÐĵúÍ×Ô¼ºÔÚѧϰÖÐÓöµ½µÄһЩÎÊÌâ¡££¨¸üÐÂÖÐ...£©
1.LinuxºÍwindowsÏ¿ª·¢PHP
ÔÚÕâÁ½ÖÖϵͳÏ¿ª·¢PHP¶¼ÐèÒª´î½¨»·¾³£¬ÔÚLinuxÏÂÒ»°æÓÃapache×÷Ϊweb·þÎñÆ÷£¬¶øÇÒÏà¶ÔÀ´Ëµ»·¾³µÄ´î½¨ºÜ¼òµ¥£»¶øÔÚwindowsÏÂÒªÊÇ¿ª·¢PHP½¨ÒéÓÃwindows server 2003£¬windows x ......

php±à³Ì£¬Õë¶ÔMYSQLµÄ²Ù×÷Àà

<?php
/*
*PHP¹ÜÀíMYSQLµÄÊý¾Ý¿âÀà
ʹÓ÷½·¨£º$dbConn = new DbConn([$Êý¾Ý¿âÃû(¿ÉÑ¡)]);
ÔÊÐí·µ»ØµÄ·½·¨£º
Execute($sql) //Ö´ÐÐSQLÓï¾ä£¬Ã»Óзµ»ØÖµ;
getRs($sql) //·µ»Ø²éѯÓï¾äµÄ¼Ç¼£¬Ò»Ìõ;
getRsArray($sql) //·µ» ......

redflag5.0°²×°Apache+MySQL+PHPʵ¼

LinuxÅäÖÃAPACHE2.2.4 + PHP5.2.1 + MYSQL5.0.37 + GD¿â
µÚÒ»²½£º°²×°RedFlag Linux5.0
°²×°ÏµÍ³Ê±ÇëÎñ±Ø°²×°¿ª·¢¹¤¾ß°üºÍKDE¿ª·¢¹¤¾ß°ü£¬WWW·þÎñÆ÷ºÍSQL·þÎñÆ÷²»Òª°²×°£¬·ñÔò¿ÉÄÜ»á³öÏÖδ֪µÄ´íÎó¡£
µÚ¶þ²½£ºÈ·¶¨linuxϵͳÊÇ·ñ°²×°gcc±àÒëÆ÷
Ê×ÏÈ,GCCÒªÓÐ,²»È»Ê²Ã´¶¼²»ÄÜ×ö.¿ÉÒÔÓÃgcc -vÀ´²é¿´ÊÇ·ñ°²×°ÁËGCC,
#gcc - ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ