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

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


Ïà¹ØÎĵµ£º

PHP $_SERVERѧϰ

³õѧPHP,¶Ô$_SERVERÕâ¸ö¶«Î÷ºÜ¸ÐÐËȤ.ÔÚÍøÉÏÕÒÁËN³¤Ê±¼ä.ÊÇÎÒÖÇÉÌÓÐÎÊÌâ? »¹ÊÇ?
ºÇºÇ.¸É´à²»Èç×Ô¼ºÒ»¸öÒ»¸ö¿´...
ÎÒµÄIDE»·¾³: XmappÊ¡×Å×Ô¼ºÅäÖÃÁË...
//¹¦ÄÜ:´òÓ¡$_SERVER->Array();
/*PHP Code Star*/
foreach ($_SERVER as $key => $value)
{
 echo $key.":".$value."<br>";
}
/*PHP Code En ......

ÈçºÎÀûÓÃAPC»º³åPHP½Å±¾À´Ìá¸ß·þÎñÆ÷ÐÔÄÜ

Ô­Ìù£ºhttp://www.phpchina.com/html/05/n-2005.html
ÈçºÎÀûÓÃAPC»º³åPHP½Å±¾À´Ìá¸ß·þÎñÆ÷ÐÔÄÜ
·¢²¼Ê±¼ä:2006-10-16 09:01 ¡¡¡¡×÷Õß: bulider.com.cn ¡¡¡¡ÐÅÏ¢À´Ô´:
bulider.com.cn¡¡¡¡[ÎÒÀ´ËµÁ½¾ä
(3765
Ìõ)]
ѧ»áÔõÑùÀûÓÃAPC
»º³åPHP
½Å±¾À´Ìá¸ß·þÎñÆ÷ÐÔÄÜ¡£
Ï£
ÍûÄúµÄWeb·þÎñÆ÷·¢»Ó×î´óµÄÐÔÄÜÂð£¿Èç¹ûÄúÕýÔÚÊ ......

Apache + PHP + MySql °²×°


ËùÐèÈí¼þ£¨×¢Òâ°æ±¾£¡£©£º
Apache2.2.3 
PHP5.1.5 
MySQL5.0.24
ÕâÈý¸öÈí¼þ¶¼ÊÇÃâ·ÑµÄ£¬¿É´Ó¹ÙÍøÉÏÏÂÔØ£¬Ä¿Ç°ÎÒËùÓеÄÈí¼þÃûΪ£º
apache_2.2.3-win32-x86-no_ssl.msi 
mysql-5.0.24-win32.zip 
php-5.1.5-Win32.zip
»ùÓÚwindows²Ù×÷ϵͳ£¬ÔÚWindows XPϰ²×°Ê¹Óãº
1¡¢°²×°¹ý³Ì£º  ......

php preg_split ÓÃÕýÔò±í´ïʽ·Ö¸î×Ö·û´®

˵Ã÷ array preg_split ( string $pattern, string $subject [, int $limit [, int $flags]] ) ·µ»ØÒ»¸öÊý×飬°üº¬ subject ÖÐÑØ×ÅÓë pattern Æ¥ÅäµÄ±ß½çËù·Ö¸îµÄ×Ó´®¡£ Èç¹ûÖ¸¶¨ÁË limit£¬Ôò×î¶à·µ»Ø limit ¸ö×Ó´®£¬Èç¹û limit ÊÇ -1£¬ÔòÒâζ×ÅûÓÐÏÞÖÆ£¬¿ÉÒÔÓÃÀ´¼ÌÐøÖ¸¶¨¿ÉÑ¡²ÎÊý flags¡£ flags ¿ÉÒÔÊÇÏÂÁбê¼ÇµÄÈÎÒâ× ......

PHP³Á˼¼֮¹¤×÷Ä£ÐÍ

PHP³Á˼¼
¡¡¡¡¹¤×÷Ä£ÐÍ
¡¡¡¡PHPµÄ¹¤×÷Ä£Ðͷdz£ÌØÊâ¡£´ÓijÖ̶ֳÈÉÏ˵£¬PHPºÍASP¡¢ASP.NET¡¢JSP/ServletµÈÁ÷ÐеÄWeb¼¼Êõ£¬ÓÐ×ű¾ÖÊÉϵÄÇø±ð¡£
¡¡¡¡ÒÔJavaΪÀý£¬JavaÔÚWebÓ¦ÓÃÁìÓò£¬ÓÐÁ½ÖÖ¼¼Êõ£ºJava ServletºÍJSP£¨Java Server Page£©¡£Java ServletÊÇÒ»ÖÖÌØÊâÀàÐ͵ÄJava³ÌÐò£¬Ëüͨ¹ýʵÏÖÏà¹Ø½Ó¿Ú£¬´¦ÀíWeb·þÎñÆ÷·¢Ë͹ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ