77;20202;0ccatbody
††††
To: to@example.com Subject: test subject From: from@example.com test body php_value mail.force_extra_parameters "-ffoo@example.com" †
ini_set( "SMTP", "mail.example.com"); ini_set( "smtp_port", 25); ini_set( "sendmail_from", "sender@example.com); C:\>telnet mail.example.com 25 HELO <hostname> MAIL FROM:<from@exmple.com> RCPT TO:<to@exmple.com> DATA Subject: test subject From: from@exmple.com To: from@exmple.com test body †
†
$ php -r ' $string = "abcdef"; if ( ereg( "^abc$", $string) !== FALSE) { echo "Match!!\n"; } else { echo "No match!!\n"; }' No match!! $ php -r ' $string = "abc\x00def"; if ( ereg( "^abc$", $string) !== FALSE) { echo "Match!!\n"; } else { echo "No match!!\n"; }' Match!! †mail() †
PEAR::Net_SMTP †
PEAR::Mail †
phpMailer †
|