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

windowsÏÂPHPµ÷ÓÃÖ´ÐÐ×ÀÃæ³ÌÐòµÄ·½·¨[תÔصÄ]

phpµ÷ÓÃÍⲿ³ÌÐòµÄ·½·¨Ò»°ãÓÃexec,systemµÈ£¬µ«ÕâÑùÖ´ÐеÄʱºò±ØÐëµÈ´ýÍⲿ³ÌÐò½áÊøºó£¬phpÒ³Ãæ²ÅÄܼÌÐøÖ´ÐУ¬·ñÔòÍøÒ³»áÒ»Ö±µÈ´ý¡£
ÈçºÎ¸Ä±äÕâÖÖÇé¿öÄØ£¿
Ê×ÏÈ
 ÒªÖªµÀphpµ÷ÓõijÌÐòĬÈ϶¼ÊÇ·ÅÔÚºǫ́ÔËÐеģ¬¼´Ê¹ÊÇ×ÀÃæ³ÌÐòÔÚ×ÀÃæÒ²¿´²»µ½£¬µ½½ø³ÌÁбí²ÅÄÜ¿´µ½
 
ÕâÊÇÓÉÓÚphpµ÷ÓóÌÐòÊÇͨ¹ýapacheÀ´Íê³ÉµÄ£¬¶øapacheÊÇ·þÎñ³ÌÐò£¬Ä¬Èϲ»ÄÜÖ´ÐÐ×ÀÃæ³ÌÐò¡£´ò¿ª
¿ØÖÆÃæ°å-·þÎñ-apache£¬µÚ¶þ¸ö±êÇ©£¨µÇ¼±êÇ©£©£¬Ñ¡ÖГÔÊÐí·þÎñÓë×ÀÃæ½»»¥”£¬ÖØÆôapache·þÎñ¡£Õâʱºòдһ¸öexec('notepad.exe')£¬¿ÉÒÔ
¿´µ½¼Çʱ¾ÔÚ×ÀÃæÖ´ÐÐÁË£¬µ«ÊÇÒ³ÃæÔڵȴý......-_-
 
µÚ¶þ²½
  windowsµÄµ÷ÓÃʵ¼ÊÊÇͨ¹ýshell(Ò²¾ÍÊÇcmd)½øÐеģ¬ÉÏÃæ´ò¿ª¼Çʱ¾µÄʱºòºóÃæÓиöºÚÉ«´°¿Ú¾ÍÊÇdosÃüÁîÐУ¬Èç¹û¹ØµôdosÃüÁîÐв»¾ÍµÃÁËÂð£¿ok!
Åú´¦ÀíÖÐÈç¹û²»ÏëÈÃÅú´¦ÀíµÈ´ýÓÃstart,ËùÒÔÓÃÏÂÃæµÃÓï¾ä¿ÉÒÔʵÏÖÃüÌ⣺
<?
pclose(popen('start notepad.exe', 'r'));
?>
¹þ£¬Ë¢Ð¼¸´ÎÒ³Ãæ ×ÀÃæð³öºÃ¶à¼Çʱ¾Å¶
ÍøÉÏ¿´µ½µÄ£¬¾õµÃ»¹¿ÉÒÔ£¬³­ÏÂÀ´ÔÙ˵~~~~


Ïà¹ØÎĵµ£º

CentOS 5.2 ÏÂÓÃYum°²×°Apache+PHP+MySQL»·¾³


1.
CentOS 5.2 ÏÂÓÃYum°²×°Apache+PHP+MySQL»·¾³
2009-04-03 23:47
Fedora 8ÏÂÓÃYum°²×°Apache+PHP+MySQL»·¾³
fedora8 ÓÃyumÀ´¹ÜÀí°²×°Apache+PHP+MysqlµÄ»ù±¾°²×°¡£
1. °²×°Apahce, PHP, Mysql, ÒÔ¼°phpÁ¬½Ómysql¿â×é¼þ¡£
yum -y install httpd php mysql mysql-server
php-mysql
centos°²×°php²å¼þ¾ÍÊÇy ......

php½ØÈ¡ÖÐÎÄ×Ö·û´®


1. ½ØÈ¡GB2312ÖÐÎÄ×Ö·û´®
<?php
< ?php 
//½ØÈ¡ÖÐÎÄ×Ö·û´®
function mysubstr($str, $start, $len) {
    $tmpstr = "";
    $strlen = $start + $len;
    for($i = 0; $i < ......

jsp,ASP,PHPµÄ±È½Ï

      ºÜ¶àSOHOER¶¼Ï£ÍûÓиö×Ô¼ºµÄÍøÕ¾,¶ø¶ÔÍøÕ¾½¨ÉèÒ»ÎÞËùÖª,»òÕßÒ»Öª°ë½â.½ñÌìÎÒÏȽ²³ÌÐò·½ÃæµÄÇø±ð,ÏàÐźܶàÈËÅöµ½ÁËÓÐЩ¹«Ë¾Ëµphp±ÈAsp,Asp.Net¶¼ÒªºÃ,»òÕßAsp±ÈÆäËûÓïÑÔ¶¼ÒªºÃ¡£Æäʵ,³ÌÐòµÄÓÅÂÔÓëÍøÕ¾¿ª·¢ÈËÔ±µÄ¾­Ñé\¼¼ÊõˮƽÏà¹Ø£¬¶øÓïÑÔ±¾Éí²¢Ã»ÓÐʲôÓÅÂÔÖ®·Ö.¾­Ñé¶àµÄ³ÌÐòÔ±,²»¹ÜʹÓõÄÄ ......

ASP.NET vs. PHP£¬Äĸö¸ü¿ì£¿


ASP.NET vs. PHP£¬Äĸö¸ü¿ì£¿
http://www.infoq.com/cn/news/2009/09/aspnet-php-benchmark
×÷Õß ÕÔ劼 ·¢²¼ÓÚ 2009Äê9ÔÂ15ÈÕ ÉÏÎç5ʱ33·Ö
ÉçÇø .NET Ö÷Ìâ ÐÔÄܺͿÉÉìËõÐÔ ±êÇ© PHP, ASP.NET
½áÂÛ£º
ÎÒÃÇ¿ÉÒÔÕâôÈÏΪ£¬¶ÔÓÚ´¿´âµÄPHPÖ´ÐÐÐÔÄÜÀ´Ëµ£¬LinuxºÍWindowsÏà²î ......

phpÖÐsession¹ýÆÚµ«¼Ç¼²¢²»É¾³ýµÄÔ­Òò


Ç°Ò»ÕóдÁËÒ»¸ö¼òµ¥µÄÀ࣬½«session´æÈëÊý¾Ý¿â£¬µ±session_destroy()ʱ»á½«¿âÖеÄsession¼Ç¼ɾ³ý£¬¶ø¹ýÁËmaxlifetimeʱsession¼Ç¼ȴ»¹ÔÚ£¬µ±Ê±ºÜ²»Àí½â¡£
½ñÌìÓÖ¿´ÁËÏÂphp.ini£¬ÕÒµ½Á˹ØÓÚsessionµÄÅäÖã¬Ã÷°×ÁËÔ­Òò¡£
; Define the probability that the 'garbage collection' process is started
; on every sessi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ