php date()º¯Êý˵Ã÷
string date ( string format [, int timestamp] ) //ÆäÖÐtimestampΪ¿ÉÑ¡£¬Ä¬ÈÏֵΪtime();
date("1"); //Monday
date("m.d.y"); //12.21.09
date("m.d.Y");//12.21.2009
$tomorrow = mktime(0, 0, 0, date("m") , date("d")+1, date("Y"));
$lastmonth = mktime(0, 0, 0, date("m")-1, date("d"), date("Y"));
$nextyear = mktime(0, 0, 0, date("m"), date("d"), date("Y")+1);
Ïà¹ØÎĵµ£º
ʹÓ÷½·¨£º
<?
Include “email.class”
$mail->setTo("a@a.com"); //ÊÕ¼þÈË
$mail-> setCC£¨"b@b.com,c@c.com"£©; //³ËÍ
$mail-> setCC£¨"d@b.com,e@c.com"£©; //ÃØÃܳËÍ
$mail->setfrom(“f@f.com”);//·¢¼þÈË
$mail->setSubject(“Ö÷Ìâ”) ; //Ö÷Ìâ
$ ......
PHP¶ÁÈ¡MYSQLÊý¾Ý¿â»òMSSQLÊý¾Ý¿âʱ£¬ÓÐʱ³öÏÖÂÒÂ룬ÕâÊÇPHP.iniÖÐÅäÖúÍ.phpÒ³Ãæ±àÂë²»Ò»ÖÂÒýÆðµÄ¡£
½â¾ö°ì·¨£º
1¡¢Ê×ÏÈ£¬½«PHP.iniÖÐÉèÖÃΪdefault_charset = "gb2312"£¬È»ºóÖØÆôApache¡£
Õâʱ´ÓÊý¾Ý¿âÖÐÌáÈ¡µÄ½á¹û¼¯¿ÉÒÔÕý³£ÏÔʾÖÐÎÄÁË£¬µ«.phpÒ³ÃæÖеÄÁÐÃûÒ²ÓпÉÄÜÏÔʾÂÒÂëÁË¡£ÕâÑù½â¾ö£¬
2¡¢È»ºó£¬PH ......
×÷ÕߣºEkerete
·Ò룺Emeric Li (http://lee.kometo.com/index.php/archives/117
)
ÔÎÄ£ºhttp://www.avnetlabs.com/php/php ... r-vs-zend-framework
ÎÒÃǼƻ®´ÓÍ·¿ªÊ¼Ò»¸öÐÂÏîÄ¿£¬Îª´ËÆÀ¹ÀÁËһЩPHP¿ò¼Ü¡£ÎÒÃǵı¸Ñ¡ÁбíÓÐCakePHP £¬ CodeIgniter £¬ SymfonyºÍZend ¡£ ÎÒÃÇ·Ö±ðʹÓÃÕâ4ÖÖ¿ò¼Ü±àдÁËÒ»¸öÏàͬµÄСӦÓ㨠......
PHPÓкܶàÖµµÃѧϰµÄµØ·½£¬ÕâÀïÎÒÃÇÖ÷Òª½éÉÜPHP SessionʹÓá£ÔÚPHP¿ª·¢ÖÐ¶Ô±ÈÆðCookie£¬session ÊÇ´æ´¢ÔÚ·þÎñÆ÷¶ËµÄ»á»°£¬Ïà¶Ô°²È«£¬²¢ÇÒ²»Ïñ Cookie ÄÇÑùÓд洢³¤¶ÈÏÞÖÆ£¬ÏÂÃæÎÒÃǾͼòµ¥½éÉÜ PHP SessionʹÓá£
¡¡¡¡ÓÉÓÚ Session ÊÇÒÔÎı¾ÎļþÐÎʽ´æ´¢ÔÚ·þÎñÆ÷¶ËµÄ£¬ËùÒÔ² ......