PHPʵÏÖÎļþÏÂÔØ
PHPʵÏÖÎļþÏÂÔØ
PHP´úÂë:--------------------------------------------------------------------------------
<?
// ¼ì²é FORM ÊÇ·ñÈ«²¿ÌîдÍê±Ï...
if ($form_completed) {
Header("Location: http://www.myweb.com/download/info_check.exe" );
exit;
}
?>
--------------------------------------------------------------------------------
»òÕßÊÇÒÔϵÄÇé¿ö£º
¡°<a href=" http://www.yourwebl.com/users/download.php?id=124524"> ¿ªÊ¼ÏÂÔØÎļþ</a>¡±
ÕâÀïÀûÓÃÁËID·½Ê½½ÓÊÕÒªÏÂÔØÎļþµÄ±àºÅ£¬È»ºóÓá°Redirect¡±µÄ·½Ê½Á¬½Óµ½Êµ¼ÊµÄÍøÖ·¡£
Èç¹ûÄãÏë×öÒ»¸ö¹ØÓÚ¡°ÍøÉϹºÎµÄµç×ÓÉÌÎñÍøÕ¾£¬¿¼ÂÇ°²È«ÎÊÌ⣬Äã²»ÏëÓû§Ö±½Ó¸´ÖÆÍøÖ·ÏÂÔظÃÎļþ£¬±ÊÕß½¨ÒéÄãʹÓÃPHPÖ±½Ó¶ÁÈ¡¸Ãʵ¼ÊÎļþÈ»ºóÏÂÔصķ½·¨È¥×ö¡£³ÌÐòÈçÏ£º
PHP´úÂë:--------------------------------------------------------------------------------
£¼?
$file_name = "info_check.exe";
$file_dir = "/public/www/download/";
if (!file_exists($file_dir . $file_name)) { //¼ì²éÎļþÊÇ·ñ´æÔÚ
echo "ÎļþÕÒ²»µ½";
exit;
} else {
$file = fopen($file_dir . $file_name,"r"); // ´ò¿ªÎļþ
// ÊäÈëÎļþ±êÇ©
Header("Content-type: application/octet-stream");
Header("Accept-Ranges: bytes");
Header("Accept-Length: ".filesize($file_dir . $file_name));
Header("Content-Disposition: attachment; filename=" . $file_name);
// Êä³öÎļþÄÚÈÝ
echo fread($file,filesize($file_dir . $file_name));
fclose($file);
exit;}
?£¾
--------------------------------------------------------------------------------
¶øÈç¹ûÎļþ·¾¶ÊÇ¡°http¡±»òÕß¡°ftp¡± ÍøÖ·µÄ»°£¬ÔòÔ´´úÂë»áÓÐÉÙÐí¸Ä±ä£¬³ÌÐòÈçÏ£º
PHP´úÂë:--------------------------------------------------------------------------------
£¼?
$file_name = "info_check.exe";
$file_dir = " http://www.easycn.net/";
$file = @ fopen($file_dir . $file_name,"r");
if (!$file) {
echo "ÎļþÕÒ²»µ½";
} else {
Header("Content-type: application/octet-stream");
Header("Content-Disposition: attachment; filename=" . $file_name);
while (!feof ($file)) {
echo fread($file,50000);
}
fclose ($file);
}
?£¾
--------------------------------------------------------------------------------
PHPÖ÷»úµÄÖ÷ÒªÐÔÄÜ:
PHP4.3.6 GD2.1x mhash iconv
Ö§³ÖZend ¼ÓËÙ¼°¼ÓÃÜ
XML kerberos IMAP ZLIB CURL
Apache2 PHP ÄÚºËÕûºÏ
MySQL4.0.17
´øphpMyAdmin ¹ÜÀíºǫ́
Ö§³ÖÍøÕ¾·ÃÎÊͳ¼Æ
Êý¾Ý¿âÖ§³Ö MySQL
ÏêÇéÇë¼û:www.now.net.cn/host
-------------------------------------------------------------------------------
ÍƼöÀàÐÍ:
»ù±¾BÐÍÖ÷»ú + ¹ú¼Ê¶¥¼¶ÓòÃû Ãâ·ÑËÍ100MbÓÊ¾Ö 350 Ôª/Äê
»ù±¾BÐÍÖ÷»ú+.CN¡¡ Ãâ·ÑËÍ100MbÓÊ¾Ö 450 Ôª/Äê
ÔöÇ¿ÐÍBÖ÷»ú ÅäÖÃMYSQLÊý¾Ý¿â Ãâ·ÑËÍ300 MbÓÊ¾Ö 798Ôª/Äê
ÉÌÎñÐÍB+.CNÓòÃû ËÍ800M ¿Õ¼äÓÊÏä 1300Ôª/Äê
ÐéÄâרÓÃÐÍB+.CNÓòÃû+¹ú¼Ê¶¥¼¶ÓòÃû ËÍ2000M VIP ÆóÒµÓÊ¾Ö ÅäÖÃMYSQLÊý¾Ý¿â 3800Ôª/Äê
¶©¹ºµØÖ·:www.now.net.cn/host
ÁíÍ⻹ºÍ¸÷ÖÖÁ¬´øCNÓòÃûµÄÓÅ»ÝÌײÍ,Çë¼û http://now.net.cn/special/
ʱ´ú»¥ÁªÓòÃû½âÎöϵͳÎȶ¨£¬°²È«£¬¿ìËÙ, http://now.net.cn/register
-------------------------------------------------------------------------------
ÐéÄâÖ÷»úµÄÓÅÊÆ£º http://now.net.cn/news/MessView.net?IDMessage=4607
È«ÇòÃâ·Ñ×Éѯµç»°,Çëµã»÷ http://www.now.net.cn/customer/moreline.net
Q QÔÚÏß×Éѯ£º188092185 45031657
TEL£º0756-3813159 3813160