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

PHP ·¢ËÍÓʼþ

 
PHP ·¢ËÍÓʼþ
×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-28 ÐÞ¸Ä:2007-06-17 ä¯ÀÀ:14208 ::  :: 
 PHP Sessions
PHP allows you to send e-mails directly from a script.
PHPÔÊÐíÄãͨ¹ý½Å±¾Ö±½Ó·¢ËÍe-mail¡£
The PHP mail() Function
PHP mail()º¯Êý
The PHP mail() function is used to send emails from inside a script.
PHP mail()º¯Êý¿ÉÒԴӽű¾ÄÚ·¢ËÍemail¡£
Syntax
Óï·¨
mail(to,subject,message,headers,parameters)
Parameter
²ÎÊýDescription
ÃèÊö
to
Required. Specifies the receiver / receivers of the email
±ØÒª²ÎÊý¡£Ö¸¶¨emailµÄ½ÓÊÕÕß
subject
Required. Specifies the subject of the email. Note: This parameter cannot contain any newline characters
±ØÒª²ÎÊý¡£Ö¸³öemailµÄÖ÷Ìâ¡£×¢Ò⣺Õâ¸ö²ÎÊý°üº¬µÄ×Ö·û²»ÄÜ»»ÐУ¨Ö»ÄÜÏÔʾһÐУ©
message
Required. Defines the message to be sent. Each line should be separated with a LF (n). Lines should not exceed 70 characters
±ØÒª²ÎÊý¡£¶¨Òå·¢Ë͵ÄÐÅÏ¢¡£Ã¿Ðж¼±ØÐëÓã¨n£©·Ö¸ô¿ª¡£Ã¿Ðв»Äܳ¬¹ý70¸ö×Ö·û
headers
Optional. Specifies additional headers, like from, Cc, and Bcc. The additional headers should be separated with a CRLF (rn)
¿ÉÑ¡²ÎÊý¡£Ö¸¶¨¸½¼Ó±êÌ⣬È磺form¡¢Cc¼°Bcc¡£¸½¼Ó±êÌâͨ¹ý£¨rn£©½øÐзָô
parameters
Optional. Specifies an additional parameter to the sendmail program
¿ÉÑ¡²ÎÊý¡£¸øsendmail³ÌÐòÖ¸¶¨Ò»¸ö¸½¼Ó²ÎÊý
Note: For the mail functions to be available, PHP requires an installed and working email system. The program to be used is defined by the configuration settings in the php.ini file. Read more in our PHP Mail reference.
×¢Ò⣺PHPÐèÒª°²×°¡¢ÔËÐÐemailϵͳ²Å¿ÉÒÔʹÓÃmailº¯Êý¡£ËùʹÓõijÌÐòÊÇͨ¹ýphp.iniÎļþÖеÄÅäÖÃÊôÐÔÀ´È·¶¨µÄ¡£ÔĶÁ¸ü¶àµÄ¹ØÓÚPHP Mail²ÎÊý¡£
PHP Simple E-Mail
¼òÒ×µÄE-mail
The simplest way to send an email with PHP is to send a text email.
ʹÓÃPHP·¢ËÍÓʼþµÄ×î¼òµ¥µÄ·½·¨¾ÍÊÇ·¢ËÍÒ»¸öÎı¾¸ñʽµÄemail¡£
In the example below we first declare the variables ($to, $subject, $message, $from, $headers), then we use the variables in the mail() function to sen


Ïà¹ØÎĵµ£º

PHPÊýѧº¯Êý£¨È«£©


Êýѧº¯Êý
Abs
º¯ÊýÃèÊö£ºmixed abs(mixed number);
·µ»ØÖµ£ºº¯Êýabs·µ»Ø²ÎÊýnumberµÄ¾ø¶ÔÖµ¡£
Acos
º¯ÊýÃèÊö£ºdouble acos(double number);
·µ»ØÖµ£ºº¯Êýacos·µ»Ø²ÎÊýnumberµÄ·´ÓàÏÒÖµ¡£Èç¹û²ÎÊýnumber´óÓÚ1»òСÓÚ1£¬
ÔòÆä·´ÓàÏÒÖµÎÞÒâÒå ¡£
Acosh --
·´Ë«ÇúÓàÏÒ
Asin
º¯ÊýÃèÊö£»double asin(double number); ......

ΪPHPÌí¼ÓmcryptÀ©Õ¹Ä£¿é

»ù±¾Ô­ÀíÊÇ£ºÊ×ÏÈʹmcryptÈí¼þÄܹ»ÔËÐУ¬È»ºó°²×°phpÀ©Õ¹Ä£¿é£¬²¢ÔÚphp.iniÅäÖá£
ÕâÀï×¢ÒâµÄÊÇmcryptÈí¼þÒÀÀµlibmcryptºÍmhashÁ½¸ö¿â£¬ËùÒÔ°²×°ÅäÖÃ˳Ðò´ÓÓÒÖÁ×ó
Ò»,ÏÂÔØ°²×°mcrypt
1.ÏÈÈ¥http://www.sourceforge.netÏÂÔØLibmcrypt,mhash,mcrypt°²×°°ü ,ÏÂÃæÊÇÎÒÕÒµ½µÄÁ´½Ó
   Libmcrypt(libmcrypt-2.5.8.t ......

PHP 5.3.1·¢²¼


PHP 5.3.1·¢²¼ÁË£¡´Ë´Î²¢Ã»ÓÐÔö¼Ó¶àÉÙÐÂÌØÐÔ£¬Ö÷ÒªÊǹ¦ÄܵĸĽøºÍbugµÄÐÞ¸´£º
ÐÂÔöÁËÒ»¸ömax_file_uploads²ÎÊý£¬ÓÃÓÚÏÔʾÿ¸öÇëÇóÉÏ´«ÎļþµÄ¸öÊý
ÐÂÔöÁËÔÙ´¦Àí¹ý³ÌÖеÄÍêÕûÐÔ¼ì²â
ÐÞ¸´ÁË´«µÝtempnam()º¯Êýʱsafe_modeÖеÄÎÊÌâ
ÐÞ¸´ÁË´«µÝposix_mkfifo()ʱopen_basedirÖеÄÎÊÌâ
ÐÞ¸´ÁËsafe_mode_include_dirÖеÄÎ ......

PHP 5.2.11°²×°

#ÕÒµ½:
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gz ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ