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

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Îļþ¾Í³öÏÖÏÂÔØÌáʾ£¬ÏÂÔØÏÂÀ´µÄÎļþ¶¼ÊÇ´øÓÐ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:
......

phpÈçºÎ·ÃÎÊobject

ÇëÎÊ
object(Helper_Uploader_File) {
  protected '_file'  => array(
    'name' => string '4_¹âÓ°_1.jpg' (length=14)
    'type ......

ÈçºÎÔÚphpÍøÕ¾ÖÐÌí¼Ó±³¾°ÒôÀÖ - PHP / »ù´¡±à³Ì

ÎÒÔÚÍøÕ¾µÄÒýµ¼Ò³ÖÐÌí¼ÓÁË<embed src="ÒôÀÖµØÖ·" autostart="true" loop="true" hidden="true"></embed>
Õâ¾ä»°£¬È»ºóÌøתҳÃæºó£¬±³¾°ÒôÀÖ¾ÍûÓÐÁË£¬ÔõôÈÃÕ ......

PHPÂÒÂëÎÊÌâ - PHP / »ù´¡±à³Ì

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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ