ÎÒÊܵ½µÄ´ìÕÛ
| From: | Dallas Thunder | Date: | Fri, 23 Aug 2002 15:10:03 +0000 |
| Subject: | ÎÒÊܵ½µÄ´ìÕÛ | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-341@lists.php.net to get a copy of this message | ||
ÉÏÒ»¸öÌù×Ó˵µ½ file-entities.ent µÄÎÊÌâÒѾ½â¾öÁË¡£
ÎÒ¿´ÁËһϠconfigure Îļþ£¬·¢ÏÖÊǵ¹ÊýµÚ¶þÌõÃüÁîµ÷ÓÃ
file-entities.php À´Éú³É
file-entities.ent¡£ÓÖ¿´ÁËÒ»ÏÂ
scripts/file-entities.php£¬·¢ÏÖÏà¹ØµÄÓï¾ä£º
$out_dir = abs_path(preg_replace("!^/cygdrive/(\\w)/!", "\\1:/",
"/home/dallas/phpdoc"));
...
$fp = fopen("$out_dir/entities/file-entities.ent", "w");
if (!$fp) {
die("ERROR: Failed to open $out_dir/entities/file-entities.ent for
writing\n");
}
¼û¹íµÄÊǵ½ÕâÀïÎÞÂÛÈçºÎ¶¼»á±¨´í£¬¾ÍÊÇÎÞ·¨Éú³É
file-entities.ent£¬°Ù˼²»µÃÆä
½â¡£ºóÀ´·¢ÏÖÎÊÌâÓ¦¸ÃÊDz»ÄÜʹÓþø¶Ô·¾¶£¬ÒòΪcygwinÖе÷ÓõÄphpÔÚc:\phpÖУ¬ÓÚ
ÊǸijɣº
$fp = fopen("../entities/file-entities.ent", "w");
×ÜËãÊÇÉú³ÉÁËÒ»¸ö file-entities.ent Îļþ£¡
make test ³ö´í£¬ÓÐËĸöÔÚ en
Ŀ¼ÏµÄÎļþ˵ÊÇÓÐδ֪µÄÁ¬½Ó£¬²»¹ÜËü£¬É¾µô¡£make
test ͨ¹ý¡£
È»ºó make html
£¬ÆÁÄ»»ÎÁ˺ü¸·ÖÖÓ£¬ÑÛ¶¼Òª»¨ÁË¡£Ã»Ïëµ½½áÊøÖ®ºó£¬html
Ŀ¼ÏÂû
ÓÐÎļþ£¡
ÓÖÀ´¸ö make bightml£¬Õâ´Îµ¹ÊÇÉú³ÉÁËÒ»¸ö2.8MµÄ
php_manual_zh_cn.html£¬¿ÉÊÇ´ò
¿ªÀ´Ò»¿´£¬ÀïÃæ¾ÓȻһ¸ö html tag ¶¼Ã»ÓУ¡ÆøËÀÁË¡£
ÎÒ»á¼ÌÐøÑжÁÊֲᣬҲÇëÄÄλ´ïÈËÖ¸µãһϡ£×îºÃÓиö
step by step µÄ˵Ã÷¸ø´ó¼Ò¿´
¾ÍºÃÁË¡£