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;
?>
Ïà¹ØÎĵµ£º
×÷Õß:samisa
ÒÔÏÂÎÄÖеķÒëÃû³Æ¶ÔÕÕ±í
:
payload: ½»Ì¸ÄÚÈÝ
object: ʵÀý
function: º¯Êý
ʹÓÃ
phpÀ´ÊµÏÖÍøÂç·þÎñ
ʹÓÿò¼Ü£º
WSO2
WSF/PHP
°²×°»·¾³£º
windows
»òÕß
linux
£¨Ñá¶ñÓÚÑÛϼÆËã»úÎÄÕ¼ÐÔÓÎÞÊýÄѶ®µÄ·ÒëÒÔ¼°ÊõÓ´Ë´¦¾¡Á¿Ê¹ÓÿÚÓïÒÔ¼°ººÓï¡££©
WSMessages Àࣺ
ÔÚµ÷ÓÃÍøÂç·þÎñµÄ¹ý³ÌÖУ¬Ðè ......
TIOBEÊÀ½ç±à³ÌÓïÑÔÅÅÐаñÕ¹ÏÖÁ˱à³ÌÓïÑÔµÄÁ÷ÐÐÇ÷ÊÆ¡£Ã¿¸öÔ£¬¶¼ÓÐ×îеÄÊý¾Ý±»¸üС£Õâ·ÝÅÅÐаñµÄÊý¾ÝÈ¡ÑùÀ´Ô´ÓÚ»¥ÁªÍøÉϸ»ÓоÑéµÄ³ÌÐòÔ±¡¢ÉÌ ÒµÓ¦Óá¢ÖøÃûµÄËÑË÷ÒýÇ棨ÖîÈç¹È¸è¡¢ MSN ¡¢ÑÅ»¢£©µÄ¹Ø¼ü×ÖÅÅÃû¡¢ Alexa ÉϵÄÅÅÃûµÈ¡£Çë×¢ÒâÕâ¸öÅÅÐаñÖ»ÊÇ·´Ó³ÁËij¸ö±à³ÌÓïÑÔµÄÈÈÃÅ³Ì¶È , Õâ²¢²»´ú±íËüÊÇÒ»¸ö×îºÃµÄ±à³ÌÓïÑÔ»òÊ ......
ÖйúµÚÒ»µµÂÌÉ«PHP×ÊÔ´·ÖÏíÃÅ»§,רעÓÚ´´ÐºÍÔ´´ÀàÔ´Âëphp×ÊÔ´£¬Ô´´ÊÓƵphp×ÊÔ´£¬Ô´´µäÐÍÄ£¿éphp×ÊÔ´£¬Ô´´php¿ªÔ´×ÊÔ´£¬Ô´´php½Ì³Ì×ÊÔ´£¬Ô´´Íøվģ°å×ÊÔ´ ¡£ÍøÕ¾µØÖ· http://www.phpzy.com/
ÂÌÉ«php×ÊÔ´ ......
¼Æ»®ÈÎÎñ£¨Schedule Task£©ÊÇwindowsƽ̨ÉϺÍcronÀàËƵÄÒ»¸ö³ÌÐò£¬µ±È»¹¦ÄÜÉϲîÁ˺ܶàÁË¡£
ÒòΪÐèҪÿ¸öСʱÔËÐÐÒ»¸öPHP³ÌÐò£¬ÊÖ¶¯²Ù×÷²»ÏÖʵÁË¡£
Ê×ÏÈÔÚcmdϲâÊÔ£¬ÀýÈ磺 c:\appserv\php5\php.exe "C:\AppServ\www\temp2.php"
ÓÐÒ»µãҪעÒâ¾ÍÊÇÈç¹ûÄǸöPHPÒýÓÃÁËÆäËûÒ³Ã棬ÐèÒªÌṩ¾ø¶Ô·¾¶ÁË£¬ÖÁÉÙÎҵIJâÊÔ ......
ºÜ¾ÃǰЩµÄһЩÎÄÕ£¬ÄÇʱºò¼¼Êõ»¹ÔÚ³õ¼¶½×¶Î£¬ÔÚÏÖÔÚ¿´À´´úÂë¹»Àõģ¬µ«ÊÇÈË×ÜÊÇÒ»²½²½×ßÉÏÀ´µÄ£¬Ï£ÍûÄܸø³õѧÕßÒ»µã¹ÄÀøÁË£¡
<?php
/*********************************************************
filename£ºmulti.php
describe£º ÏÔʾ¶àÓÚÒ»Ò³µÄÁ´½Ó
function£º·ÖÒ³ÏÔʾģ¿é
auth ......