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

FTP µÃµ½ÎļþÊ÷[php]

<?php
 $host="192.168.1.214";
 $post=21;
 $username="zwc3g";
 $password="zwc3ggg";
 
 $ftp=ftp_connect($host,$post);
 ftp_login($ftp,$username,$password);
 displayTheFolder($ftp,"/zhulu2");
 
 //´òÓ¡FTPÉϵĸÃĿ¼ÏµÄËùÓÐÎļþ¡£
 function displayTheFolder($ftp,$fileOrFolderURL)
 {
  $fileOrFolderArray=ftp_nlist($ftp,$fileOrFolderURL);
  if(count($fileOrFolderArray)==1)
  {
   return "";
  }
  foreach ($fileOrFolderArray as $key =>$value)
  {
   echo "+".$value."<br>";
   displayTheFolder($ftp,$value);
  }
  ftp_cdup($ftp);
 }
?>
<pre>
--------------------------------------------------------------------------------
 FTP Îļþ´«Ê亯Êý¿â
--------------------------------------------------------------------------------
 
±¾º¯Êý¿â¹²ÓÐ 20 ¸öº¯Êý
FTP µÄȫΪ File Transfer Protocol£¬Ò²¾ÍÊÇÎļþ´«ÊäЭÒé¡£ÀûÓñ¾º¯Êý¿â¿ÉÒÔÈà PHP Ò²ÄÜ´¦Àí FTP µÄÏà¹Ø¹¦ÄÜ¡£±¾º¯Êý¿âÐèÒª PHP 3.0.13 °æÖ®ºó²ÅÖ§³Ö¡£ 
ftp_connect: ´ò¿ª FTP Á´½Ó¡£
ftp_login: µÇÈë FTP ·þÎñÆ÷¡£
ftp_pwd: È¡µÃÄ¿Ç°ËùÔÚ·¾¶¡£
ftp_cdup: »ØÉϲãĿ¼¡£
ftp_chdir: ¸Ä±ä·¾¶¡£
ftp_mkdir: ½¨ÐÂĿ¼¡£
ftp_rmdir: ɾ³ýĿ¼¡£
ftp_nlist: ÁгöÖ¸¶¨Ä¿Â¼ÖÐËùÓÐÎļþ¡£
ftp_rawlist: ÏêϸÁгöÖ¸¶¨Ä¿Â¼ÖÐËùÓÐÎļþ¡£
ftp_systype: ÏÔʾ·þÎñÆ÷ϵͳ¡£
ftp_pasv: Çл»Ö÷±»¶¯´«Êäģʽ¡£
ftp_get: ÏÂÔØÎļþ¡£
ftp_fget: ÏÂÔØÎļþ£¬²¢´æÔÚÒÑ¿ªµÄµµÖС£
ftp_put: ÉÏ´«Îļþ¡£
ftp_fput: ÉÏ´«ÒÑ´ò¿ªÎļþ¡£
ftp_size: »ñµÃÖ¸¶¨ÎļþµÄ´óС¡£
ftp_mdtm: »ñµÃÖ¸¶¨ÎļþµÄ×îºóÐÞ¸Äʱ¼ä¡£
ftp_rename: ½«Îļþ¸ÄÃû¡£
ftp_delete: ½«Îļþɾ³ý¡£
ftp_quit: ¹Ø±Õ FTP Á¬½Ó¡£
</pre>


Ïà¹ØÎĵµ£º

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

phpµ÷ÓÃÍⲿ³ÌÐòµÄ·½·¨Ò»°ãÓÃexec,systemµÈ£¬µ«ÕâÑùÖ´ÐеÄʱºò±ØÐëµÈ´ýÍⲿ³ÌÐò½áÊøºó£¬phpÒ³Ãæ²ÅÄܼÌÐøÖ´ÐУ¬·ñÔòÍøÒ³»áÒ»Ö±µÈ´ý¡£
ÈçºÎ¸Ä±äÕâÖÖÇé¿öÄØ£¿
Ê×ÏÈ
 ÒªÖªµÀphpµ÷ÓõijÌÐòĬÈ϶¼ÊÇ·ÅÔÚºǫ́ÔËÐеģ¬¼´Ê¹ÊÇ×ÀÃæ³ÌÐòÔÚ×ÀÃæÒ²¿´²»µ½£¬µ½½ø³ÌÁбí²ÅÄÜ¿´µ½
 
ÕâÊÇÓÉÓÚphpµ÷ÓóÌÐòÊÇͨ¹ýapacheÀ´Íê³ÉµÄ£ ......

ÓÃPHPʵÏÖPOP3ÓʼþµÄÊÕÈ¡

Ô­ÎÄÄÚÈÝûÓб仯£¬ÔÚ¹«Ë¾¿ìÏû»¯ÁËÁ½¸öϵͳÁË£¬ËùÒÔ´òËã×Ô¼ºÐ´Ò»¸ö¹¦ÄÜ»¹¿ÉÒԵĸöÈËϵͳ£¬ÎÒÖªµÀÍøÉϺܶ࣬ÎÒÒ²ÊÕ¼¯Á˺ü¸¸ö£¬µ«ÊÇÏë¿´¿´×Ô¼ºÄܲ»ÄÜ×ö³öÀ´£¬ºÃºÃ¼ÓÓÍ°É£¬ÔڳﱸµÄ¹ý³ÌÖÐÓöµ½ÁËÓʼþÕâÑùµÄÎÊÌ⣬ËùÒÔ»¨Á˵ãʱ¼äÑо¿ÁËÒ»·¬£¬ÍøÉÏÕÒµ½µÄºÃÄÚÈÝ£¬ÄóöÀ´·ÖÏíÒ»ÏÂ
ÒýÓÃÍøÖ·£ºhttp://www.china-askpro.com/msg36/qa ......

ÓÃPHPʵÏÖPOP3ÓʼþµÄ½âÂë

Ô­ÎÄÄÚÈÝûÓб仯£¬ÔÚ¹«Ë¾¿ìÏû»¯ÁËÁ½¸öϵͳÁË£¬ËùÒÔ´òËã×Ô¼ºÐ´Ò»¸ö¹¦ÄÜ»¹¿ÉÒԵĸöÈËϵͳ£¬ÎÒÖªµÀÍøÉϺܶ࣬ÎÒÒ²ÊÕ¼¯Á˺ü¸¸ö£¬µ«ÊÇÏë¿´¿´×Ô¼ºÄܲ»ÄÜ×ö³öÀ´£¬ºÃºÃ¼ÓÓÍ°É£¬ÔڳﱸµÄ¹ý³ÌÖÐÓöµ½ÁËÓʼþÕâÑùµÄÎÊÌ⣬ËùÒÔ»¨Á˵ãʱ¼äÑо¿ÁËÒ»·¬£¬ÍøÉÏÕÒµ½µÄºÃÄÚÈÝ£¬ÄóöÀ´·ÖÏíÒ»ÏÂ
ÒýÓÃÍøÖ·£ºhttp://www.china-askpro.com/msg36/qa ......

PHPÈ¡¶þ½øÖÆÎļþÍ·¿ìËÙÅжÏÎļþÀàÐÍ


<?php
$filename
=
"
D:
\\
296.mid
"
;
$file
     =
fopen
(
$filename
,
"
rb
"
)
;
$bin
      =
fread
(
$file
,
2
)
;
//Ö»¶Á2×Ö½Ú
fclose
(
$file
)
;
$strInfo
  = @
unpack
(
"
c2chars
" ......

phpÊÕ¼¯

get_class_methods() // ËùÓз½·¨   
get_included_files()//·µ»Øµ±Ç°Ò³ËùÓмÓÔصÄÎļþ   
get_declared_classes()// ·µ»Øµ±Ç°Ò³ËùÓÐclass   
get_declared_interfaces()// ·µ»ØËùÓеĽӿڠ  
get_defined_functions()// ·µ»ØËùÓеÄfunction &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ