[ת]phpÔÚÏß½âѹZIPÎļþ³ÌÐò
ÓÉÓÚ×î½ü×öµÄÒ»¸öÏîĿͼƬ±È½Ï¶à£¨ËõÂÔͼ+ʵ¼ÊÎïƷͼ£©£¬´ó¸ÅÓÐÒ»Íò¶à¸öÎļþ£¬¶ø·þÎñÆ÷ÓÖÔÚ¹úÍ⣬ÓÃÃÀ¹úµÄVPNËٶȻ¹ÊǷdz£µÄÂý£¬Èç¹ûÉÏ´«Ò»Íò¶à¸öÎļþ£¬¹À¼Æ½«»¨·ÑÁ½Èý¸öСʱ¡£²¢ÇÒÓÉÓÚºóÃ潫Óиü¶àµÄÎļþÐèÒªÉÏ´«ÖÁ·þÎñÆ÷£¬ËùÒÔºÝÏÂÐÄÀ´ÕÒÒ»ÖÖÉÏ´«Ñ¹Ëõ°üºó½øÐд¦ÀíµÄ·½·¨¡£ ÔÚwordpress2.8ÉÏ¿´µ½wp¿ÉÒÔ×Ô¼ºÏÂÔØÁ˸üаüºó½âѹËõ£¬²¢ÇÒ¸²¸ÇÔÎļþ¡£ÏÔÈ»£¬PHP²Ù×÷ÎļþÊÇûÓÐÈκÎÎÊÌâµÄ£¬Ö÷ÒªÊÇÈçºÎ¶ÔѹËõ°ü½øÐвÙ×÷¡£ PHPÔÚÀ©Õ¹ÖÐÓÐZIPÀ©Õ¹£¬µ«ÊÇĬÈÏ°²×°ÊÇûÓÐÅäÖõġ£ËùÒÔÒ»ÖÖ·½·¨ÊÇÅäÖÃÕâ¸öZIPÀ©Õ¹£¬È»ºóÀûÓÃzip_read,zip_openµÈº¯ÊýÀ´¶ÔZIPÎļþ²Ù×÷¡£ ÎÒ´ÓÍøÕ¾ÕÒÁËÒ»¸ö³ÌÐò£¬½øÐÐÁËÐ޸ġ£ÏÖÔÚ¿ÉÒÔ×Ô¶¯¹ýÂËĿ¼ÖеÄZIPÎļþ£¬»òÕßÉÏ´«ZIPÎļþ½øÐнâѹËõ²Ù×÷¡£¿ÉÒÔÉèÖýâѹËõ·¾¶£¬²¢ÇÒÌṩÁËÃÜÂë±£»¤¡£ÔÚ½âѹËõÍêºó¿ÉÒÔ¶Ô½âѹµÄÎļþÒÔ¼°ÔÎļþ½øÐÐɾ³ý²Ù×÷¡£ <?php
$password = 'www.f1php.cn';
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Zip ÔÚÏß½âѹ³ÌÐò</title>
<style type="text/css">
<!--
body,td{
font-size: 12px;
color: #000000;
}
a {
color: #000066;
text-decoration: none;
}
a:hover {
color: #FF6600;
text-decoration: underline;
}
.STYLE1 {
font-size: 18px;
font-weight: bold;
}
-->
</style>
<script language="javascript">
function check_uploadObject(form){
if(form.password.value==''){
alert('ÇëÊäÈëÃÜÂë.');
return false;
}
Ïà¹ØÎĵµ£º
³õѧPHP,¶Ô$_SERVERÕâ¸ö¶«Î÷ºÜ¸ÐÐËȤ.ÔÚÍøÉÏÕÒÁËN³¤Ê±¼ä.ÊÇÎÒÖÇÉÌÓÐÎÊÌâ? »¹ÊÇ?
ºÇºÇ.¸É´à²»Èç×Ô¼ºÒ»¸öÒ»¸ö¿´...
ÎÒµÄIDE»·¾³: XmappÊ¡×Å×Ô¼ºÅäÖÃÁË...
//¹¦ÄÜ:´òÓ¡$_SERVER->Array();
/*PHP Code Star*/
foreach ($_SERVER as $key => $value)
{
echo $key.":".$value."<br>";
}
/*PHP Code En ......
ÔÌù:http://www.paitoubing.cn/blog/tag/apc
php³ÌÐòÌáËÙÔÀí·ÖÎö
2008Äê7ÔÂ19ÈÕ
ûÓÐÆÀÂÛ
¹Ø¼ü´Ê£ºxCache,Zend Accelerator,memcahced,xdebug£¬Zend Optimizer,APC.
»º³å²ã¼¶±ðµÄÓÅ»¯
xCacheÊÇ°Ñ PHP ²Ù×÷Â뻺´æµ½ÄÚ´æÖÐµÄ PHP À©Õ¹ÖУ¬XCache ½«±ÜÃâ´ú¼Û¸ß°ºÇÒ²»±ØÒªµÄ»¨·ÑÀ´ÖØбàÒëÏ ......
PHPÖжԸ÷Àà±äÁ¿ÄÚÈݵÄÃüÃû¹æ·¶
£¨1£©Ä¿Â¼ÃüÃû¡¢ÎļþÃüÃû¡¢¾Ö²¿±äÁ¿ÃüÃû£º
ʹÓÃÓ¢ÎÄÃû´Ê¡¢¶¯´Ê£¬ÒÔÏ»®Ïß×÷Ϊµ¥´ÊµÄ·Ö¸ô£¬ËùÓÐ×Öĸ¾ùʹÓÃСд
Ŀ¼£ºupload¡¢templates¡¢install¡¢manage……
Îļþ£ºindex.php ¡¢ register.php ¡¢ config.php……
±äÁ¿£º$user , $pay_time , $pay_del_co ......
˵Ã÷ array preg_split ( string $pattern, string $subject [, int $limit [, int $flags]] ) ·µ»ØÒ»¸öÊý×飬°üº¬ subject ÖÐÑØ×ÅÓë pattern Æ¥ÅäµÄ±ß½çËù·Ö¸îµÄ×Ó´®¡£ Èç¹ûÖ¸¶¨ÁË limit£¬Ôò×î¶à·µ»Ø limit ¸ö×Ó´®£¬Èç¹û limit ÊÇ -1£¬ÔòÒâζ×ÅûÓÐÏÞÖÆ£¬¿ÉÒÔÓÃÀ´¼ÌÐøÖ¸¶¨¿ÉÑ¡²ÎÊý flags¡£ flags ¿ÉÒÔÊÇÏÂÁбê¼ÇµÄÈÎÒâ× ......
PHP³Á˼¼
¡¡¡¡¹¤×÷Ä£ÐÍ
¡¡¡¡PHPµÄ¹¤×÷Ä£Ðͷdz£ÌØÊâ¡£´ÓijÖ̶ֳÈÉÏ˵£¬PHPºÍASP¡¢ASP.NET¡¢JSP/ServletµÈÁ÷ÐеÄWeb¼¼Êõ£¬ÓÐ×ű¾ÖÊÉϵÄÇø±ð¡£
¡¡¡¡ÒÔJavaΪÀý£¬JavaÔÚWebÓ¦ÓÃÁìÓò£¬ÓÐÁ½ÖÖ¼¼Êõ£ºJava ServletºÍJSP£¨Java Server Page£©¡£Java ServletÊÇÒ»ÖÖÌØÊâÀàÐ͵ÄJava³ÌÐò£¬Ëüͨ¹ýʵÏÖÏà¹Ø½Ó¿Ú£¬´¦ÀíWeb·þÎñÆ÷·¢Ë͹ ......