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

Apache ·þÎñÆ÷ Php¿ª·¢»·¾³µÄÅäÖÃ

ÕâÊÇÎÒ×î½ü¼¸ÌìµÄѧϰÐĵã¬Óë´ó¼Ò¹²Ïí¡£
1£¬Ò»°ãÇé¿öÏÂÎÒÃÇÓüÇʱ¾Ð´Ò»¸ö¼òµ¥µÄPHPÒ³Ã棬·ÅÔÚApache·þÎñÆ÷°²×°Ä¿Â¼ÏµÄhtdocsĿ¼Ï£¬¼´¿É·ÃÎÊ¡£
Õâʱ£¬ÔÚhttpd.confÎļþÖжÔÓ¦µÄ·þÎñÆ÷¸ùĿ¼ÅäÖÃΪ£ºDocumentRoot "D:/Apache Software Foundation/Apache2.2/htdocs"
Ŀ¼ÅäÖÃΪ£º<Directory "D:/Apache Software Foundation/Apache2.2/htdocs">...<Directory>
2,µ±ÎÒÃÇ°ÑÒ³Ãæ·ÅÔÚD:\webrootĿ¼ʱ£¬ÕâÊǸղŵÄÒ³Ãæ±ã²»¿É·ÃÎÊÁË£¬ÕâÊÇÎÒÃÇ¿ÉÒÔÐÞ¸Ähttpd.confÎļþ£¬À´ÖØÐÂÅäÖ÷þÎñÆ÷¸ùĿ¼¡£
DocumentRoot "D:/Mysite"
<Directory "D:/Mysite">
²¢ÇÒ²»ÒªÍüÁ˶ÔÒÔÇ°µÄÁ½¸öÅäÖÃÐмÓÉÏ×¢ÊÍ ÐÐÇ°¼Ó"#"¼´¿É¡£
3£¬ÓÉ´Ë¿ÉÖª£¬¸Ä±ä¸ùĿ¼£¬²»ÐèÒª¶Ôphp.ini ÎļþÖØнøÐÐÅäÖá£
ÔÚphp.iniÖжÔÓ¦µÄPath and DirectoryÅäÖÃÈÔΪ£ºdoc_root =D:\Apache Software Foundation\Apache2.2\htdocs¡£
ºÃ£¬½ñÌì¾Íдµ½ÕâÀϣÍû¶Ô´ó¼ÒÓÐÓá£
 
 


Ïà¹ØÎĵµ£º

³£ÓÃPHPº¯Êý

ÕâÊÇһЩʹÓÃƵÂʱȽϸߵĺ¯Êý£¬ÓеÄÀ´×Ô±ðÈ˵ijÌÐò......
1.²úÉúËæ»ú×Ö·û´®º¯Êý
function random($length) {
 $hash = '';
 $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz';
 $max = strlen($chars) - 1;
 mt_srand((double)microtime() * 1000000);
 for($ ......

PHPÕýÔò±í´ïʽÏê½â

½ñÌì»Ø¹ËÁËÏÂÕýÔòµÄ»ù±¾ÖªÊ¶¡£  ×ÜÈÝÒ×Íü£¬ÌؼÇÓÚ´Ë¡£
ÓÃÓÚÃèÊö×Ö·ûÅÅÁкÍÆ¥ÅäģʽµÄÒ»ÖÖÓï·¨¹æÔò¡£ËüÖ÷ÒªÓÃÓÚ×Ö·û´®µÄģʽ·Ö¸î¡¢Æ¥Åä¡¢²éÕÒ¼°Ìæ»»²Ù×÷¡£
PHPÖеÄÕýÔòº¯Êý£º
PHPÖÐÓÐÁ½Ì×ÕýÔòº¯Êý£¬Á½Õß¹¦Äܲ¶à£¬·Ö±ðΪ£º
Ò»Ì×ÊÇÓÉPCRE£¨Perl Compatible Regular Expression£©¿âÌṩµÄ¡£Ê¹ÓÓpreg_” ......

PHPÕýÔò±í´ïʽ°Ù¿Æ

»ù±¾¸ÅÄî
Ò»¸öÕýÔò±í´ïʽͨ³£±»³ÆΪһ¸öģʽ (pattern)£¬ÎªÓÃÀ´ÃèÊö»òÕßÆ¥ÅäһϵÁзûºÏij¸ö¾ä·¨¹æÔòµÄ×Ö·û´®¡£ÀýÈ磺Handel¡¢Händel ºÍ Haendel ÕâÈý¸ö×Ö·û´®£¬¶¼¿ÉÒÔÓÉ“H(a|ä|ae)ndel”Õâ¸öģʽÀ´ÃèÊö¡£´ó²¿·ÖÕýÔò±í´ïʽµÄÐÎʽ¶¼ÓÐÈçϵĽṹ£º
Ñ¡Ôñ| ÊúÖ±·Ö¸ô·û´ú±íÑ¡Ôñ¡£ÀýÈç“gray|grey&rd ......

×Ô¼º±àд»ùÓÚMVCµÄÇáÁ¿¼¶PHP¿ò¼Ü

×Ô¼º±àд»ùÓÚMVCµÄÇáÁ¿¼¶PHP¿ò¼Ü
2008-4-3 23:33:56 Òѱ»ÔĶÁ£º
477 ·¢±íÆÀÂÛ
×öWEB¿ª·¢ÒÑÓÐÒ»Äê,ÿ´Î¶¼Ð´Öظ´µÄ¶«Î÷, Òò´Ë,Ïë×Ô¼ºÐ´Ò»Ï¿ò¼Ü,ÒԺ󿪷¢·½±ã.
±¾ÈË֮ǰѧϰasp.NETÁ½Äê,JSP°ëÄê,¿ÉÊǺóÀ´ÒòΪ¹¤×÷µÄÔ­¹Ê»»³ÉPHP.ÆäʵºÜ²»Ï²»¶PHPµÄÓï·¨.»¹ÓÐPHPµÄº¯ÊýÃû,ÿ»Ø¶¼Íü¼Ç..»¹ÊÇϲ
»¶C#ºÍJAVAµÄÓï·¨,¹þ...²» ......

php»æÖƱý״ͼ

drawPieImg()º¯Êý°üº¬8¸ö²ÎÊý£¬$titleΪ±ý״ͼµÄ±êÌ⣻$dataArrΪÐèÒªÏÔʾµÄÊý¾ÝÊý×飻$labelArrΪ¶ÔÓ¦Êý¾ÝµÄ±êÇ©·ÖÀàÊý×飻$colorArrΪ¶ÔÓ¦Êý¾ÝµÄ»æͼÑÕÉ«Êý×飬Õâ4¸ö²ÎÊýÊDZØÐëµÄ£¬¶ÔÓÚ²»Í¬µÄϵͳӦÓô«µÝÏàÓ¦µÄ²ÎÊý¼´¿É¡£½ÓÏÂÀ´µÄ4¸ö²ÎÊý£¬¸ºÔðÉèÖÃÒªÉú³ÉµÄ±ý״ͼµÄ´óС£¬Èç¹û²»ÉèÖÃÔòʹÓÃϵͳĬÈÏÖµ¡£³ÌÐò°´ÕÕ´²µ×Êý×éÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ