Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ΪÖÐÐÄ¿ª·¢»ò¼Ì³Ð×é¼þÀ࣬ͳһ¿ØÖÆÎļþµ÷ÓÃIOÓëÀà


Ïà¹ØÎĵµ£º

PHP³õѧ֮·ÀË®¼ÆÊýÆ÷

  ÕâÊÇÎÒдµÄµÚÒ»¸ö¼ÆÊýÆ÷
<?
$s_ht="127.0.0.1";
$s_user="root";
$s_pas="123456";
$s_data="ceshi";
if (empty($_SERVER['HTTP_X_FORWARDED_FOR']))
{
$myip = $_SERVER['REMOTE_ADDR'];
$myip = $_SERVER['REMOTE_ADDR'];
}
else {
$myip = explode(',', $_SERVER['HTTP_X_FORWA ......

phpÖÐÒ³Ãæ3Ãë×Ô¶¯Ìøת

 function redirect($url, $msg)
{
       echo $msg."</br>\n";
       echo "<a href=\"".$url."\">Èç¹ûûÓÐÌøת£¬ÇëµãÕâÀïÌøת</a>\n";
       echo "<script language=\"javascript\">se ......

php^

  PHPÊÇÒ»ÖÖÓÃÓÚ´´½¨¶¯Ì¬WEBÒ³ÃæµÄ·þÎñ¶Ë½Å±¾ÓïÑÔ¡£ÈçͬASPºÍColdFusion£¬Óû§¿ÉÒÔ»ìºÏʹÓÃPHPºÍHTML±àдWEBÒ³Ã棬µ±·ÃÎÊÕßä¯ÀÀµ½¸ÃÒ³Ãæʱ£¬·þÎñ¶Ë»áÊ×ÏȶÔÒ³ÃæÖеÄPHPÃüÁî½øÐд¦Àí£¬È»ºó°Ñ´¦ÀíºóµÄ½á¹ûÁ¬Í¬HTMLÄÚÈÝÒ»Æð´«Ë͵½·ÃÎʶ˵Ää¯ÀÀÆ÷¡£µ«ÊÇÓëASP»òColdFusion²»Í¬£¬PHPÊÇÒ»ÖÖÔ´´úÂ뿪·Å³ÌÐò£¬ÓµÓкܺõĿçƽ̨¼ ......

PHP½«Í¼Æ¬´æÈëMYSQL

 ÍêÕûµÄʵÏÖÁËPHP½«Í¼Æ¬´æÈëMYSQL
Ç°Ì᣺
 1 Ê×ÏȱØÐëÓµÓÐPHPµÄÔËÐл·¾³£¬ÁíÍ⻹µÃÓÐMYSQLÊý¾Ý¿â
 2 Èç¹ûÎļþ²»ÄÜÉÏ´«³É¹¦Çë¼ì²épicsÊÇ·ñÊÇ¿ÉдµÄȨÏÞ
Ê×ÏÈÏÈ°Ñpic2db.rarÎļþ½âѹµ½PHP¿ÉÒÔÔËÐÐĿ¼Ï¡£
Æä´ÎÔÚMYSQLÖн¨Á¢Ò»¸öÊý¾Ý¿â:pic2db,È»ºóÔÚ¸ÃÊý¾Ý¿âϽ¨Á¢Ò»¸ö±í£¬±í½á¹¹Îª£º
CREATE TABLE `pi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ