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

PHP°²×°²½Ö裨ÒÔapache 2 + php5.3ΪÀý£©

1.     
Download Apache for windows MSI
file, and run it
By
default, port is 80, root dir is %apache_dir%/htdocs. You can update the
settings in conf/httpd.conf file
2.  If Apache Service can't be installed in "Control Panel > Admin Tools > Services",
        Execute following command in %apache_dir%/bin
           
httpd.exe -k install -n Apache2.2
      ÁíÍ⼸¸öÓÐÓõÄÃüÁ
¡¡¡¡¡¡¡¡remove apache service:       httpd.exe -k uninstall -n Apache2.2
            start apache service from :  httpd.exe -k start
            stop apache service:            httpd.exe -k stop    or
httpd.exe -k shutdown
            restart apache service:        httpd.exe -k restart
 
      Èç¹û²»Í¨¹ýwindows Apache service£¬Äã¿ÉÒÔÖ±½ÓʹÓÃÏÂÁÐÃüÁ
            start apache server:           httpd
            stop apache server:    
    httpd.exe -k shutdown
 
   
            restart apache server:        httpd.exe -k restart
 
2.     
Test if apache server works
1)     
Start server: start “Apache
service” from “Control Panel > select “Start > Programs > Apache http
server 2 > control apache server > start” or start serve


Ïà¹ØÎĵµ£º

PHP Log Class

ob_start();
echo "<pre>";
print_r($content);
echo "</pre>";
$a=ob_get_contents();
$filename = $_SERVER['DOCUMENT_ROOT']."/log-".date("Y-m-d").".txt";
$file = fopen($filename, "a");
$tipmsg = "\r\n******Final File: "
//.end(explode('/',$_SERVER['PHP_SELF']))
.$_SERV ......

phpÈëÃÅ½Ì³Ì ¾«¼ò°æ(¸½ÊÓÆµ)

1¡¢Ç¶Èë·½·¨£º
ÀàËÆASPµÄ<%£¬PHP¿ÉÒÔÊÇ<?php»òÕßÊÇ<?£¬½áÊø·ûºÅÊÇ?>£¬µ±È»ÄúÒ²¿ÉÒÔ×Ô¼ºÖ¸¶¨¡£
2¡¢ÒýÓÃÎļþ£º
ÒýÓÃÎļþµÄ·½·¨ÓÐÁ½ÖÖ£ºrequire ¼° include¡£
require µÄʹÓ÷½·¨Èç require("MyRequireFile.php"); ¡£Õâ¸öº¯Êýͨ³£·ÅÔÚ PHP ³ÌÐòµÄ×îÇ°Ãæ£¬PHP ³ÌÐòÔÚÖ´ÐÐǰ£¬¾Í»áÏȶÁÈë require ËùÖ¸¶¨ÒýÈë ......

FCKeditor µÄÅäÖúÍʹÓ÷½·¨(for PHP)

  FCKeditor ÊÇÒ»¸öÊ®·ÖÇ¿´óµÄÍøÒ³Îı¾±à¼­Æ÷£¬ËüÖ§³Ö¶àÖֽű¾±à³ÌÓïÑÔ(°üÀ¨ PHP)ºÍÖ§³Ö¶à¹úÓïÑÔ¡£
    FCKeditor ½ØÖÁ 2008Äê4ÔÂ6ÈÕ£¬Æä×îа汾ÊÇ 2.6RC£¬RC ¾ÍÊÇ Release Candidate£¬ÐÞ¶©ºóµÄºòÑ¡°æ±¾£¬ºÜ¿ÉÄÜ×÷Ϊ¸Ã°æ±¾µÄÎȶ¨°æÔÚδÀ´·¢²¼¡£Ä¿Ç°µÄ×îеÄÎȶ¨°æ(Latest Stable)ÊÇ 2.5.1¡£ÎÒÃÇ¿ÉÒÔµ ......

php Jpgraph °²×°ºÍÅäÖÃ

JpgraphÏÂÔØÖ®ºó£¬°²×°·Ç³£¼òµ¥£¬½âѹµ½Ò»¸öÎļþ¼ÐÖУ¬ÀýÈ磺d:\Jpgraph£¬È»ºó´ò¿ªphpµÄ°²×°Ä¿Â¼£¬ÕÒµ½php.iniÎļþ£¬²¢ÐÞ¸ÄÆäÖеÄinlude_path²ÎÊý£¬²¢ÔÚÆäºó¼ÓÉÏJpgraphµÄ·¾¶£¬ÀýÈ磺inlude_path=".;d:\Jpgraph".
http://blog.csdn.net/zhuzhao/archive/2009/05/12/4174684.aspx ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ