¡¡
¡¡
·¢Ð»°Ìâ
´òÓ¡

PHPʵÏÖÎļþÏÂÔØ

Íõºñ³¼¡¶ºù«˿°ÍÎÚ¿¼¼¶ÇúÄ¿¾«Ñ¡¡·1µ½10¼¶
¼¯Íõºñ³¼ÀÏʦ×îд´×÷µÄÐÂÇúÖУ¬»¹Óаé×àºÍÏàÓ¦µÄʾ·¶£¬Á½¸öµú
±¾ÊéÒòΪÊܺù«˿°®ºÃÕßϲ°®£¬ËùÒÔÕâÊǵÚÈý°æÁË


Àî´º»ª½Ìѧ¾«Æ·Ê顶ºù«Çé¡·´º·Û±Ø±¸
È«ÊÕ¼Àî´º»ªÀÏʦµÄÔ­´´×÷Æ·£¬ÑÝ×à·½·¨£¬ÇúÄ¿´´×÷±³¾°µÈµÈ£¬
Ç©ÃûÊղرر¸£¬º¬Ê®¼¸Ê×Õý°æʾ·¶ºÍÏàÓ¦µÄ°é×àµúÁ½ÕÅ


ÕÅЦ±àÖø¡¶ÕÅЦºù«˿½Ì³Ì¡·µÚ¶þ°æ¡¾º¬CD¡¿
±¾ÊéÓÉÕÅЦÀÏʦ±àÖø£¬²¢¸øÈ«ÊéµÄÁ·Ï°ÇúÅäÉÏÁËÏàÓ¦µÄ°é×à·½±ã°®
ºÃÕß´ÓÁ㿪ʼѧϰ£¬¶øÇÒ»¹ÓкܶàÕÅЦÀÏʦµÄһЩºÏ×àÇú¡£


ÇÇÖ¾³À¡¶ºù«˿µÄм¼·¨ºÍÌØÊâÖ¸·¨¡·
ÇÇÖ¾³ÀÀÏʦµÄ×÷Æ·£¬Ò²¼´¡¶ºù«˿¸ßÊÖ֮·¡·´ÓÁãѧÆðµ½¾«Í¨£¬ÊÇ
ÇÇÖ¾³ÀÀÏʦ±ÏÉúµÄ×÷Æ·£¬Êܵ½¹ã´óºù«˿°®ºÃÕߺÃÆÀµÄÊ飡


¡¡

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

TOP

·¢Ð»°Ìâ


ÉÙÊýÃñ×åÀÖÆ÷Íø - ÁªÏµÎÒÃÇ - Çå³ý Cookies - Archiver - WAP ¹ðICP±¸14004534ºÅ

¹ð¹«Íø°²±¸ 45030402000077ºÅ

Processed in 1.048350 second(s), 8 queries .

µ±Ç°Ê±Çø GMT+8, ÏÖÔÚʱ¼äÊÇ 2024-11-22 19:54