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

PHP¹¤³Ìʦ±ÊÊÔÌâ

 Ò»¸ö¹«Ë¾¼òµ¥µÄÃæÊÔÌ⣺
1. ¼ò´ðÌâ
(1)һЩÏà¹ØLINUX·½ÃæµÄÖ¸Áî²Ù×÷eg: mkdir ´´½¨Ä¿Â¼ touch ´´½¨Îļþ¼ÐÒÔ¼°ÐÞ¸ÄȨÏÞchmodÖ®ÀàµÈµÈ
(2)¼òÊö²»Í¬°æ±¾µÄPHPÓÐʲôÇø±ð,ÊÔ¾ÙÀý¼òÊö.
(3),¼òÊö½Ó¿Ú¼¼ÊõµÄºÃ´¦,ÊÔ¾ÙÀý¼òÊö.
(4)ÈçºÎʹÓÃÏÂÃæµÄÀà,²¢½âÊÍÏÂÃæʲôÒâ˼?
class test{
    function Get_test($num){
    $num=md5(md5($num)."En");
    return $num;
}
(5)д³öSQLÓï¾äµÄ¸ñʽ : ²åÈ룬¸üУ¬É¾³ý
(6)ÓÃXML±àдͨ¹ýÈý¸ö×ÖÁ´½ÓÈýÕÅͼƬ
2 ±à³ÌÌâ
ʵÏÖ»áÔ±µÇ½ÐÅÏ¢£¬Í¨¹ýCookieÀ´ÊµÏÖ¡£
֮ǰÓиöUserµÄÀàÏà¹Ø¶ÎÈçÏÂ
class User{
    private id;
    private name;
    private password;
}
±àд¹¹Ô캯Êý  
public function __construct($data[ ]=null){
      //ÌîдʵÏֵIJ¿·Ö
}
public
setcookie(user $user){
     //ÌîдʵÏֵIJ¿·Ö
}
public
getcookie(){*
     //ÌîдʵÏֵIJ¿·Ö
}
http://student.csdn.net/space.php?uid=129862&do=blog&id=20498


Ïà¹ØÎĵµ£º

php arrayһЩº¯Êý

ÎÒÃÇÊÖÍ·µÄPHP×ÊÁϲ»¶à£¬´ó¼ÒÊDz»ÊǶ¼ÓÐÒ»·Ýphp4gb.chm¡£ÎÒ×îÐÀÉÍËüÀïÃæµÄº¯Êý¿â²¿·ÖÁË£¬ÕæÕýµÄÔÚÏß°ïÖú¡£µ«ÊÇPHP·¢Õ¹µÄ½Å²½ÊµÔÚÌ«¿ìÁË£¬Äãî¡£¬ÎÒ×î½üÔÚwww.php.net/manual/¡¡ÓÖÕÒµ½ÁËһЩÀ©Õ¹µÄÊý×麯Êý¡£
ÏÂÃæÎÒ°ÑËüÃǽéÉܸø´ó¼Ò°É£¬ÎÒµÄÓ¢ÎÄˮƽ²»¸ß£¬ÓÐÒëµÄ²»¶ÔµÄµØ·½£¬ÇëÖ¸Õý¡£
¸ñʽÊÇÕâÑùµÄ£º
º¯ÊýÃû Ö§³Ö°æ±¾ ......

Ä£°åÒýÇæ PHPÄ£°åÒýÇ桾smarty¡¿

[Smarty - ¹Ù·½ÍøÕ¾]
http://smarty.php.net/
[Smarty - ÏÂÔصØÖ·]
µ±Ç°°æ±¾ 2.6.18, http://smarty.php.net/do_download.php?download_file=Smarty-2.6.18.tar.gz

È«²¿Áбí, http://smarty.php.net/download.php

[Smarty - Ïà¹ØÂÛ̳]
http://php.board.newsmth.net/
http://forum.c ......

[ת]ÓÃphp_screw¼ÓÃÜPHP´úÂë

¿ªÊ¼Ö®Ç°£¬Ê×ÏÈÒª³ÎÇåÁ½¸öÎÊÌ⣺µÚÒ»£¬Ö§³Ö¿ªÔ´£¬²»µÈÓÚ·´¶Ô´úÂë¼ÓÃÜ£»µÚ¶þ£¬Èç¹û°Ñ²»ÊôÓÚ×Ô¼ºµÄ¶«Î÷£¨±ÈÈ繫˾µÄ£©ÄÃÈ¥¿ªÔ´£¬¾Í¸ü¼Ó²»Ó¦¸ÃÁË¡£
ÒÔÇ°ÖªµÀµÄ£¬PHP´úÂëµÄ¼ÓÃܶ¼ÊÇÓÃZendµÄencoder£¬ÕⶫÎ÷²»µ«ÊÇÉÌÒµÈí¼þ£¬ºÃÏñ»¹±©³ö¹ýÄܹ»±»ÆƽâµÄÎÊÌ⣬ËùÒÔ¾ÍÕÒµ½ÁËÌæ´úµÄ·½°¸©¤©¤©¤©¤php_screw£¬Ò»¸öÈÕ±¾ÈË¿ª·¢µÄ¶«¶«¡£
p ......

phpÐòÁл¯

1£®Ç°ÑÔ
PHP £¨´Ó PHP 3.05
¿ªÊ¼£©Îª±£´æ¶ÔÏóÌṩÁËÒ»×éÐòÁл¯ºÍ·´ÐòÁл¯µÄº¯Êý£ºserialize¡¢unserialize¡£²»¹ýÔÚ PHP
ÊÖ²áÖжÔÕâÁ½¸öº¯ÊýµÄ˵Ã÷½öÏÞÓÚÈçºÎʹÓ㬶ø¶ÔÐòÁл¯½á¹ûµÄ¸ñʽȴû×öÈκÎ˵Ã÷¡£Òò´Ë£¬Õâ¶ÔÔÚÆäËûÓïÑÔÖÐʵÏÖ PHP
·½Ê½µÄÐòÁл¯À´Ëµ£¬¾Í±È½ÏÂé·³ÁË¡£ËäÈ»ÒÔÇ°Ò²ËѼ¯ÁËһЩÆäËûÓïÑÔʵÏÖµÄ PHP ÐòÁл¯µ ......

phpѧϰ±Ê¼Ç£¨12£©:PHP+MYSQLÁôÑ԰壨ÉÏ

require()  Óë  require_once()
    
      ͨ³£·ÅÔÚ PHP ³ÌÐòµÄ×îÇ°Ã棬PHP ³ÌÐòÔÚÖ´ÐÐÇ°£¬¾Í»áÏȶÁÈë require
ËùÖ¸¶¨ÒýÈëµÄÎļþ£¬Èç¹û³öÏÖ´íÎóÊÇÖÂÃüµÄ¡£
nclude()  Óë  include_once()
    
    &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ