phpÊÇʲô£¿
ÔÎÄÁ´½Ó£ºhttp://www.phpdo.net/index.php/2010/01/25/29/
ѧϰÁËÒ»¶Îʱ¼äPHP£¬¾õµÃÓеãÊÕ»ñ¡£Ò²Ó¦¸Ã½«Ñ§¹ýµÄ¶«Î÷ÄóöÀ´É¹É¹ÁË£¬²»È»¾Í½»»Ø¸ø¿Î±¾ÁË¡£
PHPÊÇÊ²Ã´ÄØ£¿
PHP£¬Êdz¬¼¶Îı¾Ô¤´¦ÀíÓïÑÔ£¨PHP:Hypertext Preprocessor£©µÄËõд¡£PHP ÊÇÒ»ÖÖ HTML ÄÚǶʽµÄÓïÑÔ£¬ÊÇÒ»ÖÖÔÚ·þÎñÆ÷¶ËÖ´ÐеÄǶÈëHTMLÎĵµµÄ½Å±¾ÓïÑÔ£¬ÓïÑԵķç¸ñÓеãÀàËÆÓÚCÓïÑÔ£¬ÏÖÔÚ±»ºÜ¶àµÄÍøÕ¾±à³ÌÈËÔ±¹ã·ºµÄÔËÓá£
PHP ¶ÀÌØµÄÓï·¨»ìºÏÁË C¡¢Java¡¢Perl ÒÔ¼° PHP ×Ô´´ÐµÄÓï·¨¡£Ëü¿ÉÒÔ±È CGI »òÕß Perl ¸ü¿ìËÙµÄÖ´Ðж¯Ì¬ÍøÒ³¡£ÓÃPHP×ö³öµÄ¶¯Ì¬Ò³ÃæÓëÆäËûµÄ±à³ÌÓïÑÔÏà±È£¬PHPÊǽ«³ÌÐòǶÈëµ½HTMLÎĵµÖÐÈ¥Ö´ÐУ¬Ö´ÐÐЧÂʱÈÍêÈ«Éú³ÉHTML±ê¼ÇµÄCGIÒª¸ßÐí¶à£»ÓëͬÑùÊÇǶÈëHTMLÎĵµµÄ½Å±¾ÓïÑÔJavaScriptÏà±È£¬PHPÔÚ·þÎñÆ÷¶ËÖ´ÐУ¬³ä·ÖÀûÓÃÁË·þÎñÆ÷µÄÐÔÄÜ£»PHPÖ´ÐÐÒýÇæ»¹»á½«Óû§¾³£·ÃÎʵÄPHP³ÌÐòפÁôÔÚÄÚ´æÖУ¬ÆäËûÓû§ÔÙÒ»´Î·ÃÎÊÕâ¸ö³ÌÐòʱ¾Í²»ÐèÒªÖØÐ±àÒë³ÌÐòÁË£¬Ö»ÒªÖ±½ÓÖ´ÐÐÄÚ´æÖеĴúÂë¾Í¿ÉÒÔÁË£¬ÕâÒ²ÊÇPHP¸ßЧÂʵÄÌåÏÖÖ®Ò»¡£PHP¾ßÓзdz£Ç¿´óµÄ¹¦ÄÜ£¬ËùÓеÄCGI»òÕßJavaScriptµÄ¹¦ÄÜPHP¶¼ÄÜʵÏÖ£¬¶øÇÒÖ§³Ö¼¸ºõËùÓÐÁ÷ÐеÄÊý¾Ý¿âÒÔ¼°²Ù×÷ϵͳ¡£
PHP×î³õÊÇ1994ÄêRasmus Lerdorf´´½¨µÄ£¬¸Õ¸Õ¿ªÊ¼Ö»ÊÇÒ»¸ö¼òµ¥µÄÓÃPerlÓïÑÔ±àдµÄ³ÌÐò£¬ÓÃÀ´Í³¼ÆËû×Ô¼ºÍøÕ¾µÄ·ÃÎÊÕß¡£ºóÀ´ÓÖÓÃCÓïÑÔÖØÐ±àд£¬°üÀ¨¿ÉÒÔ·ÃÎÊÊý¾Ý¿â¡£
ÔÚ1995ÄêÒÔPersonal Home Page Tools (PHP Tools) ¿ªÊ¼¶ÔÍâ·¢±íµÚÒ»¸ö°æ±¾£¬LerdorfдÁËһЩ½éÉܴ˳ÌÐòµÄÎĵµ£¬²¢ÇÒ·¢²¼ÁËPHP1.0¡£ÔÚÕâÔçÆÚµÄ°æ±¾ÖУ¬ÌṩÁ˷ÿÍÁôÑÔ±¾¡¢·Ã¿Í¼ÆÊýÆ÷µÈ¼òµ¥µÄ¹¦ÄÜ¡£ÒÔºóÔ½À´Ô½¶àµÄÍøÕ¾Ê¹ÓÃÁËPHP£¬²¢ÇÒÇ¿ÁÒÒªÇóÔö¼ÓÒ»Ð©ÌØÐÔ£¬±ÈÈçÑ»·Óï¾äºÍÊý×é±äÁ¿µÈµÈ£¬ÔÚеijÉÔ±¼ÓÈ뿪·¢ÐÐÁÐÖ®ºó£¬ÔÚ1995ÄêÖУ¬PHP2.0·¢²¼ÁË¡£µÚ¶þ°æ¶¨ÃûΪPHP/FI(Form Interpreter)¡£
PHP/FI¼ÓÈëÁ˶ÔmSQLµÄÖ§³Ö£¬´Ó´Ë½¨Á¢ÁËPHPÔÚ¶¯Ì¬ÍøÒ³¿ª·¢ÉϵĵØÎ»¡£µ½ÁË1996Äêµ×£¬ÓÐ15000¸öÍøÕ¾Ê¹Óà PHP/FI£»Ê±¼äµ½ÁË1997ÄêÖУ¬Ê¹ÓÃPHP/FIµÄÍøÕ¾Êý×Ö³¬¹ýÎåÍò¸ö¡£¶øÔÚ1997ÄêÖУ¬¿ªÊ¼Á˵ÚÈý°æµÄ¿ª·¢¼Æ»®£¬¿ª·¢Ð¡×é¼ÓÈëÁË Zeev Suraski ¼° Andi Gutmans£¬¶øµÚÈý°æ¾Í¶¨ÃûΪPHP3¡£2000Ä꣬PHP4.0ÓÖÎÊÊÀÁË£¬ÆäÖÐÔö¼ÓÁËÐí¶àеÄÌØÐÔ¡£
ÎÒÃÇÖªµÀ£¬Ä¿Ç°µÄITÁìÓòÓжàÖֽű¾ÓïÑÔ¹©Ñ¡Ôñ¡£ÄÇôΪʲôѡÔñPHP×÷ÎªÍøÕ¾µÄ½Å±¾ÓïÑÔÄØ£¿
1¡¢Ö§³ÖµÄÊý¾Ý¿â·Ç³£¹ã·º£¬MySQL¡¢SybaseºÍOracleµÈÊý¾ÝPHP¶¼Ö§³Ö£¬²¢ÇÒͨ¹ýODBCÓ¦Ó÷¶Î§¸ü¹ã£»
2¡¢¿çƽ̨ÐԺá£Ö§³ÖWindows¡¢Linux¡¢UnixµÈ¡£²¢ÇÒÖ§³ÖApache
Ïà¹ØÎĵµ£º
ÉùÃ÷£¬ÎÒÓõÄPHP¿ò¼ÜÊÇCI£¨codeignitor)
Ê×ÏÈÏÂÔØFCKeditor 2.6.3 £¨ÎÒʹÓõÄÊÇÕâ¸ö°æ±¾£©
¿ÉÒÔÔÚCSDNÖÐÏÂÔØ
½âѹ£¬½«FCKeditor2.6.3ÏÂÃæµÄfckeditorÕû¸öÎļþ¼Ð¸´ÖƵ½ÍøÕ¾¸ùĿ¼(ºÍindex.php£©Í¬Ò»¸öĿ¼£¬²¢¸üÃûΪfck£¨²»¸ÄÃûÒ²ÐУ¬µ«ºóÃæÉèÖøù·¾¶µÄʱºò£¬¼ÇµÃ¸ÄÃû×Ö£©
È»ºó ......
ÉùÃ÷£¬ÎÒÓõÄPHP¿ò¼ÜÊÇCI£¨codeignitor)£¬µ«ÆäʵÒòΪÊÇÓÃJSµ÷ÓÃFCKeditorµÄ£¬ËùÒÔÕâ¸öºÍ¿ò¼ÜûÓйØÏµ
Ê×ÏÈÏÂÔØFCKeditor 2.6.3 £¨ÎÒʹÓõÄÊÇÕâ¸ö°æ±¾£©
¿ÉÒÔÔÚCSDNÖÐÏÂÔØ
½âѹ£¬½«FCKeditor2.6.3ÏÂÃæµÄfckeditorÕû¸öÎļþ¼Ð¸´ÖƵ½ÍøÕ¾¸ùĿ¼(ºÍindex.php£©Í¬Ò»¸öĿ¼£¬²¢¸üÃûΪfck£¨²»¸ÄÃûÒ²ÐУ¬µ«ºóÃæÉèÖøù·¾¶µÄʱºò ......
PHP ¹ýÂËÆ÷ÓÃÓÚÑéÖ¤ºÍ¹ýÂËÀ´×Էǰ²È«À´Ô´µÄÊý¾Ý£¬±ÈÈçÓû§µÄÊäÈë¡£
ʲôÊÇ PHP ¹ýÂËÆ÷£¿
PHP ¹ýÂËÆ÷ÓÃÓÚÑéÖ¤ºÍ¹ýÂËÀ´×Էǰ²È«À´Ô´µÄÊý¾Ý¡£
ÑéÖ¤ºÍ¹ýÂËÓû§ÊäÈë»ò×Ô¶¨ÒåÊý¾ÝÊÇÈκΠWeb Ó¦ÓóÌÐòµÄÖØÒª×é³É²¿·Ö¡£
Éè¼Æ PHP µÄ¹ýÂËÆ÷À©Õ¹µÄÄ¿µÄÊÇʹÊý¾Ý¹ýÂ˸üÇáËÉ¿ì½Ý¡£
ΪʲôʹÓùýÂËÆ÷£¿
¼¸ºõËùÓÐ web Ó¦ÓóÌÐò¶¼ÒÀ ......
import java.io.IOException;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESKeySpec;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
public class DES {
private byte ......
ÎÒʹÓÃWAMP5 version 1.7.4°²×°PHP+Apache+MySQL¼¯³É»·¾³£¬ÔÚµ÷ÊÔÒ»¸ö³ÌÐòʱ£¬ÆäÑéÖ¤Âë²»ÄÜÏÔʾ£¬ÊÔÁ˺öà´Î£¬ÐÞ¸ÄÁËºÜ¶àµØ·½Ò²Ã»Äܳɹ¦¡£ÒÑ×öºÃµÄÅäÖÃÈçÏ£º
¢ÙÔÚphpinfÒ³ÃæLoaded Configuration FileºóÃæËùÖ¸¶¨µÄphp.iniÖаÑ;extension=php_gd2.dllÇ°ÃæµÄ;È¥µô¡£
¢ÚÖØÆôÁËApache·þÎñÆ÷¡£
Âé· ......