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

α¾²Ì¬URLÖØд¼¼ÊõʵÏÖ·½·¨ php asp

α¾²Ì¬Óõ½ÖªÊ¶ºÜ¼òµ¥Ò»µ©Ñ§»á£¬¿ìÀÖÎÞÇֻÐèÒªÕýÔòºÍ·þÎñÆ÷ÉèÖá£
  ÏÈ˵iisÈçºÎÉèÖðɣ¬ÍùÏ¿´
  ÏÂÔØ(IIS RewriteÄ£¿é): http://www.isapirewrite.com/,ÏȰѲúÆ·ÏÂÔØÏÂÀ´,°²×°ÔÚ·þÎñÆ÷ÉÏ,¼ÇסĿ¼,»áÓÐÀàËÆRewrite.dllµÄÎļþÉú³É,MMC→IISÐÅÏ¢·þÎñ¹ÜÀíÆ÷→ÍøÕ¾→ÄúµÄÕ¾µã→ÊôÐÔ,ÔÚ“ISAPIɸѡÆ÷”Ïîµã»÷ “Ìí¼Ó”£¬ ɸѡÆ÷Ãû³ÆÌîÈëRewrite£¬¿ÉÖ´ÐÐÎļþΪRewrite.dlÕâ¸öÎļþ.
   È»ºóÐÞ¸Ähttpd.iniÅäÖÃÎļþ,Èç¹û²»Ì«ÊìϤ,¾ÍÔÚhttp://www.isapirewrite.cn/docs¿´¿´ÊÖ²á,Ñо¿È¥,Èç´Ë:
[ISAPI_Rewrite]
CacheClockRate 3600
RewriteRule ^(.*)/([a-z0-9A-Z\-]+\.html)$ $1/default.asp\?id=$2  
 Õâ¸öÅäÖúÃÁ˾ÍÄÜÔÚdefault.asp»ñÈ¡²ÎÊýÁË,ûÎÊÌâ°Ñ,˳±ãһ˵,ÕýÔòÓ÷¨ÀïÃæ×îÖØÒªµÄ·ûºÅ^Æ¥Å俪ͷ,$Æ¥Åä½áβ,\wÆ¥ÅäÈκÎ×Ö·û,\sÆ¥Åä¿Õ°×,+Æ¥ÅäÖÁÉÙÒ»,*Æ¥ÅäÖÁÉÙ0,[x,]Æ¥ÅäÖÁÉÙx,()ÊÇ·Ö×é¼¼Êõ,º¹,ÕⶫÎ÷²»ËµÁË,Ì«ÈõÁË.
  ÏÂÃæ˵apache(Unixƽ̨×îÁ÷ÐеÄWEB·þÎñÆ÷ƽ̨)µÄÖØд¼¼Êõ,»ù±¾ÀàËÆ,Ö»²»¹ý,apacehÖ§³Ö¸üÁé»îµÄ.htaccess,Äã´´½¨Ò»¸öÎļþ,ÎļþÃû¾ÍÊÇ.htaccess:ÄÚÈÝ:
RewriteEngine On
RewriteRule ^([a-z0-9A-Z\-]+\.html)$ default.php\?id=$1
  ¾ÍÕâÑù,¸ã¶¨Ö®.×¢Òâ,±ØÐëÒª¿Õ¼äÖ§³Ö Rewrite ÒÔ¼°¶ÔÕ¾µãĿ¼ÖÐ .htaccess µÄÎļþ½âÎö,²ÅÓÐЧ.
ÈçºÎÈÿռäÖ§³ÖRewrite ºÍ .htaccess µÄÎļþ½âÎöÄØ ÍùÏ¿´
µÚÒ»²½:ÎÒÃÇÒªÕÒµ½apache(Unixƽ̨×îÁ÷ÐеÄWEB·þÎñÆ÷ƽ̨)°²×°Ä¿Â¼ÏµÄhttpd.cofÎļþ,ÔÚÀïÃæÕÒµ½
<Directory />
    Options FollowSymLinks
    AllowOverride none
</Directory>
°Ñnone¸Äall,
µÚ¶þ²½£ºÕÒµ½Ò»ÏÂÄÚÈÝ
#LoadModule rewrite_module modules/mod_rewrite.so
¸ÄΪ
LoadModule rewrite_module modules/mod_rewrite.so
µÚÈý²½¾ÍÊÇ×îÀ§Äѵģ¬±£´æÖØÆôapache(Unixƽ̨×îÁ÷ÐеÄWEB·þÎñÆ÷ƽ̨)ÁË¡£ ÐèÒª×Ô¼ºÓÃÐÄÑо¿ÁË¡£
ʣϵľÍÊDzâÊÔÁË¡£¡£ÒÔÉÏÉèÖÃÎÒ¶¼²âÊÔͨ¹ýÁË¡£


Ïà¹ØÎĵµ£º

php ÖÐÇÉÓà @ ȦA Ȧa Îļþ²Ù×÷ ¾¯¸æ

¶ÔÓÚ³õѧÕßÀ´Ëµ£¬ÎÒÃÇÓÐʱºò»á¿´¼ûPHPÖÐÓÐÕâÑùµÄд·¨£º
@ unlink($filepath);
Ò²¿ÉÒÔд³É£º
unlink($filepath);
²»Ã÷°×ÕâÁ½ÖÖд·¨ÓÐʲôÇø±ð£¬±íÃæÉÏ£¬³ÌÐòÔËÐÐÆðÀ´ËƺõûʲôÇø±ð¡£
ʵ¼ÊÉÏ£¬¼ÓÉÏ@·ûºÅ£¬ÓÐÒÖÖÆ´íÎóÏÔʾµÄ¹¦ÄÜ¡£
¾ÍÄÃÉÏÃæµÄ´úÂëÀ´Ëµ£¬È¥µô@ʱ£¬
Èç¹û±»É¾³ýµÄÎļþ²»´æÔڵĻ°£¬Ôò»áÏÔʾÎļþ²»´æÔڵĴíÎ ......

php ×Ö·û´®°²È«¹ýÂË È«¹¥ÂÔ

<?php
if (!get_magic_quotes_gpc()) {
add_slashes($_GET);
add_slashes($_POST);
add_slashes($_COOKIE);
}

function add_slashes($string) {
if (is_array($string)) {
foreach ($string as $key => $value) {
$string ......

ºÃÓõĴøphp µÄÃâ·Ñ¿Õ¼ä

¿Õ¼ä˵Ã÷£º   (À´×ÔÕʺţºwujiapµÄÍƹã)
1¡¢Ö§³ÖASP¡¢PHP¡¢HTML
2¡¢Ö§³ÖFTPÉÏ´«£¨100M£©
3¡¢¼¼ÊõÖ§³Ö--BBSµçÄÔÂÛ̳.
4¡¢Ìṩ50M MySqlÊý¾Ý¿âʹÓÃ.
5¡¢ÌṩÃâ·Ñ¶þ¼¶ÓòÃû
6¡¢Ìṩ¶¥¼¶ÓòÃû°ó¶¨·þÎñ
7¡¢Ö§³Ö¿ØÖÆÃæ°æ¶ÀÁ¢×ÔÖú¹ÜÀí
8¡¢Ãâ·Ñ¿Õ¼äÏÞÖÆIISÁ¬½ÓÊý=(100)
9¡¢¿Õ¼äËٶȿÉÒÔ·ÃÎÊGhostXpÏÂÔØÕ¾²âÊÔ
Èø ......

ubuntuÏÂeclipse°²×°PDT(php development toolkit)


¸Ðл×÷Õߣ¬ÎÄÕÂÀ´Ô´
http://www.csask.com/blog/?p=108
eclipseÊÇÎҷdz£Ï²»¶µÄIDE£¬¿ªÔ´+Ãâ·Ñ+¹¦ÄÜÇ¿´ó+¿çƽ̨+¿çÓïÑÔ+²å¼þ»úÖÆ£¬ËäÈ»ÓÐʱºòÒ²»áÓÐÕâÑùÄÇÑùµÄÎÊÌ⣬µ«ÊÇ×÷ΪÖ÷Á¦¿ª·¢IDE£¬eclipseÒѾ­·Ç³£×ã¹»ÁË¡£
µÚ1²½£¬°²×°JRE£º
sudo apt-get install sun-java6-jre
µÚ2²½£¬ÏÂÔØeclipse£º
http://www.eclipse.or ......

php °²È«Ä£Ê½µÄ²»×ã

PHPµÄsafe_modeÑ¡ÏîµÄÄ¿µÄÊÇΪÁ˽â¾ö±¾ÕÂËùÊöµÄijЩÎÊÌâ¡£
µ«ÊÇ£¬ÔÚPHP²ãÃæÉÏÈ¥½â¾öÕâÀàÎÊÌâ´Ó¼Ü¹¹ÉÏÀ´¿´ÊDz»ÕýÈ·µÄ£¬ÕýÈçPHPÊÖ²áËùÊö(http://php.net/features.safe-mode)¡£
µ±°²È«Ä£Ê½ÉúЧʱ£¬PHP»á¶ÔÕýÔÚÖ´ÐеĽű¾Ëù¶ÁÈ¡£¨»òËù²Ù×÷£©ÎļþµÄÊôÖ÷½øÐмì²é£¬ÒÔ±£Ö¤Óë¸Ã½Å±¾µÄÊôÖ÷ÊÇÏàͬµÄ¡£
ËäÈ»ÕâÑùȷʵ¿ÉÒÔ·À·¶±¾ÕÂÖÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ