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

phpÖеĵ±Ç°ÍøÖ·ºÍ¸ù·¾¶

µ±Ç°ÍøÖ·ÊÇä¯ÀÀÆ÷ÀíÏÔʾµÄÍøÖ·£¬ÊÇÓû§¿´µ½µÄ¡£
¸ù·¾¶ÊÇphpÎļþÔÚ·þÎñÆ÷ÉϵÄ·¾¶£¬ÊÇÕæʵµÄÎļþ·¾¶¡£
(ÓëjavaÊDz»Ò»ÑùµÄ)
Èç¹ûÓжà²ãincludeÓï¾ä£¬±ØÐëÓøù·¾¶£¬·ñÔò³ö´í¡£
Ìá½»±íµ¥Ê±ÒªÌá½»µ½µ±Ç°ÍøÖ·µÄÏà¶Ô»òÕß¾ø¶ÔµÄÍøÖ·ÀïÃæ¡£
---------------------------------------------------------------------
Ò»¸öÊÇÍøÂçµ÷Óà һ¸ö±¾µØµ÷ÓÃ
----------------------------------------------------------------------
php ÖÐµÄ ¸ù·¾¶ ÊÇÏà¶ÔÓÚ´ÅÅÌÎïÀí·¾¶¶øÑԵġ£
¼´¹¤³ÌËùÔÚ´ÅÅ̵ĸùĿ¼¡£
 Èç¹ûApache µÄ°²×°Â·¾¶ÈçÏ£ºD:/php/Apache2.2/
ÔòÒýÓÃÎļþʱºò Èç¹ûÓà /mail/class.phpmailer.php 
Ôò±»ÒýÓõÄʵ¼Ê·¾¶ÊÇD:/mail/class.phpmailer.php 
 Èç¹ûÏëÕýÈ·ÒýÓÃÈçÏÂÎļþÔò£º
 require("/php/Apache2.2/htdocs/test/mail/class.phpmailer.php")
¼´ÒýÓõÄÊÇ
D:/php/Apache2.2/htdocs/test/mail/class.phpmailer.php"


Ïà¹ØÎĵµ£º

php±àÂëת»»×ܽá

iconvº¯Êý¿âÄܹ»Íê³É¸÷ÖÖ×Ö·û¼¯¼äµÄת»»£¬ÊÇphp±à³ÌÖв»¿ÉȱÉٵĻù´¡º¯Êý¿â¡£
1¡¢ÏÂÔØlibiconvº¯Êý¿âhttp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.9.2.tar.gz£»
2¡¢½âѹËõtar -zxvf libiconv-1.9.2.tar.gz;
3¡¢°²×°libiconv
££configure --prefix=/usr/local/iconv
#make
#make install
4¡¢ÖØбàÒëphp Ô ......

php³£ÓÃÀàÕûÀí

ÔÚʵ¼Ê¿ª·¢¹ý³Ì»á¾­³£»áÓöµ½Ò»Ð©Öظ´µÄ²Ù×÷£¬Èç¹ûÿ´Î¶¼Òª×Ô¼ºÈ¥ÊµÏÖÕâÎÞÒɼÓÖØÁË×Ô¼ºµÄ¹¤×÷Á¿£¬ÏÂÃæ¶ÔһЩ¿ÉÄܾ­³£Óõ½µÄÀà×ö¸öÕûÀí£º
ͼ±í¿â
ÏÂÃæµÄÀà¿â¿ÉÒÔÈÃÄãºÜ¼òµ¥¾ÍÄÜ´´½¨¸´ÔÓµÄͼ±íºÍͼƬ¡£µ±È»£¬ËüÃÇÐèÒªGD¿âµÄÖ§³Ö¡£
pChart - Ò»¸ö¿ÉÒÔ´´½¨Í³¼ÆͼµÄ¿â¡£
Libchart - ÕâÒ²ÊÇÒ»¸ö¼òµ¥µÄͳ¼Æͼ¿â¡£
JpGraph - Ò» ......

php³£ÓÃÀàÕûÀí

php³£ÓÃÀàÕûÀí
ʱ¼ä£º2009-12-19 20:45 À´Ô´£ºÈËÁ¦·½ ×÷Õߣºsyuanq µã»÷£º548
ÔÚʵ¼Ê¿ª·¢¹ý³Ì»á¾­³£»áÓöµ½Ò»Ð©Öظ´µÄ²Ù×÷£¬Èç¹ûÿ´Î¶¼Òª×Ô¼ºÈ¥ÊµÏÖÕâÎÞÒɼÓÖØÁË×Ô¼ºµÄ¹¤×÷Á¿£¬ÏÂÃæ¶ÔһЩ¿ÉÄܾ­³£Óõ½µÄÀà×ö¸öÕûÀí£º
ͼ±í¿â
ÏÂÃæµÄÀà¿â¿ÉÒÔÈÃÄãºÜ¼òµ¥¾ÍÄÜ´´½¨¸´ÔÓµÄͼ±íºÍͼƬ¡£µ±È»£¬ËüÃÇÐèÒªGD¿âµÄÖ§³Ö ......

PHPÖÐ__autoload()º¯ÊýµÄʹÓÃ


ÎÒÃÇÖªµÀÔÚPHP4ÀïÃ棬µ±ÎÒÃÇʹÓÃÒ»¸öÀàµÄʱºò£¬±ØÐ뽫¸ÃÀàËùÒÔÎļþʹÓÃinclude»òrequire¼Ó½øÀ´£¬ÕâÑùÎÒÃǾͿÉÒÔʹÓÃÀàÁË¡£
¶ø¶ÔÓÚPHP5À´ËµÒ²¿ÉÒÔʹÓÃÔÚPHP4ÀïÃæµÄ·½Ê½£¬½«ÀàÎļþ°ü½øÀ´£¬µ«µ±ÓÐÁË__autoloadÖ®ºó£¬ÕâÖÖÇé¿ö¾Í¿ÉÒÔ¿¿±àд¹æÔòҲʵÏÖ¡£
ÒÔÏ´úÂ룺
<?php 
$obj_A = new clsA(); 
......

PHP³£ÓÃ×Ö·û´®º¯ÊýÊÕ¼¯£¨60¸ö£©

1¡¢AddcSlashes ×Ö·û´®¼ÓÈ뷴бÏß
Óï·¨£ºstring addcslashes(string str,string charlist);
2¡¢AddSlashes ×Ö·û´®¼ÓÈ뷴бÏß
Óï·¨£ºstring addslashes(string str);
ÔÚÌض¨µÄ×Ö·ûÇ°¼Ó·´Ð±Ïߣº'¡¢"¡¢\¡¢NULL
3¡¢bin2hex ½«¶þ½øλת³ÉÊ®Áù½øλ
Óï·¨£ºstring bin2hex(string str);
4¡¢Chop È¥³ýÁ¬Ðø¿Õ°×,ͬrtrim()
Óï· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ