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

PHPÍøÕ¾¿ª·¢·½°¸£¨¿ª·¢ÐÂÈ˱ضÁ£©

Ò»¡¢¿ª·¢³ÉÔ±
a)ÏîÄ¿Ö÷¹Ü
b)Ò³ÃæÃÀ¹¤
c)Ò³Ãæ¿ª·¢
d)·þÎñ¶Ë³ÌÐò¿ª·¢
e)ϵͳÓëÊý¾Ý¹ÜÀí
f)²âÊÔÓë°æ±¾¿ØÖÆ
¶þ¡¢ ÍøÕ¾×鿪·¢¼òÃ÷Á÷³Ì
Èý¡¢ ¿ª·¢¹¤¾ßÓë»·¾³
a)·þÎñÆ÷ÅäÖÃ
i. WEB·þÎñÆ÷£º FreeBSD6.1+Apache2.0+PHP5.0£¬SVN°æ±¾¿ØÖÆ·þÎñ(½ö²âÊÔ»ú)¡£
ii.Êý¾Ý¿â·þÎñÆ÷£º WIN2003 server+SQL server 2000+MySQL5.0£¬CLUSTERED SERVER ¼¯Èº·þÎñ£¬Óʼþ·þÎñÆ÷¡£
iii. 100M/1000M½»»»»ú
b) ¿ª·¢¹¤¾ß
i. ǰ̨£º Macromedia flash 8.0¡¢Macromedia Dreamweaver 8.0¡¢Adobe photoshop CS
ii. ºǫ́£º Zend Studio 5.2¡¢SQL Server Enterprise Manager¡¢PhpMyAdmin
ËÄ¡¢ ¼¼Êõ¹æÔò
a) ä¯ÀÀÆ÷¼æÈݲßÂÔ£º ¼æÈÝIE5.0ÒÔÉϰ汾£¬Í¬Ê±¼æÈÝFireFOX2.0ÒÔÉÏä¯ÀÀÆ÷¡£
b) ËÑË÷ÒýÇæÓÅ»¯£º ×ÅÖØÕë¶Ôbaidu¡¢Google¡¢YahooËÑË÷ÓÅ»¯£¬ÖÆ×÷ÇåÎúÃ÷È·µÄÍøÕ¾µØÍ¼¡£
c) ×Ö·û±àÂë¹æÔò£ºÖÐÎÄÍøÕ¾Ò»ÂʲÉÓÃGB2312×Ö·û±ê×¼¡£[ĿǰÎÒͳһʹÓÃUTF-8±àÂë°üÀ¨ÁËÊý¾Ý¿âµÄÎļþÄÚÈݵıàÂëͳһ]
d) ÎļþÓëÎļþ¼ÐÃüÃû£º Ϊ¼æÈÝwin32Óëunixϵͳ£¬Ò»ÂʲÉÓÃСд×ÖĸÃüÃû¡£
£¨Í³Ò»È«Õ¾µÄÎļþ¼ÐÓëÎļþµÄÃüÃû¶¼Ê¹ÓÃСдµÄÐÎʽ´¦Àí¡£ÕâÑù²»»á³öÏÖÎÊÌâÁË£¡£©
e) ¹«¹²ÎļþÃüÃû¹æÔò£º
i. ĬÈÏÊ×Ò³£º index.htm¡¢index.html¡¢index.php
ii. Ö÷CSSÎļþ£º style.css
iii. Ö÷JSÎļþ£º main.js
iv. Ö÷³ÌÐòÅäÖÃÎļþ£ºconfig.php
f) ¹«¹²ÎļþĿ¼ͳһÃüÃû
i. ͼƬĿ¼£º /images »òÕß /pic
ii. CSSÑùʽĿ¼£º /css
iii. JS½Å±¾³ÌÐòĿ¼£º/js
iv.Ä£°åÎļþĿ¼£º/tpl
v. Àà»òÕß×é¼þĿ¼£º/class »òÕß /lib
g) Ò³Ãæ½Å±¾¹æ·¶£º ͳһ²ÉÓÃJavaScript
h)´úÂëÖеÄÀà¡¢º¯Êý¡¢±äÁ¿Ãû£ºÍ³Ò»Ê¹ÓýüËÆÓ¢Îĵ¥´ÊÃüÃû£¬È磺DefaultClass »òÕß default_class
i) ´úÂë×¢Ê͹æÔò£ºËùÓгÌÐòÖеĺ¯Êý»òÕß¹ý³Ì±ØÐë¼ÓÈ·ÇеÄ×¢ÊÍ¡£
j) Êý¾Ý¿âÏà¹Ø¹æÔò
i. Êý¾Ý±íÓë×Ö¶ÎÃüÃû¹æÔò£º È«²¿Ð¡Ð´×ÖĸÃüÃû£¬²¢¹éÀàÃüÃûǰ׺£¬È磺Óû§±í×飬user_passport¡¢user_info¡¢user_service….
ii. ÈÕÆÚÀàÐÍ×ֶΣº ͳһʹÓÃunixʱ¼ä´Á£¬char(12)
iii. Ö÷¹Ø¼ü×ÖÃüÃû£º ËùÓÐ±í±ØÐ뽨Á¢ÒÔidÃüÃûµÄÖ÷¼ü¡£
k) Ä£°å×é¼þ¹æÔò£ºÍ³Ò»Ê¹ÓüæÈݰ汾µÄSmarty£¬Í³Ò»»º´æÄ¿Â¼£¬±ãÓÚUnixÏÂȨÏÞ¿ØÖÆ¡£
£¨ÉèÖÃÈ«²¿µÄ¿ÉдÎļþͳһ·ÅÈëµ½Ò»¸öĿ¼ÏÂÃæÈ¥×ö³É»º´æÄ¿Â¼Óã©
l) Êý¾Ý¿âÐéÄâ²ã£º ͳһʹÓÃAdodb »ò Pdo£¬SQLÓï¾äÒª¼æÈÝÏÖÓÐÖ÷Á÷Êý¾Ý¿â¹æÔò¡£
m)¹¤³§Ä£Ê½¿ª·¢¹æÔò£º ÒÔcomm.phpΪÖÐÐÄ¿ª·¢»ò


Ïà¹ØÎĵµ£º

PHPѧϰ֮ PHP ±íµ¥ºÍÓû§ÊäÈë

PHP µÄ $_GET ºÍ $_POST ÓÃÓÚ¼ìË÷±íµ¥ÖеÄÖµ£¬±ÈÈçÓû§ÊäÈë¡£
PHP ±íµ¥´¦Àí
±íµ¥ÊµÀý£º
<html>
<body>
<form action="welcome.php" method="post">
Name: <input type="text" name="name" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>
......

CentOS 5.4 ·þÎñÆ÷ÅäÖà yum°²×°Apache+php+Mysql

Centos ÀïµÄ yum ÔÚÏß°²×°ºÜÂý.ÒÔÏÂÊÇÌæ»»ÎªÖйúCentOS¾µÏñ·þÎñÆ÷!
Öйú¹Ù·½¾µÏñÍøÕ¾: http://centos.ustc.edu.cn/
/* ʹÓÃ˵Ã÷ */
cd /etc/yum.repos.d[½øÈëyum.repos.dĿ¼]
mv CentOS-Base.repo CentOS-Base.repo.save[ÐÞ¸ÄÔ´ÎļþÃû³Æ±¸·Ý]
wget http://centos.ustc.edu.cn/CentOS-Base.repo.5[ÏÂÔØ]
mv CentOS-Ba ......

phpµÄÅäÖú¯Êý

phpµÄÅäÖú¯Êý¾ÍÊǼ¸¸öini_*µÄº¯Êý£¬Ö÷ÒªÊÇÕë¶ÔÅäÖÃÎļþµÄ²Ù×÷£¬Æäʵ¾ÍËĸöº¯Êý£ºini_get¡¢ini_set¡¢ini_get_all¡¢ini_restore¡£¸öÈ˸оõ×îÓÐÓõľÍÊÇini_setºÍini_get¡£
* ini_get()£º»ñÈ¡ÅäÖÃÎļþµÄÑ¡ÏîÖµ
Õâ¸öº¯ÊýÏàÐźܶàÈ˶¼Ê¹¹ý£¬¾ÍÊÇ»ñÈ¡ÅäÖÃÎļþÖÐijһ¸öÑ¡ÏîµÄÖµ£¬Èç¹ûÊÇȫӰÈ˲ÅÍøtrueÖµ¾Í·µ»Ø1£¬Èç¹ûÊÇfalseÖµ¾ ......

Éó¼Æ PHP£¬µÚ 1 ²¿·Ö: Àí½â register_globals

ÈëÃÅ֪ʶ
Ôڴ˼ٶ¨Äú¶Ô PHP µÄÓï·¨ÓÐÒ»¸ö´óÖµÄÁ˽⣬ÖÁÉÙÄܹ»±àд“Hello World”Ö®ÀàµÄ³ÌÐò¡£Èç¹ûÄú²»¾ß±¸»ù´¡ÖªÊ¶£¬ÔòÇëÊ×ÏÈѧϰ PHP ÊÖ²áºÍijЩ»ù±¾µÄ PHP ½Ì³Ì¡£ºÜ¶à³ö°æÉ̶¼ÓйØÓÚ PHP µÄºÃÊé¡£½¨Òé³õѧÕßÒ»¿ªÊ¼ÏÈ¿´¿´ÈëÃÅÊé¼®»òʳÆ×ÐÎʽµÄÊé¼®¡£
ÔÚÉú²ú»·¾³µÄ׼ȷ¸±±¾ÉÏÖ´ÐÐÉ󼯡£Äú²»ÐèÒª¸´ÖÆÓ²¼þ£¬µ«Ê ......

PHPÍøÕ¾¿ª·¢·½°¸£¨¿ª·¢ÐÂÈ˱ضÁ£©

Ò»¡¢¿ª·¢³ÉÔ±
a)ÏîÄ¿Ö÷¹Ü
b)Ò³ÃæÃÀ¹¤
c)Ò³Ãæ¿ª·¢
d)·þÎñ¶Ë³ÌÐò¿ª·¢
e)ϵͳÓëÊý¾Ý¹ÜÀí
f)²âÊÔÓë°æ±¾¿ØÖÆ
¶þ¡¢ ÍøÕ¾×鿪·¢¼òÃ÷Á÷³Ì
Èý¡¢ ¿ª·¢¹¤¾ßÓë»·¾³
a)·þÎñÆ÷ÅäÖÃ
i. WEB·þÎñÆ÷£º FreeBSD6.1+Apache2.0+PHP5.0£¬SVN°æ±¾¿ØÖÆ·þÎñ(½ö²âÊÔ»ú)¡£
ii.Êý¾Ý¿â·þÎñÆ÷£º WIN2003 server+SQL server  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ