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

¹ØÓÚphp urlÖØд

Ïë°Ñhttp://www.abc.com/aa/bb/aa.php
ÖØд³Éhttp://www.abc.com/aa.php  ŪÁË°ëÌìÒ²²»ÖªµÀÈçºÎŪ¡«¡«
Õâ¸ö¿ÉÒÔʵÏÖô
RewriteRule ^([a-z0-9]+)\/([a-z0-9]+)\/([a-z0-9]+)\.php$ $3.php [L,QSA]

ÒýÓÃ
RewriteRule ^([a-z0-9]+)\/([a-z0-9]+)\/([a-z0-9]+)\.php$ $3.php [L,QSA]


Õâ¸öÔõôÍùhtaccessÕâ¸öÎļþÖÐд£¬ÎÒÊǸö²ËÄñ£¬²»ÖªµÀÔõôŪ ÎÒµÄÒâ˼ÊÇ°Ñ ÍøÕ¾ÖÐaa/bbÎļþ¼ÐϵĶ«Î÷È«²¿ÖØдµ½Ö÷Ŀ¼Ï£¬Ð»Ð»

ÓüÇʱ¾´ò¿ª htaccess

°ÑÕâ¸ö

RewriteRule ^([a-z0-9]+)\/([a-z0-9]+)\/([a-z0-9]+)\.php$ $3.php [L,QSA]

¼Ó½øÈ¥¾Í¿ÉÒÔÁË¡£´ó¸ÅÊÇÔÚ  ¼Óµ¹ÊýµÚ¶þÐаÉ

ÒýÓÃ
ÓüÇʱ¾´ò¿ª htaccess

°ÑÕâ¸ö

RewriteRule ^([a-z0-9]+)\/([a-z0-9]+)\/([a-z0-9]+)\.php$ $3.php [L,QSA]

¼Ó½øÈ¥¾Í¿ÉÒÔÁË¡£´ó¸ÅÊÇÔÚ  ¼Óµ¹ÊýµÚ¶þÐаÉ

ÎÒûÓÐÏֳɵÄhtaccess ±ØÐëн¨£¬¾ÍÕâÒ»¾ä¾ÍÐÐô

ÄãÊ×ÏÈҪʹÄãµÄ·þÎñÆ÷Ö§³Örewrite
½«Æä·Åµ½httpd.conf»òÕß.htacess¶¼¿É,µ«ÉÏÒ»¾äÊÇÇ°Ìá.

ÓÃnotepad+´ò¿ªhttp.conf rewrite

ѧϰ

mark


Ïà¹ØÎÊ´ð£º

PHPÀ©Õ¹CʱµÄÎÊÌâ

ÎÒÓÃPHPÀ©Õ¹Cʱ£¬ÓõÄÊÇÔ´ÂëextĿ¼ÏµÄ./ext_skel
×îºó±àÒë×ÜÊDz»ÄÜÉú³ÉÀ©Õ¹Ä£¿éµÄ.so¶¯Ì¬¿â£¬ÎÒÓõİ汾ÊÇ5.3.0£¬
ÕâÊÇÔõô»ØÊ£¬¸ßÊÖ½â´ðÏÂ

²»ÄÜÉú³ÉʱÓÐɶÌáʾÐÅÏ¢£¿

ÔËÐÐÁË/ext_skel --extname=Ä ......

php±àдִÐÐlinux shellÃüÁîµÄ´úÂë

ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾­¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£
ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......

±±¾©¼±ÕÐlinux¡¢PHPÍøÂçÓ¦Óÿª·¢

ÎÒÃÇÁ¥ÊôÖпÆÔº¼ÆËãËùÍøÂçÖصãʵÑéÊÒ(http://www.ict.ac.cn/survey/channel/detail443.asp)»ù´¡ÉèÊ©¿ÎÌâ×é.
ÏÖÒòÏîÄ¿ºÍÒµÎñÍØÕ¹µÄÐèÒª,ÌØÐèÒªÕÐƸÓëÏîÄ¿Ïà¹ØµÄÍøÂçÓ¦Óù¤³Ìʦ1-2Ãû¡£

¾ßÌåÒªÇóÈçÏ¡£ÓÐÒâÕß ......

php ʹÓà ADODB Á¬½ÓAccess µÄÎÊÌâ

<?php

include("adodb/adodb.inc.php");

$db = &NewADOConnection("access");
$access = realpath("Data.mdb");
$dsn = "Provider=Microsoft.J ......

phpÓÎÏ·¿ª·¢

ÇëÎÊһϸ÷λ´óϺ£¬ÎÒÓÃphp×ö¸öÍøÒ³ÓÎÏ·£¬µ±È»ÊÇ×îÀ¬»øµÄÄÇÖÖhtmlµÄ£¬
ÏÖÔÚÎÒÏë°ÑËùÓÐÍæ¼ÒºÍ¹ÖÎnpcµÄÊý¾Ý´¢´æ£¬
µ±È»£¬Êý¾Ý¿âÖе±È»ÓУ¬µ«ÊÇÎÒÓÖ²»Ïë¹ý¶àµÄÈ¥²éѯÊý¾Ý¿â£¬
±ÈÈçÕ½¶·ÏµÍ³£¬¿Ï¶¨ÒªÏȳõʼ»¯Ë«·½Êý ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ