phpÄ£°å×ܽá
“Ä£°åÕⶫÎ÷,Æäʵ×îÖØÒªµÄÊÇÊʺÏ×Ô¼ºµÄÏîÄ¿ÐèÇó,¶ø²»ÊÇÊʺÏ×Ô¼ºµÄÏ°¹ß.±ÈÈçÒ»¸öÆóÒµµÄÐû´«ÍøÕ¾,·ÃÎÊÁ¿²»´ó,¸üÐÂÁ¿Ò²²»´ó,ÓÃʲô¶¼Ò»Ñù,ÉõÖÁ²»ÓÃ,
Ö±½ÓPHP+HTMLд¿ÉÄÜËÙ¶È×î¿ì.Ҳûʲô²»¿É.µ«ÊÇÈç¹ûÊÇÒ»¸öÐÂÎÅϵͳ,»òÕßÊÇÄÚÈÝ·¢²¼ÏµÍ³.Á½ÕßÕâÑù,¾Í·Ç³£ÓбØÒªÓõ½Ä£°åÕâÒ»¼¼Êõ.ÒòΪËûÃǶ¼
ÓÐÒ»¸ö¹²Í¨µÄµØ·½,¾ÍÊÇÓÐÒ»ÀàÒ³ÃæÒªÓõ½Í¬Ò»¸öÑùʽµÄÒ³ÃæÉè¼Æ.¶ø¸ù¾Ýʵ¼ÊÇé¿ö,±ÈÈç·ÃÎÊÁ¿µÄ´óС,ÏîÄ¿µÄ½ô¼±³Ì¶ÈÒÔ¼°³ÌÐòÔ±¶ÔÓÚÄ£°å¼¼ÊõµÄÊìÁ·³Ì¶È,Ñ¡
Ôñ×îÊʺÏÏîÄ¿µÄÄ£°å¼¼Êõ..Õâ²ÅÊÇÊ×Ñ¡¡£”[À´×Ôleslee]
“´Ó¿ªÊ¼Ñ§Ï°php¾Í¿ªÊ¼½Ó´¥Ä£°å£¬ÎÒÓõÄÊÇsmartyÄ£°åÒý
Çæ(¹Ù·½Ö§³Ö£¬¹¦ÄÜÇ¿´ó)£¬Ê¹ÓÃʱ¼äÔ½³¤Ô½·¢¾õµÃÄ£°åÊǸöºÃ¶«Î÷¡£Ö»ÒªÒªÉæ¼°µ½Ò³ÃæÏÔʾµÄ¶«Î÷£¬ÎҵĶ¼»áÓÃÄ£°åȥд£¬Èç¹û²»ÓÃÄ£°åд³ÌÐò×ܾõµÃ±ðŤ¡£ÎÒÏë
ÆäËûµÄphperÒ²»áÓÐÏàͬµÄ¸Ð¾õ£¬ÒòΪģ°åÉè¼ÆµÄ³õÖÔÊǽ«´úÂëºÍÒ³Ãæ·ÖÀë³öÀ´·Ö±ð´¦Àí£¬±Ï¾¹ËÒ²²»Ô¸ÒâÒ»±ßд´úÂ룬һ±ß´¦ÀíÒ³Ãæ¡£”
“ÓÐ
ÈË˵SMARTYÒѾºÜºÃÁË£¬µ«Ò²ÓÐÈË˵SUPERTPL¸üºÃ£¬Ò²ÓÐÈ˸üÖÐÒâÓÚPHPLIBÎÒÈÏΪÿ¸öÄ£°å¶¼ÓÐ×Ô¼ºÓŵ㣬ҲÓÐ×Ô¼ºµÄ²»×飬¹Ø¼ü¿´ÄãµÄÏîÄ¿
ÐèҪʲô£¬ÓÃʲô×îºÃ£¡”[À´×Ôfeifengxlq]“ÓÃÄ£°å¿Ï¶¨ÊÇûÓдíµÄ×î³õʹÓõÄÊÇPHPLIB£¬Ê¹ÓùýÁËÒ»¶Îʱ¼äºó£¬¸Ð¾õÌ«¼òµ¥ÁË£¬Ã¿¸öÄ£°å±ä
Á¿¶¼ÒªÐ´´úÂëÈ¥Ìæ»»£¬Ã¿ÒýÓÃÒ»¸öÄ£°åÒ²µÃдһÐдúÂ루ҲÐíPHPLIBÓÐÅúÁ¿´¦Àí¹¦ÄÜ£¬ÎÒÌ«²Ë²»ÖªµÀ£©Òò¶ø·ÅÆúÁË£¬ºóÀ´ÓÃplog½¨Õ¾µÄʱºò½Ó´¥µ½ÁË
smarty£¬¸Ð¾õsmarty¹ýÓÚÅÓ´ó£¬È·ÊµÄܼӿ쿪·¢½ø¶È£¬µ«ÊǺܶ๦ÄÜʵ¼Ê¶¼Óò»ÉÏ£¬Òò´Ë£¬×îºó»¹ÊÇ×Ô¼ºÐ´ÁËÄ£°åÒýÇ棬Ҫģ°åʵÏֵŦÄܼܺòµ¥£¬¾Í
ÊÇÒ»¸öÄ£°å±äÁ¿µÄÌæ»»¹¦ÄÜ£¬ÔÙ¼ÓÉÏincludeÆäËûÄ£°åºÍforeach¿é²Ù×÷¹¦ÄÜ¡£”
“ÎÒ»¹ÊÇÓÃPHPLIB£¬²»¹ý£¬Îһᰴ
×ÔÒѵľÑéÓëÐèÒª£¬Ð´Ò»Ð©º¯Êý»òÀàÀ´·â×°×î³£ÓõÄһЩÕë¶ÔÄ£°åÊä³öµÄ´¦Àí¡£”[À´×Ôseraph]“ÎÒʹÓÃ×Ô¼ºµÄÄ£°å,»¹ÒªÐ´Ä£°å½âÎö´úÂ룬ÀÛѽ¡£ÎÒÑ¡Ôñ
ʹÓÃÏÖÓÐÓÅÐãµÄÄ£°å¡£”[À´×ÔBantu]“żÔÚ±ðµÄÂÛ̳ÉÏ¿´¼ûһЩºÜÀ÷º¦µÄÈ˲»ÓÃÄ£°å...¿ÉÄÜÊÇûµ½ÄÇÖÖ¾³½ç...¸öÈ˸оõ»¹ÊÇʹÓÃÄ£°åµÄºÃ..ÖÁÉÙ
¿ÉÒÔ·Ö¹¤..¼Ó¿ì¿ª·¢Ëٶȡ£Ê¹ÓÃ×Ô¼ºµÄÄ£°å? ¸Ð¾õûÓбØÒª¹þ...ÓÃÏֳɵľÍÐÐÁË..ÔÚÏֳɵĻù´¡ÉϼÓÉÏһЩ×Ô¼ºÑ§ÒªµÄʵ¼Ê¹¦ÄÜ¡£”[À´×ÔPhzzy]
“ÎÒ²»Ê¹ÓÃÄ£°åÒýÇ棬µ«ÎÒÒ²ÊÇʹÓÃÄ£°å£
Ïà¹ØÎĵµ£º
Blogϵͳ×÷Ϊ´ó¼Ò×î³£½Ó´¥µÄ»¥ÁªÍø¶«¶«£¬ÔÚÕ¾³¤ÈºÌåÖм¸ºõÈËÊÖÒ»²©£¬´ÓÖªÃûÃÅ»§µÄ²©¿ÍƵµÀ£¬µ½ÍøÂçÓªÏúר¼Ò²©¿Í£¬ÍøÃñ¶Ô²©¿ÍµÄ¹Ø×¢¶ÈÔÚ²»¶ÏÌá¸ß²¢É¡£Ä¿Ç°ÍøÉÏÃâ·ÑµÄblogϵͳ̫ÔÓ£¬ÔÚ´ËÕûÀíPHP°æµÄBlog½éÉÜÈçÏ£º
1¡¢wordpress:http://www.wordpress.org ¹¦ÄÜÒ²ºÜÈ«Ã棬Ӧ¸ÃÊÇÖ§³ÖblogµÄÊ×Ñ¡¡£ËüÓÐ×îÇ¿µÄÄ£°æ¹¦ÄÜ£¬ÒѾ ......
<?php
$mysql_server_name = "localhost";
$mysql_username = "root";
$mysql_password = "root";
......
PHP¿ª·¢³£¼ûÎÊÌâ½â¾öÁбí
1. ѧϰZend Framework tutorial¹ý³ÌÖеÄÎÊÌâ
£¨1£©Ö´ÐÐ"zf create project zf-tutorial"³öÏÖÈçÏ´íÎó£º
'"php.exe"' is not recognized as an internal or external command, operable program or batch file.
½â¾ö°ì·¨£ºÔÒòÊÇÒòΪphp.ex ......
·þÎñÆ÷½Å±¾ÓëJavascriptµÄÁ½ÖÖ½»»¥·½Ê½(ÒÔphpΪÀý)
ÒýÓÃ:http://www.knowsky.com/1014.html
ÔÚÍøÒ³ÖÆ×÷¹ý³ÌÖÐÔõÑùÔÚ²»Ë¢ÐÂÒ³ÃæµÄÇé¿öÏÂʹǰ̨ҳÃæºÍºǫ́CGIÒ³Ãæ±£³Ö½»»¥Ò»Ö±ÊǸöÎÊÌâ¡£ÕâÀï½éÉÜÁ½¸ö·½·¨¡£
·½·¨Ò»£ºÍ¨¹ýCookie½»»¥¡£
Ò»¹²ÊÇÈý¸öÎļþ£¬·Ö±ðΪ£ºindex.htm,action.php,main.htm
ÔÀíΪǰ̨ҳÃæmain.htmºÍº ......
<?php
header("content-type:image/png"); //¶¨ÒåÊä³öµÄͼÏñÀàÐÍ£»
$image=imagecreate(300,155); //н¨Í¼Ïñ£»
$bg=imagecolorallocate($image,220,40,120); &nbs ......