国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

? ??? ?? PHP ???? ?? PHP ?? ???? ???

?? PHP ?? ???? ???

Jul 25, 2016 am 08:58 AM

  1. /**

  2. ** PHP ?? ???? ???
  3. **?:
  4. $download=new download('php,exe,html',false);
  5. if(!$download->downloadfile($ ?? ??))
  6. {
  7. echo $download->geterrormsg();
  8. }
  9. * by bbs.it-home.org
  10. */
  11. ?? ????{
  12. var $debug=true ;
  13. var $errormsg='';
  14. var $Filter=array();
  15. var $filename='';
  16. var $mineType='text/plain';
  17. var $ xlq_filetype=array();

  18. ?? ????($fileFilter='',$isdebug=true)

  19. {
  20. $this->setFilter($fileFilter);
  21. $this->setdebug($isdebug);
  22. $this->setfiletype();
  23. }

  24. function setFilter($fileFilter)

  25. {
  26. if(empty($fileFilter)) return ;
  27. $this->Filter=explode(',',strtolower($fileFilter));
  28. }
  29. function setdebug($debug )
  30. {
  31. $this->debug=$debug;
  32. }

  33. function setfilename($filename)

  34. {
  35. $this- >filename=$filename;
  36. }

  37. ?? ???? ??($filename)

  38. {
  39. $this->setfilename($filename);
  40. if($this->filecheck())
  41. {
  42. $fn = array_pop(explod( '/', strtr( $this->filename, '\', '/' ) ) );
  43. header( "Pragma: public" );
  44. header( "Expires: 0" ); // ?? ?? ??
  45. header( "Cache-Component: must-revalidate, post-check=0, pre-check=0" );
  46. header( "Content-type:".$this-> mineType );
  47. header( "??? ??: " . filesize( $this->filename ) );
  48. header( "??? ??: attachment; filename="$fn"" );
  49. ??( '??? ?? ???: ????' );
  50. readfile( $this->filename );
  51. true? ?????.
  52. }else
  53. {
  54. false? ?????.
  55. }
  56. }
  57. function geterrormsg()
  58. {
  59. return $this->errormsg;
  60. }

  61. function filecheck()

  62. {
  63. $filename=$this->filename;
  64. if(file_exists($filename))
  65. {
  66. $filetype=strtolower(array_pop(explode('.',$filename))) ;
  67. if(in_array($filetype,$this->Filter))
  68. {
  69. $this->errormsg.=$filename.'不允許下載!';
  70. if($ this->debug)exit($filename.'不允許下載!') ;
  71. false ??;
  72. }else
  73. {
  74. if ( function_exists( "mime_content_type" ) )
  75. {
  76. $this->mineType = mime_content_type( $filename );
  77. }
  78. if(empty($this->mineType))
  79. {
  80. if( isset($this->xlq_filetype[$filetype]) ) $this->mineType = $ this->xlq_filetype[$filetype];
  81. }
  82. if(!empty($this->mineType))
  83. return true;
  84. else
  85. {
  86. $this- >errormsg.=''.$filename.' ?? ??? ?? ?? ??? ????? ?? ??? ?? ??? ???? ????.';
  87. if($this->debug) exit('??? ?? ?? ??? ??????. type');
  88. return false;
  89. }
  90. }
  91. }else
  92. {
  93. $this->errormsg.=$filename.'???? ????!';
  94. if($this ->debug) exit($filename.'???? ????!') ;
  95. false? ?????.
  96. }
  97. }
  98. function setfiletype()

  99. {
  100. $this->xlq_filetype['chm']='application/octet-stream';
  101. $this-> ;xlq_filetype['ppt']='application/vnd.ms-powerpoint';
  102. $this->xlq_filetype['xls']='application/vnd.ms-excel';
  103. $this-> ;xlq_filetype['doc']='application/msword';
  104. $this->xlq_filetype['exe']='application/octet-stream';
  105. $this->xlq_filetype['rar' ]='application/octet-stream';
  106. $this->xlq_filetype['js']="javascript/js";
  107. $this->xlq_filetype['css']="text/css ";
  108. $this->xlq_filetype['hqx']="application/mac-binhex40";
  109. $this->xlq_filetype['bin']="application/octet-stream";
  110. $this->xlq_filetype['oda']="application/oda";
  111. $this->xlq_filetype['pdf']="application/pdf";
  112. $this->xlq_filetype[ 'ai']="application/postsrcipt";
  113. $this->xlq_filetype['eps']="application/postsrcipt";
  114. $this->xlq_filetype['es']="application/ postrcipt";
  115. $this->xlq_filetype['rtf']="application/rtf";
  116. $this->xlq_filetype['mif']="application/x-mif";
  117. $this->xlq_filetype['csh']="application/x-csh";
  118. $this->xlq_filetype['dvi']="application/x-dvi";
  119. $this-> ;xlq_filetype['hdf']="application/x-hdf";
  120. $this->xlq_filetype['nc']="application/x-netcdf";
  121. $this->xlq_filetype[' cdf']="application/x-netcdf";
  122. $this->xlq_filetype['latex']="application/x-latex";
  123. $this->xlq_filetype['ts']= "application/x-troll-ts";
  124. $this->xlq_filetype['src']="application/x-wais-source";
  125. $this->xlq_filetype['zip']= "application/zip";
  126. $this->xlq_filetype['bcpio']="application/x-bcpio";
  127. $this->xlq_filetype['cpio']="application/x-cpio ";
  128. $this->xlq_filetype['gtar']="application/x-gtar";
  129. $this->xlq_filetype['shar']="application/x-shar";
  130. $this->xlq_filetype['sv4cpio']="application/x-sv4cpio";
  131. $this->xlq_filetype['sv4crc']="application/x-sv4crc";
  132. $this- >xlq_filetype['tar']="application/x-tar";
  133. $this->xlq_filetype['ustar']="application/x-ustar";
  134. $this->xlq_filetype[ 'man']="application/x-troff-man";
  135. $this->xlq_filetype['sh']="application/x-sh";
  136. $this->xlq_filetype['tcl ']="application/x-tcl";
  137. $this->xlq_filetype['tex']="application/x-tex";
  138. $this->xlq_filetype['texi']=" application/x-texinfo";
  139. $this->xlq_filetype['texinfo']="application/x-texinfo";
  140. $this->xlq_filetype['t']="application/x- troff";
  141. $this->xlq_filetype['tr']="application/x-troff";
  142. $this->xlq_filetype['roff']="application/x-troff";
  143. $this->xlq_filetype['shar']="application/x-shar";
  144. $this->xlq_filetype['me']="application/x-troll-me";
  145. $this->xlq_filetype['ts']="application/x-troll-ts";
  146. $this->xlq_filetype['gif']="image/gif";
  147. $this-> ;xlq_filetype['jpeg']="image/pjpeg";
  148. $this->xlq_filetype['jpg']="image/pjpeg";
  149. $this->xlq_filetype['jpe']= "image/pjpeg";
  150. $this->xlq_filetype['ras']="image/x-cmu-raster";
  151. $this->xlq_filetype['pbm']="???/x -portable-bitmap";
  152. $this->xlq_filetype['ppm']="image/x-portable-pixmap";
  153. $this->xlq_filetype['xbm']="???/x -xbitmap";
  154. $this->xlq_filetype['xwd']="image/x-xwindowdump";
  155. $this->xlq_filetype['ief']="image/ief";
  156. $this->xlq_filetype['tif']="???/tiff";
  157. $this->xlq_filetype['tiff']="???/tiff";
  158. $this->xlq_filetype[ 'pnm']="image/x-portable-anymap";
  159. $this->xlq_filetype['pgm']="image/x-portable-graymap";
  160. $this->xlq_filetype[ 'rgb']="image/x-rgb";
  161. $this->xlq_filetype['xpm']="image/x-xpixmap";
  162. $this->xlq_filetype['txt'] ="text/plain";
  163. $this->xlq_filetype['c']="text/plain";
  164. $this->xlq_filetype['cc']="text/plain";
  165. $this->xlq_filetype['h']="text/plain";
  166. $this->xlq_filetype['html']="text/html";
  167. $this->xlq_filetype ['htm']="text/html";
  168. $this->xlq_filetype['htl']="text/html";
  169. $this->xlq_filetype['rtx']="text /richtext";
  170. $this->xlq_filetype['etx']="text/x-setext";
  171. $this->xlq_filetype['tsv']="text/tab-separated-values ";
  172. $this->xlq_filetype['mpeg']="???/mpeg";
  173. $this->xlq_filetype['mpg']="video/mpeg";
  174. $this->xlq_filetype[' mpe']="???/mpeg";
  175. $this->xlq_filetype['avi']="video/x-msvideo";
  176. $this->xlq_filetype['qt']="??? /quicktime";
  177. $this->xlq_filetype['mov']="video/quicktime";
  178. $this->xlq_filetype['moov']="video/quicktime";
  179. $ this->xlq_filetype['movie']="video/x-sgi-movie";
  180. $this->xlq_filetype['au']="audio/basic";
  181. $this-> xlq_filetype['snd']="audio/basic";
  182. $this->xlq_filetype['wav']="audio/x-wav";
  183. $this->xlq_filetype['aif'] ="audio/x-aiff";
  184. $this->xlq_filetype['aiff']="audio/x-aiff";
  185. $this->xlq_filetype['aifc']="???/ x-aiff";
  186. $this->xlq_filetype['swf']="application/x-shockwave-flash";
  187. }
  188. }
  189. ?>

復代碼


? ????? ??
? ?? ??? ????? ???? ??? ??????, ???? ?????? ????. ? ???? ?? ???? ?? ??? ?? ????. ???? ??? ???? ???? ??? ?? admin@php.cn?? ?????.

? AI ??

Undresser.AI Undress

Undresser.AI Undress

???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover

AI Clothes Remover

???? ?? ???? ??? AI ?????.

Video Face Swap

Video Face Swap

??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

???

??? ??

???++7.3.1

???++7.3.1

???? ?? ?? ?? ???

SublimeText3 ??? ??

SublimeText3 ??? ??

??? ??, ???? ?? ????.

???? 13.0.1 ???

???? 13.0.1 ???

??? PHP ?? ?? ??

???? CS6

???? CS6

??? ? ?? ??

SublimeText3 Mac ??

SublimeText3 Mac ??

? ??? ?? ?? ?????(SublimeText3)

???

??? ??

??? ????
1601
29
PHP ????
1502
276
???
PHP ?? ??? ??????? PHP ?? ??? ??????? Jul 17, 2025 am 04:16 AM

PHP ?? ??? ?? ???? ?? ? ????? ??? ?????. 1. ?? ??? ??? ??? ??? ? ? ??? ??? ??? ?? ?? ??? ???? ???????. 2. ?? ??? ???? ???? ? ?? ????? ?? ?? ?? ??? ?????. 3. $ _get ? $ _post? ?? Hyperglobal ??? ?? ???? ?? ??? ? ??? ??? ??????? ???????. 4. ?? ?? ?? ???? ?? ?? ?? ??? ?????? ?? ??? ??? ?? ??? ???????. ??? ??? ????? ??? ??? ?? ???? ????? ? ??? ? ? ????.

PHP?? ?? ???? ???? ???? ??? ?????? PHP?? ?? ???? ???? ???? ??? ?????? Jul 08, 2025 am 02:37 AM

PHP ?? ???? ???? ????? ?? ? ??? ???? ?? ?? ? ??? ???? ?? ??? ?????? ??? ??? ? ? ???????. 1. ??? ?? CSRF? ???? ?? ??? ??? ???? ?????? ??? ???? FINFO_FILE? ?? ?? MIME ??? ?????. 2. ??? ??? ??? ???? ??? ?? ??? ?? ? WEB ????? ??? ???? ??????. 3. PHP ?? ??? ?? ? ?? ???? NGINX/APACHE? ??? ????? ?? ???? ?????. 4. GD ?????? ??? ? ?? ???? ??? ?? ??? ?? ????.

PHP?? ?? ?? PHP?? ?? ?? Jul 18, 2025 am 04:57 AM

PHP ?? ???? ? ?? ???? ??? ????. 1. // ?? #? ???? ? ?? ??? ???? // ???? ?? ????. 2. ?? /.../ ?? ?? ?? ??? ????? ?? ? ?? ??? ?? ? ? ????. 3. ?? ?? ?? / if () {} /? ?? ?? ??? ????? ??? ?? ?? ?? ??? ???? ????? ???? ??? ?? ???? ???? ??? ? ??? ??????.

PHP ?? ?? ? PHP ?? ?? ? Jul 18, 2025 am 04:51 AM

PHP ??? ???? ??? ??? ??? ????? ????. ??? ????? ?? ???? ??? "?? ? ?"??? "?"? ???????. 1. ??? ? ??? ??? DocBlock (/*/)? ?? ?? ??? ???? ??? ? ?? ???? ??????. 2. JS ??? ???? ?? ???? ??? ?? ??? ??? ?????. 3. ??? ?? ?? ?? ??? ???? ????? ????? ???? ?? ????? ???? ? ??????. 4. Todo ? Fixme? ????? ???? ? ? ??? ??? ???? ?? ?? ? ??? ???????. ??? ???? ?? ??? ??? ?? ?? ?? ???? ???? ? ????.

PHP?? ???? ??? ?????? PHP?? ???? ??? ?????? Jul 11, 2025 am 03:12 AM

Ageneratorinphpisamemory- ???? Way-Erate-Overgedatasetsetsbaluesoneatimeatimeatimeatimallatonce.1.generatorsuseTheyieldKeywordTocroadtOpvaluesondemand, RetingMemoryUsage.2

?? PHP : ??? ??? ?? PHP : ??? ??? Jul 18, 2025 am 04:54 AM

tolearnpheffectical, startBysetTupaloCalserErverEnmentUsingToolslikexamppandacodeeditor -likevscode.1) installxamppforapache, mysql, andphp.2) useacodeeditorforsyntaxsupport.3)) 3) testimplephpfile.next, withpluclucincludechlucincluclucludechluclucled

PHP?? ??? ? ???? ??? ????? ?? PHP?? ??? ? ???? ??? ????? ?? Jul 12, 2025 am 03:15 AM

PHP??? ???? ??? ?? ?? ????? ???? ??? ?? ??? ??? ?? ? ??? ??? ???? ?????. ???? 0?? ???? ?? ??? ???? ? ?? ???? ?? ?? ? ? ????. MB_SUBSTR? ?? ??? ??? ???????. ? : $ str = "hello"; echo $ str [0]; ?? H; ??? MB_SUBSTR ($ str, 1,1)? ?? ??? ??? ??? ??????. ?? ???????? ???? ??? ???? ?? ???? ?? ?? ???? ?????? ??? ????? ?? ??? ?? ??? ???? ???? ?? ????.

?? PHP ?? ??? ?? PHP ?? ??? Jul 18, 2025 am 04:52 AM

toinstallphpquickly, usexampponwindowsorhomebrewonmacos.1. ??, downloadandinstallxAmpp, selectComponents, startApache ? placefilesinhtdocs.2

See all articles