Çë½ÌPHPÖÐexecµÄÎÊÌâ
<html>
<head>
<title>hello </title>
</head>
<body>
<input type="button" value="Click" onClick="exec()">
<?php
exec("D:\Resource\music\KWMUSIC/KwMusic.exe E:\music\23945961246827.mp3",$out);
?>
</body>
</html>
Õâ¶Î´úÂëÓÐʲô²»¶ÔÂð£¿ÎªÊ²Ã´ÔËÐв»³öÀ´£¿ÎÒÊDzËÄñ£¬ÆÚÍû´ó¼ÒµÄ°ïÖú£¡
ËÆºõµÃ¿ØÖÆÌ¨³ÌÐò²Å¿ÉÒÔ°É£¿
ÁíÍ⣬עÒâÕâµã£¨ÏÞ¶¨Â·¾¶£©£º
Note: When safe mode is enabled, you can only execute files within the safe_mode_exec_dir. For practical reasons, it is currently not allowed to have .. components in the path to the executable.
LuciferStar:
ÄãºÃ£¡
Äܲ»ÄÜ˵Ïêϸµã£¿Ã»Ì«Ã÷°×¿ØÖÆÌ¨³ÌÐòÊÇʲôÒâ˼£¿
execºÃÏñÊÇÖ´ÐÐshellÃüÁ¥Ö÷µÄºÃÏñ²»Êǰ¡
¿ÉÒÔÊÔÊÔÓÃsystemº¯Êý,ÊÖ²áÀïÃæ×Ô¼º·ÏÂ
Note: When safe mode is enabled, you can only execute files within the safe_mode_exec_dir. For practical reasons, it is currently not allowed to have .. components in the path to the executable.
µ±php.iniÀsafemode±»´ò¿ª£¬ÔòexecÖ»ÄÜÖ´ÐÐsafe_mode_exec_dirÉ趨µÄ·¾¶ÏµijÌÐò¡£ÆäËü·¾¶ÏµĽ«±»½ûÖ¹¡£
ÒÔǰÎÒÊÔ¹ýexecÒ»¸öcmd.com£¬¿ÉÒԵõ½½á¹û£¬µ«ÊÇ£¬Ã»ÓÐÊÔ¹ý³ýDOSÖ®ÍâµÄ.EXE.
ÎÒÏëÎÊÒ»ÏÂPhpÖÐsafe_mode_exec_dirÔÚÄÄÀïÉèÖ𡣿
Î÷°²ÍøÕ¾½¨Éè£¬ÍøÕ¾SEOÓÅ»¯http://www.gttsoft.cn
{{----}
Ïà¹ØÎÊ´ð£º
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
<?php
/*
¹¦ÄÜ£ºPHPα¾²Ì¬»¯Ò³ÃæµÄʵÏÖ
¾ßÌåÓ÷¨:
ÀýÈçÁ´½ÓΪ:test.php/year/2006/action/_add.html
mod_rewrite();
$yearn= $_GET["year"];//½á¹ûΪ'2006'
......
PHPÔıø,°ÑÄãÃÇPHPµÄ¿ªÔ´ÏîÄ¿·¢ÉÏÀ´¿´¿´,ÒÔ¹©ÔªÊ×¼ìÔÄ
¹úÇì ÖÐÇï¿ìÀÖ
Â¥Ö÷£¬¿ªÔ´ÏîÄ¿²¿´ú±íÃâ·ÑÏîÄ¿
¿ÉÒÔ×Ô¼ºÕÒÂð£¬ÍøÉ϶àµÄÊÇ
Ïë·¨²»´í
¹ÛÀñ̨Χ¹Û¡£
Χ¹Û
½¨ÒéÄã²Î¿¼°×¶¾
Ê׳¤ºÃ£¡
Èö·Ö° ......
¸Õ½Ó´¥Õâ¸ö¶«Î÷£¬ÏëÎÊһϸ÷λ¸ßÊÖʵ¼ùÕâ¸öÐèÒªÄÄЩ¹¤¾ß£¨ÎÒÓõÄlinux,dreamweaver£©£¿¾ßÌåÔõôʵÏÖ£¿ÇóÒ»¸ö¼òµ¥ÍêÕûµÄÀý×Ó
ÍøÉÏËÑË÷nusoap
È¥¡°w3ѧУ¡±Ñ§ÏÂxml
²»¹ýÍøÉϱȽÏÄÑÕÒÄÇÖÖÍêÕûµÄÀý×Ó£¬Ö»Óмò ......
ÎÒÔÚʹÓÃphpÒ»¶Î´úÂëÖÐ,Ô´´úÂëÊÇ
<input type="file" name="file_source" id="file_source" class="edt" value="<?=$file_source?>">
ÊÇÒ»¸öÉÏ´«Î ......