phpÍøÕ¾·¢²¼ÎÊÌ⣡ - PHP / »ù´¡±à³Ì
²ËÄñÇó¾È£¡£¡ ÏÖÔÚÎÒÊÖÍ·ÓÐÒ»¸öphp+oracleµÄÍøÕ¾¡£¡£·þÎñÆ÷ÊÇlinuxϵͳ Çë¸÷λ¸æËßÎÒÈçºÎ·¢²¼¡£¡£¡£ÎÒÊÇÐÂÊÖ¡£Ð»Ð»ÁË£¡£¡
°²×°Ò»¸öapache£¬°ÑphpÎļþ·Åµ½apacheµÄ·¢²¼Ä¿Â¼Ï£¬Í¨³£ÊÇhtdocs ²»¶®Â¥Ö÷ÏëÒªÔõÑù·¢²¼. 1.ÔÚlinuxÖÐ×°ºÃApache/php/oracle. 2.µ÷ÊÔºÃphp,µ¼ÈëÊý¾Ý¿â. 3.copy´úÂë½øÈ¥.ÒýÓà °²×°Ò»¸öapache£¬°ÑphpÎļþ·Åµ½apacheµÄ·¢²¼Ä¿Â¼Ï£¬Í¨³£ÊÇhtdocs ¶ÔÓÚlinuxµÄϵͳÎÒ²»ÊìϤ¡£¡£ ÎÒÃǵķþÎñÆ÷ÊǽбðÈ˸ø×°ºÃµÄ¡£¡£ ËûÃÇ˵¹ý£¬linuxÀïÃæÒѾ½«phpµÄ»·¾³¸øÅäÖúÃÁË¡£¡££¨ËùÒԾͲ»ÐèÒªÎÒ×Ô¼º°²×°apacheÁË°É£¡£© ¿ÉÊÇÎҸղſ´ÁËÏÂûÓÐhtdocsµÄÎļþĿ¼¡£¡£ÒýÓà ²»¶®Â¥Ö÷ÏëÒªÔõÑù·¢²¼. 1.ÔÚlinuxÖÐ×°ºÃApache/php/oracle. 2.µ÷ÊÔºÃphp,µ¼ÈëÊý¾Ý¿â. 3.copy´úÂë½øÈ¥. Ôõô½«oracleµÄÊý¾Ý¿âµ¼½øÈ¥ÄØ£¿£¿ ·þÎñÆ÷ÍøÕ¾µÄ µÄÊý¾Ý¿âÊÇoracleÂ𣿠¹À¼ÆÂ¥Ö÷ûÓиãÇå³þ£¬apache£¬Êý¾Ý¿â ÔÚliunxÔõôÓÃÒýÓà ·þÎñÆ÷ÍøÕ¾µÄ µÄÊý¾Ý¿âÊÇoracleÂ𣿠¶÷£¬ÊǵÄÒýÓà ¹À¼ÆÂ¥Ö÷ûÓиãÇå³þ£¬apache£¬Êý¾Ý¿â ÔÚliunxÔõôÓà ¶÷¡£¡£¹ØÓÚlinuxµÄϵͳ¡£¡£ÎÒÊÇһͷÎíË®£¬µÚÒ»´Î½Ó´¥¡£¡£Çë¼ÙÏ£¬Ð»Ð»ÁË£¡£¡ ¿´Ï½̸̳üÇå³þ¡£¡£¡£¡£ÒýÓà ¿´Ï½̸̳üÇå³þ¡£¡£¡£¡£ Âé·³ÍƼöÒ»¸öÀ²¡£Ð»Ð»
Ïà¹ØÎÊ´ð£º
ÔÚ¹úÍâµÄ¿Õ¼ä£¬ÆäËüµÄphpÕ¾µã¶¼Õý³££¬¿ÉÖ»ÓÐ×î½ü½¨µÄÕâ¸öÕ¾µã£¬Ö»ÒªÒ»ä¯ÀÀphpÎļþ¾Í³öÏÖÏÂÔØÌáʾ£¬ÏÂÔØÏÂÀ´µÄÎļþ¶¼ÊÇ´øÓÐphpÔ´Â룬¸÷λ·¹ýµÄ£¬°ï°ïÎÒ£¬¿´¿´Ê²Ã´ÔÒò£¬ÏÈлÁË¡£ ¿ÉÄÜÊÇÒòΪ¸ÃÕ¾µãûÓÐÄãÏëÒªµÄä¯ÀÀÆ ......
PHP code: $date = '2009-12-25'; $ptn = '/([\d]{4})[- \/](0?[\d]|1[0-2])[-\/ ](0?[\d]|[1-2][\d]|3[0-1])/'; if (preg_match($ptn,$date,$out)) { print_r($out);exit(); } ½á¹ûΪ: PHP code: ......
ÇëÎÊ object(Helper_Uploader_File) { protected '_file' => array( 'name' => string '4_¹âÓ°_1.jpg' (length=14) 'type ......
ÎÒÔÚÍøÕ¾µÄÒýµ¼Ò³ÖÐÌí¼ÓÁË<embed src="ÒôÀÖµØÖ·" autostart="true" loop="true" hidden="true"></embed> Õâ¾ä»°£¬È»ºóÌøתҳÃæºó£¬±³¾°ÒôÀÖ¾ÍûÓÐÁË£¬ÔõôÈÃÕ ......
HTML code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org ......