Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 arrayһЩº¯Êý

ÎÒÃÇÊÖÍ·µÄPHP×ÊÁϲ»¶à£¬´ó¼ÒÊDz»ÊǶ¼ÓÐÒ»·Ýphp4gb.chm¡£ÎÒ×îÐÀÉÍËüÀïÃæµÄº¯Êý¿â²¿·ÖÁË£¬ÕæÕýµÄÔÚÏß°ïÖú¡£µ«ÊÇPHP·¢Õ¹µÄ½Å²½ÊµÔÚÌ«¿ìÁË£¬Äãî¡£¬ÎÒ×î½üÔÚwww.php.net/manual/¡¡ÓÖÕÒµ½ÁËһЩÀ©Õ¹µÄÊý×麯Êý¡£
ÏÂÃæÎÒ°ÑËüÃǽéÉܸø´ó¼Ò°É£¬ÎÒµÄÓ¢ÎÄˮƽ²»¸ß£¬ÓÐÒëµÄ²»¶ÔµÄµØ·½£¬ÇëÖ¸Õý¡£
¸ñʽÊÇÕâÑùµÄ£º
º¯ÊýÃû Ö§³Ö°æ±¾ ......

PHP×Ô¶¨Òå´óСÑéÖ¤Âë

<?php
function vCode($num=4,$size=20, $width=0,$height=0){
!$width && $width = $num*$size*4/5+5;
!$height && $height = $size + 10;
// È¥µôÁË 0 1 O l µÈ
$str = "23456789abcdefghijkmnpqrstuvwxyzABCDEFGHIJKLMNPQRSTUVW";
$code ......

PHP Óë JS µÄÁíÒ»ÖÖÊý¾Ý´«µÝ·½Ê½ ÐòÁл¯

¡¡¡¡´Ó PHP 3 ¿ªÊ¼Îª±£´æ¶ÔÏóÌṩÁËÒ»×éÐòÁл¯ºÍ·´ÐòÁл¯µÄº¯Êý£ºserialize¡¢unserialize£¬Ëü¿ÉÒÔ·½±ãµÄ±£´æÊý¾Ý·½±ãµÄ×ö³ÉCACHE£¬¶ø´æ´¢Ìå»ýÒ²±ÈXMLҪСµÄ¶à£¬Ëü½á¹¹Óë JS µÄ JSON ÏàÄ⣬ÍøÉÏÓÐÒ»×éÓà JS Ä£Äâ serialize ʵÏֵķ½·¨£¬Ê¹ÓÃËü¿ÉÒÔºÍPHP ÔÚÊý¾Ý´«µÝÉϸü½ôÃܵĽáºÏ£®
 
¡¡¡¡JavaScript °æ±¾£¨stable£©£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ