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

»ùÓÚraw smtpÓÃphpʵÏÖ¼òÒ×µÄsmtp¿Í»§¶Ë

ÈÎÎñÐèÇó£ºÒ»¸ö»áÒéͶ¸åϵͳ£¬ÔÚ×÷ÕßÌá½»ÂÛÎÄժҪʱ×Ô¶¯Ïò×÷Õß·¢ËÍÒ»·âÈ·ÈÏÓʼþ¡£
(×¢£ºÍ¶¸åϵͳʹÓõÄÊÇmyreview
)
×Ðϸ¿¼ÂÇһϣ¬Õâ¸öÈÎÎñ¿ÉÒÔÓÐÒÔϼ¸ÖÖ·½Ê½Íê³É£º
ÔÚ·þÎñÆ÷ÉÏÅäÖÃsendmail·þÎñ£¬Ê¹ÓÃphpÖеĵÄmailº¯Êý·¢ËÍÓʼþ£»
ÔÚ·þÎñÆ÷Éϰ²×°mutt + msmtp£¬»òÕßÔÚ·þÎñÆ÷Éϰ²×°ÆäËüµÄsmtp¿Í»§¶Ë³ÌÐò£¬Ê¹ÓÃsmtp¿Í»§³ÌÐò·¢ËÍÓʼþ
дһ¸öC/S³ÌÐò£¬Ã¿µ±ÓÐ×÷ÕßÌá½»ÂÛÎÄʱ£¬·þÎñÆ÷ÉϵÄclient¶Ë³ÌÐò¼´°ÑÓʼþÄÚÈÝ×éºÏºÃ£¬È»ºó֪ͨÔÚÎҵĵçÄÔÉϼàÌýµÄserver¶Ë³ÌÐò£¬server¶Ë³ÌÐòÓÚÊǵ÷ÓÃÎҵĵçÄÔÉϵÄÓʼþ·¢Ëͽű¾À´·¢ËÍÓʼþ¡£Õâ¸öc/s³ÌÐò¿ÉÒÔÓÃjava, c, phpµÈÀ´Ð´
ÓÃnc»òÕßtelnetʹÓÃraw smtpЭÒéÀ´·¢ËÍÓʼþ
´ÓÓÃlinuxÒÔÀ´¾Í¶ÔsendmailÕâ¸ö·þÎñûÓкøУ¬·½·¨Ò»·ÅÆú¡£Ò²²»ÏëÔÚ·þÎñÆ÷Éϰ²×°¸½¼ÓµÄÈí¼þ£¬ËùÒÔ·½·¨¶þ·ÅÆú¡£¶Ô±ÈÆðÀ´£¬·½·¨Ëıȷ½·¨Èý¸ü¼òµ¥Ò»Ð©¡£
·½·¨ËĵÄ˼·£ºÊ¹ÓÃtcpdumpÀ¹½ØÒ»´ÎÍêÕûµÄsmtp·¢ÐŹý³Ì£¬È»ºóд³ÌÐòÄ£ÄâÕâ¸ö¹ý³Ì¡£
Ê×ÏÈÆô¶¯tcpdump¶ÔÀ´ÍùµÄÊý¾Ý°ü½øÐÐ¼à¿Ø£º
[root@jcwkyl review]# tcpdump -vvv -t -X -s 1500 -w data host mail.jlu.edu.cn
-vvv±íʾÓÃ×îÏêϸµÄ¸ñʽÀ´¼Ç¼²¶»ñµÄÊý¾Ý°ü£¬-t±íʾ²»¼Ç¼ʱ¼ä´Á£¬-X±íʾÓÃhexºÍasciiÏÔʾÊý¾Ý°üÄÚÈÝ£¬-s±íʾÏÔʾ³¤¶ÈΪ1500¶ø²»ÊÇĬÈϵÄ68£¬-w±íʾÊä³öµ½dataÎļþÖС£
ͬʱ£¬·¢ËÍÒ»·âÓʼþ¡£
[whb@jcwkyl bash]$ echo "mail content" | mutt -s "test subject" jcwkyl@gmail.com
¿´Õâ±ßtcpdump£º
[root@jcwkyl review]# tcpdump -vvv -t -X -s 1500 -w data host mail.jlu.edu.cn
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 1500 bytes
Got 34
²¶»ñÁË34¸öÊý¾Ý°ü¡£²é¿´¼Ç¼Îļþ£º
[root@jcwkyl review]# tcpdump -vvv -t -X -s 1500 -r data | less
Êä³öºÜ¶à£¬´ÓÆäÖпÉÒÔ¿´µ½Êý¾ÝÍùÀ´µÄ¸ñʽ£¬½ØÈ¡ÆäÖÐÈý¸öÊý¾Ý°üΪÀý£º




<!--
@page { size: 8.5in 11in; margin: 0.79in }
P { margin-bottom: 0.08in }
-->

IP (tos 0x0, ttl 
61, id 51365, offset 0, flags [DF], proto: TCP (6), length: 63)
mail.jlu.edu.cn.sm
tp > jcwkyl.gridlab.57415: P, cksum 0x9765
(correct), 1:12(11) ack 1 win 1448 <nop,nop,timestamp 203
2907544
165074058>
        0x0000: 
4500 003f c8a5 4000 3d06 577f cac6 1038 


Ïà¹ØÎĵµ£º

WindowsXPËÑË÷PHP¡¢XMLµÈÎļþÄڵİüº¬ÎÄ×ÖµÄÉèÖ÷½·¨

µ±ÎÒÃÇÓÃWINDOWSËÑË÷ij°üº¬Ä³ÎÄ×ÖµÄÎļþʱ£¬¿ÉÒÔÔÚ“°üº¬ÎÄ×Ö”´¦ÌîÉÏËÑË÷´Ê¡£µ«ÊÇһЩ²»³£¼ûµÄºó׺ÃûÎļþWINDOWS²»»áËÑË÷£¬È磺£¬.log¡¢.dll¡¢.js¡¢.asp¡¢.xml¡¢.xsl¡¢.hta¡¢.css¡¢.wsh¡¢.cpp¡¢.c »ò .hµÈ¼°ÎÞºó׺ÃûµÄÎļþ¡£¶ÔÓÚÎҵȳÌÐò°®ºÃÕßÀ´ËµÊµÔÚÌ«²»·½±ãÁË£¬ËäÈ»ÓГÎı¾Ìæ»»´óʦ”µÈÈí¼þÄÜ×öÕ ......

phpͼƬ´¦ÀíÀࣺËõÂÔ£¬²Ã¼ô£¬Ô²½Ç£¬Çãб

<?php
/*
    Í¼Æ¬´¦ÀíÀࣺËõÂÔ£¬²Ã¼ô£¬Ô²½Ç£¬Çãб
*/
class resizeimage
{
   //ͼƬÀàÐÍ
   var $type;
   //ʵ¼Ê¿í¶È
   var $width;
   //ʵ¼Ê¸ß¶È
   var $height;
   //¸Ä±äºóµÄ¿í¶È
   var $resiz ......

PHPÏà¹ØÔÓÏî֪ʶ


php -h¿ÉÒÔ»ñÈ¡°ïÖúÐÅÏ¢¡£PHP°æ±¾ºÅÐÅÏ¢£º/your_current_path/php -v£¬PHPÔËÐнű¾£º/your_current_path/php your_file_path£¬PHPÔËÐÐÓï¾ä/your_current_path/php -r your_code_snippet¡£
´úÂëÖ´ÐнáÊøºó£¬PHP»á¸ù¾Ý¾ßÌåÖ´ÐÐÇé¿ö×Ô¶¯µÄÊÍ·Å£¬Èç¹ûÖ´Ðйý³ÌÖÐÄÚ´æÏûºÄ½Ï´ó£¬¿ÉÒÔÀûÓÃNULL»òunsetÀ´ÊÍ·ÅÄÚ´æ¡£Çø±ðÔÚÓÚ£¬Ç°Õß ......

½â¾öPHPÄÚ´æÒç³öµÄÎÊÌâ

Allowed memory size of 33554432 bytes exhausted (tried to allocate 4554 bytes)
      ÓÐʱºòÎÒÃÇÔÚÔËÐÐphp³ÌÐòµÄʱºò»á·¢ÏÖ Fatal Error: Out of memory ÕâÑùµÄÌáʾ¡£ ÕâÓпÉÄÜÊdzÌÐòÖÐÓõ½ÁË´óÁ¿Á˱äÁ¿ºÍ¶ÔÏ󣬵¼Ö·ÖÅäµÄÄÚ´æ²»¹»Óá£ÎÒ¾ÍÓöµ½ÕâÑùÒ»¸ö´íÎóÔõô¸ÄÒ²¸Ä²»ÁË£¬ºóÀ´ÉÏÍø²éÁËһР......

php postÊý¾Ý,cookie³ÌÐò


<?php
 
 $url="ÕâÀïдÇëÇóµØÖ·";//http://pmtest.webgame.com.cn/d.php
 $data="ÕâÀïдpostÊý¾Ý";//Èç:a=123&b=456 ±íʾ´«Á½¸ö²ÎÊýaºÍb
 $rfr="·¢³öÊý¾ÝµÄÒ³ÃæµÄµØÖ·";
 $cookie="ÕâÀïдcookie";//Èç:PHPSESSIDs=123456; b=11212
 /*
 Àý×Ó:
 $rfr="http://*.c ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ