Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 


Ïà¹ØÎĵµ£º

ÓÐûÓа취ÔÚphpÖÐʵÏÖ¶àÏß³ÌÄØ£¿

£¨×ª£©ÎÊÌ⣺
ÓÐûÓа취ÔÚphpÖÐʵÏÖ¶àÏß³ÌÄØ£¿
¼ÙÉèÄãÕýÔÚдһ¸ö»ùÓÚ¶ą̀·þÎñÆ÷µÄphpÓ¦Óã¬ÀíÏëµÄÇé¿öʱͬʱÏò¶ą̀·þÎñÆ÷·¢ËÍÇëÇ󣬶ø²»ÊÇһ̨½Óһ̨¡£
¿ÉÒÔʵÏÖÂð£¿
»Ø´ð£º
µ±ÓÐÈËÏëҪʵÏÖ²¢·¢¹¦ÄÜʱ£¬ËûÃÇͨ³£»áÏëµ½ÓÃfork»òÕßspawn threads£¬µ«Êǵ±ËûÃÇ·¢ÏÖphp²»Ö§³Ö¶àÏ̵߳Äʱºò£¬´ó¸Å»áת»»Ë¼Â·È¥ÓÃһЩ²»¹»ºÃµÄ ......

PHP »·¾³ÅäÖÃ

PHP »·¾³ÅäÖÃ
PHP ¸ÅÊö
£º
PHPÊÇÓ¢Îij¬¼¶Îı¾Ô¤´¦ÀíÓïÑÔHypertext PreprocessorµÄËõд¡£PHP ÊÇÒ»ÖÖ HTML ÄÚǶʽµÄÓïÑÔ£¬ÊÇÒ»ÖÖÔÚ·þÎñÆ÷¶ËÖ´ÐеÄǶÈëHTMLÎĵµµÄ½Å±¾ÓïÑÔ£¬ÓïÑԵķç¸ñÓÐÀàËÆÓÚCÓïÑÔ£¬±»¹ã·ºµÄÔËÓá£
PHP ¹¦ÄÜ
£º
PHP ¶ÀÌصÄÓï·¨»ìºÏÁË C¡¢Java¡¢Perl ÒÔ¼° PHP ×Ô´´ÐµÄÓï·¨¡£Ëü¿ÉÒÔ±È CGI »òÕß Perl ¸ü¿ ......

[ת]asp¡¢php¡¢asp.net¡¢jsp½éÉܼ°ÓÅȱµã±È½Ï


     ÏÖÔÚÖ÷Á÷µÄÍøÕ¾¿ª·¢ÓïÑÔÎÞÍâºõasp¡¢php¡¢asp.net¡¢jspµÈ¡£
     
     ÍøÒ³´Ó¿ªÊ¼¼òµ¥µÄhmtlµ½¸´ÔӵķþÎñÓïÑÔ£¬×ß¹ýÁË10¶à¸öÄêÍ·£¬¸÷ÖÖ¼¼Êõ²ã³ö²»Çµ¥¸öµÄÖ÷Á÷¼¼ÊõÒ²ÔÚ²»¶Ï·­Ðµİ汾£¬ÏÖÔÚ·ÖÎöϸ÷ÖÖÓïÑÔµÄÇø±ð¡¢ÓÅÊÆ¡¢ÁÓÊÆ¡¢¿ª·¢×¢ÒâÊÂÏ
   ......

PHP×Ö·û´®º¯Êý´óÈ«


AddSlashes: ×Ö·û´®¼ÓÈëбÏß¡£
bin2hex: ¶þ½øλת³ÉÊ®Áù½øλ¡£
Chop: È¥³ýÁ¬Ðø¿Õ°×¡£
Chr: ·µ»ØÐòÊýÖµµÄ×Ö·û¡£
chunk_split: ½«×Ö·û´®·Ö³ÉС¶Î¡£
convert_cyr_string: ת»»¹Å˹À­·ò×Ö·û´®³ÉÆäËü×Ö·û´®¡£
crypt: ½«×Ö·û´®Óà DES ±àÂë¼ÓÃÜ¡£
echo: Êä³ö×Ö·û´®¡£
explode: Çпª×Ö·û´®¡£
flush: Çå³öÊä³ö»º ......

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ºÅ