php α¾²Ì¬ url ÖØд
ÕûÁË°ëÌì¿ÉËãÈÃÎÒÕû³öÀ´ÁË º¹°¡£¡
C:\xampp\apache\conf\http.conf ÅäÖÃ
<Directory />
Options FollowSymLinks
AllowOverride all
Order deny,allow
# Deny from all
</Directory>
н¨ÏîÄ¿myphp
ÐéÄâ»ú·¾¶ localhost C:\xampp\htdoc
.htaccessÄÚÈÝ
RewriteEngine on
RewriteBase /myphp (ÏîÄ¿¸ùĿ¼)
RewriteRule ^(\d)\.html$ $1.php [L]
1.php
<?php
echo 'i ma 1.php';
?>
okÁË~£¡£¡£¡
·ÃÎÊ http://localhost/1.html
Ò³ÃæÏÔʾ
i ma 1.php
Ïà¹ØÎĵµ£º
ÔÌù:http://www.paitoubing.cn/blog/tag/apc
php³ÌÐòÌáËÙÔÀí·ÖÎö
2008Äê7ÔÂ19ÈÕ
ûÓÐÆÀÂÛ
¹Ø¼ü´Ê£ºxCache,Zend Accelerator,memcahced,xdebug£¬Zend Optimizer,APC.
»º³å²ã¼¶±ðµÄÓÅ»¯
xCacheÊÇ°Ñ PHP ²Ù×÷Â뻺´æµ½ÄÚ´æÖÐµÄ PHP À©Õ¹ÖУ¬XCache ½«±ÜÃâ´ú¼Û¸ß°ºÇÒ²»±ØÒªµÄ»¨·ÑÀ´ÖØбàÒëÏ ......
PHPÖжԸ÷Àà±äÁ¿ÄÚÈݵÄÃüÃû¹æ·¶
£¨1£©Ä¿Â¼ÃüÃû¡¢ÎļþÃüÃû¡¢¾Ö²¿±äÁ¿ÃüÃû£º
ʹÓÃÓ¢ÎÄÃû´Ê¡¢¶¯´Ê£¬ÒÔÏ»®Ïß×÷Ϊµ¥´ÊµÄ·Ö¸ô£¬ËùÓÐ×Öĸ¾ùʹÓÃСд
Ŀ¼£ºupload¡¢templates¡¢install¡¢manage……
Îļþ£ºindex.php ¡¢ register.php ¡¢ config.php……
±äÁ¿£º$user , $pay_time , $pay_del_co ......
1. Windows XP »·¾³Ï°²×° Apache HTTP Server 2.2.8
¸ÃÕ½ڽ²ÊöÈçºÎÔÚ Windows XP »·¾³Ï°²×° Apache HTTP Server¡£
ÏÂÔØ Apache HTTP Server 2.2.8
Apache µÄ¹Ù·½ÍøÕ¾ÊÇ http://apache.org/¡£
Apache HTTP Server µÄÏÂÔØÒ³ÃæÊÇ http://httpd.apache.org/download.cgi£¬¸ÃÒ³ÖлáÌáʾÄã¿É¹©ÏÂÔصľ ......
PHP: echo substr("1234567", 1, 3);
ºÍ PHP: echo substr(123456,1, 3);
ÊÇÒ»ÑùµÄ
¶¨Òå
Ò»°ãÓÃË«ÒýºÅ»òµ¥ÒýºÅ±êʶһ¸ö×Ö·û´®¡£±ÈÈç PHP: $str = "i love u";
$str = 'i love u';
ËüÕßÁ½ÕßÊÇÓÐһЩÇø±ðµÄ¡£ºóÕß½«Ò»Çе¥ÒýºÅµÄÄÚÈݶ¼»áµ±×÷×Ö·û´¦Àí£»Ç°ÕßÔ ......
PHP³Á˼¼
¡¡¡¡¹¤×÷Ä£ÐÍ
¡¡¡¡PHPµÄ¹¤×÷Ä£Ðͷdz£ÌØÊâ¡£´ÓijÖ̶ֳÈÉÏ˵£¬PHPºÍASP¡¢ASP.NET¡¢JSP/ServletµÈÁ÷ÐеÄWeb¼¼Êõ£¬ÓÐ×ű¾ÖÊÉϵÄÇø±ð¡£
¡¡¡¡ÒÔJavaΪÀý£¬JavaÔÚWebÓ¦ÓÃÁìÓò£¬ÓÐÁ½ÖÖ¼¼Êõ£ºJava ServletºÍJSP£¨Java Server Page£©¡£Java ServletÊÇÒ»ÖÖÌØÊâÀàÐ͵ÄJava³ÌÐò£¬Ëüͨ¹ýʵÏÖÏà¹Ø½Ó¿Ú£¬´¦ÀíWeb·þÎñÆ÷·¢Ë͹ ......