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

PHPÓʼþÊÕ·¢£¬ºÍ±àÂëÎÊÌâ¡£Êý¾ÝÆ¥Åä

<?php
header("content-type:text/html; charset=UTF-8");
/*
 * record kid words and insert into database
 * user by sending email to publication kid words
 *
 */
include 'POP3.php';
include 'email_class.php';
include 'Mail_mimeDecode.php';
//include 'include/compatible.php';
include 'include/extend_common.php';
//include '../../htdocs/include/extend_common.php';
define('POST_from_EMAIL',   1);
define('DATABASE_CONNECTION_ERROR', 2);//Êý¾Ý¿âÁ¬½Óʧ°Ü´íÎó
define('EMAIL_CONNECTION_ERROR', 3);//ÓÊÏäÁ¬½Óʧ°Ü´íÎó
define('ACCOUNT_ERROR',    4);//ÓÊÏäµÄÕ˺ŴíÎó
define('SIGN_EMAIL_ERROR',   5);//Óʼþ±ê¼Çɾ³ý´íÎó
define('DELELET_ERROR',    6);//ɾ³ýÓʼþ´íÎó
define('INSERT_ERROR',    7);//²åÈëÊý¾Ýʧ°Ü´íÎó
class mail_data {
 function mail_data(){
  include 'config.php';  
  $mail_log=fopen("mail_log.txt","a+");
  $conn=@mysql_connect($db_host,$db_user,$db_password);
  if($conn){
   mysql_select_db('t',$conn);
   mysql_query("set names utf8");
   $pop3=new Net_POP3();
   //ÅжÏÁ¬½ÓÊÇ·ñ³É¹¦
   if ($pop3->connect($host,110)){
    //ÅжϵÇÈëÊÇ·ñ³É¹¦
    if($pop3->login($user,$password)===true){
     $list=$pop3->_cmdList();
     $sum=$pop3->_cmdStat();
     //ÿ´ÎÈ¡¶àÉÙÓʼþ
     $step=2;
     $r=0;
     //ÏȶÔÓÊÏäÈ¡$stepÓʼþ
     for($n=0;$n<$sum[0];$n+=$step){
      $t=0;
      $users=array();
      $mail=array();
      $offset=($sum[0]-$n)<$step?


Ïà¹ØÎĵµ£º

MemcachedÖÐPerlÐòÁл¯´æ´¢µÄ¶ÔÏóPHPÎÞ·¨¶ÁÈ¡µÄ½â¾ö

Perl MemcachedµÄ¿Í»§¶ËÐòÁл¯¶ÔÏó²ÉÓõÄÊÇStorableÄ£¿éµÄnfreeze·½·¨£¬¶øÕâ¸ö·½·¨ÓÖµ÷ÓÃÁËcÀ©Õ¹µÄdo_store·½·¨£»·´ÐòÁл¯Ê¹ÓõÄÊÇStorableÄ£¿éµÄthaw·½·¨£¬¶øÕâ¸ö·½·¨ÓÖÊǵ÷ÓõÄcÀ©Õ¹µÄdo_retrieve·½·¨¡£
¶øÔÚPHPÖУ¬½øÐеÄÈ´ÊÇserializeºÍunserialize²Ù×÷¡£Ôì³ÉÁËÎÞ·¨Õý³£¶ÁÈ¡µÄ½á¹û¡£
Perl´æ´¢Ò»¸ö('a', 'c')Êý×éµÄÒýÓ ......

PHP»·¾³´î½¨

http://www.521000.com/bbs/dispbbs.asp?BoardID=9&ID=1236357
PHP»·¾³´î½¨
ApacheµÄ°²×°ÓëÅäÖÃ
Ò»¡¢ApacheµÄ°²×°
1.´ÓApacheµÄ¹Ù·½ÍøÕ¾ÏÂÔØ°²×°Èí¼þ£ºhttp://httpd.apache.org/download.cgi£¬Ä¿Ç°µÄ×îа汾ÊÇapache_2.2.11-win32-x86-no_ssl.msi¡£
2.´ò¿ªÎҵĵçÄÔ£¬½øÈëDÅÌ£¬ÔÚÆäÏÂн¨Ò»¸öÎļþ¼Ð£¬ÃûΪ loca ......

PHPÌáÈ¡8684¹«½»Êý¾Ý

×î½üÒ»ÄêÀ´Ò»Ö±ÔÚʹÓÃfedora£¬·¢ÏÖlinuxÕæÊÇÌ«ÊʺÏÎÒÁË£¬Ï²»¶Ð´³ÌÐò£¬×Ô¼ºÏ¹µ¹ÌÚ£¬°¦windowsÎóÎÒ´óºÃÄ껪……
ÓÃPHPдÁËÒ»¶Î³ÌÐòÓÃÓÚÌáÈ¡ÍøÒ³ÖеÄÊý¾Ý£¬ÏàÐÅËÑË÷ÒýÇæÒ²ÊDz¶àµÄÏë·¨£¬Ö»²»¹ýËûÃÇÊý¾Ý¶à£¬Ëã·¨ºÃЩ£¬ºÇºÇ
[php]
<?php
/*
*´ËÎļþµÄÄ¿±êÊÇ×Ô¶¯ËѼ¯´æ´¢8684ÉϵÄÉîÛÚÊй«½»Êý¾Ý
*
*ÓÉ ......

PHP³ÌÐò¿ª·¢¸ßЧµÄWEBϵͳ

 
PHPÊÇÒ»¸öºÜÓÅÐãµÄ¹¤¾ß£¬Ëü¿ÉÒÔ¼òµ¥£¬Ò²¿ÉÒÔ¸´ÔÓ¡£²»Ò»ÑùµÄÏîÄ¿£¬Ó¦¸ÃÓò»Ò»ÑùµÄPHP¡£
 
СÏîÄ¿ - ¼òµ¥¶øÖ±½ÓµÄPHP
 
Ò»°ã¶ÔÓÚÒ»¸ö¹¦ÄÜÒ³ÃæÔÚ20ÒÔϵÄÍøÕ¾£¬ÎÒÃÇ¿ÉÒÔÓÃÒ»¸öºÜ¼òµ¥µÄ¿ò¼Ü½á¹¹À´Ð´¡£ÔÚÕâ¸ö¹æÄ£ÉÏ£¬ÎÒ½¨ÒéÊÇʹÓñȽÏÖ±½ÓµÄÃæÏò¹ý³Ì±àÂë·½·¨£¬Ô­ÒòºÜ¼òµ¥£¬Ã»ÓбØÒª°ÑclassÎļþŪµÄN ¶à£¬½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ