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

ÅäÖÃPHP¿ª·¢»·¾³

ÅäÖÃPHP¿ª·¢»·¾³£¬ÕâÊÇÀϵôÑÀµÄÎÊÌâÁË£¬ÔÚÍøÂçÉÏÒ»ÕÒÒ»´ó¶Ñ¡£
²»¹ý¿´À´¿´È¥£¬Í·¶¼ÔÎÁË¡£»¹ÊÇÑ¡¶¨Ò»¸öÎÄÕªºÃºÃʵ¼ùÏ£¬Èô°²×°³É¹¦µÄ»°¼ÇÏÂÀ´ÒÔ±ãÒÔºóÖØ×°ÓÐÓô¦¡£
×îÖÕ»¨ÁËÒ»¸öÏÂÎçÖÕÓÚÅäÖúÃÁË£¬¹»ÕÛÄ¥È˵Ä˵£¬²»¹ýѧµ½ºÜ¶àÁË¡£
xp»·¾³
mysql5.0.22
php5.3.2 win32-VC6-x86.zip
httpd2.2.15 win32.msi
phpmyadmin3.3.0
ÒÔÉÏÏÂÔØÖ»ÐèÓÒ¼üѡѸÀ×ÏÂÔؼ´¿É
Ìرð˵Ã÷£ºÎÒÔÚÏÂÔØÕâЩ¶«Î÷³ÔÁË¿÷£¬µ¹²»ÊÇÏÂÔØËÙ¶ÈÂý£¬¶øÊÇÏ´íÁËÈí¼þ
Ò»ÊÇ£ºphp5.3.2 for win·ÖÓм¸ÖÖÀà±ð£¬Ò»ÊÇ´ø²»´øsslµÄ£¬¶þÊÇvc9ºÍvc6£¬ÈýÊÇinstallºÍzip package¡£
        VC9ÊÇÔÚiis»·¾³ÏÂÅäÖÃphp£¬vc6²»ÊÇ¡£installÓëzip package²»Í¬£¬ÀïÃæµÄÎļþ½á¹¹ÍêÈ«²»Í¬¡£ÎªÁ˸üºÃÀ©Õ¹php£¬×îºÃÑ¡Ôñzip   package¡£
¶þÊÇhttpd 2.2.15 ´óÐÍÏÂÔØÍøվϵÄÈí¼þ¶¼ÊÇ´øsrc.zip¸ñʽ£¬Ã»Óа²×°¹¦ÄÜ¡£
        msi¸ñʽ²ÅÊÇÕýµÀ¡£
°²×°²Î¿¼ÎÄÕ£ºµã»÷
Õâ¸ö½²µÄºÜÏêϸÁË£¬ÎҾͲ»ÓÃ啰àÂÁËÈö¡£
ÖÁÓÚphpmyadmin£¬°ÑËü½âѹµ½htdocsϾÍÐÐÁË£¬°ÑÎļþÃûÖØд³ÉphpMyadmin¾ÍÐУ¨´óСд²»ÏÞ£©¡£


Ïà¹ØÎĵµ£º

¿ªÊ¼Ñ§Ï°PHP¿ª·¢ÒÔ¼°ÍøÂ繤³Ì

1.¶¨Î»£¬Ã÷È··½Ïò¡£
2.¶¨Î»ºó¾ÍÈ¥³¢ÊÔ¡£²»ÒªÔÙ̸Äܲ»ÄÜ×ö¡£
ÒÔÉÏÊǺÃÓѸøÎҵĽ¨Ò飬ºÜÖпϡ£
µÚÒ»µã£¬ÎÒÐèҪȷ¶¨×Ô¼º½ñºó·¢Õ¹µÄ·½Ïò£¬²»ÄÜÔÙÏñÏÖÔÚÕâÑùʲô¶¼È¥Ñ§£¬½á¹ûʲô¶¼Ò»ÎÞËù³É¡£
µÚ¶þµã£¬Öƶ¨¼Æ»®ºó¾ÍÓ¦¸ÃÂíÉÏ×ÅÊÖÈ¥Ö´ÐУ¬Óöµ½´ìÕÛʱ²»Òª¼±×Å˵£¬ÎÒ°¾Ò¹Á˶à¾Ã¶à¾Ã£¬»¹ÊÇûѧ»á°¡£¬¶øÊǾ²ÐÄ·ÖÎö£¬È»ºó¶ÔÖ¢ÏÂÒ©£¬ ......

php headerÏê½â


header
(PHP 3, PHP 4, PHP 5)
header -- ·¢ËÍÒ»¸öԭʼ HTTP ±êÍ·
˵Ã÷
void header ( string string [, bool replace [, int http_response_code]] )
header() º¯ÊýÓÃÀ´·¢ËÍÒ»¸öԭʼ HTTP ±êÍ·¡£ÓÐ¹Ø HTTP ±êÍ·µÄ¸ü¶àÄÚÈݼû HTTP/1.1 ¹æ·¶¡£
¿ÉÑ¡²ÎÊý replace Ö¸Ã÷ÊÇÌæ»»µôÇ°Ò»ÌõÀàËƵıêÍ·»¹ÊÇÔö¼ÓÒ»ÌõÏàͬÀàÐ͵ ......

php ÖÐÇÉÓà @ ȦA Ȧa Îļþ²Ù×÷ ¾¯¸æ

¶ÔÓÚ³õѧÕßÀ´Ëµ£¬ÎÒÃÇÓÐʱºò»á¿´¼ûPHPÖÐÓÐÕâÑùµÄд·¨£º
@ unlink($filepath);
Ò²¿ÉÒÔд³É£º
unlink($filepath);
²»Ã÷°×ÕâÁ½ÖÖд·¨ÓÐʲôÇø±ð£¬±íÃæÉÏ£¬³ÌÐòÔËÐÐÆðÀ´ËƺõûʲôÇø±ð¡£
ʵ¼ÊÉÏ£¬¼ÓÉÏ@·ûºÅ£¬ÓÐÒÖÖÆ´íÎóÏÔʾµÄ¹¦ÄÜ¡£
¾ÍÄÃÉÏÃæµÄ´úÂëÀ´Ëµ£¬È¥µô@ʱ£¬
Èç¹û±»É¾³ýµÄÎļþ²»´æÔڵĻ°£¬Ôò»áÏÔʾÎļþ²»´æÔڵĴíÎ ......

¡¾³ÌÐò¡¿¡¾PHP¡¿ÔÚÏß¼Çʱ¾1


»¨ÁËÈýÌìµÄʱ¼ä£¬ÖÕÓÚÀûÓÃphp+mysqlÖÆ×÷Á˸öÔÚÏ߱ʼDZ¾£¬±¾À´ÊÇÔÚÍøÉÏÕÒÁËһЩµ¥»úµÄ¼Çʱ¾£¬
ÎÒ¿¿£¬Òª²»ÊÇÐèҪע²áÂ룬Ҫ²»ÊDz»·ûºÏ×Ô¼ºµÄÐèÇó£¬ÔÙ˵µ¥»úµÄÐèÒªÔÚ±¾µØ°²×°¡£
Ö÷ÒªµÄÄ¿µÄÊÇÓÃÀ´×öÒ»¸ötodo list¹¦ÄÜ£¬Ä¿Ç°Ö§³ÖµÄ¹¦ÄܱȽϼòµ¥£ºÔö¼Ó£¬É¾³ý£¬Í³¼Æ£¬
ÉÏ´«Îļþ£¬ÀûÓÃfckeditor½øÐб༭£¬°²È«·½Ãæ×öÁËЩ¼òµ¥´ ......

·Ç³£¼òµ¥PHPËõÂÔͼÉú³É³ÌÐòÔ´´úÂë


Ò»¸ö·Ç³£¼òµ¥µÄPHPÉú³ÉËõÂÔͼµÄ´úÂë³ÌÐò£¬²ÎÊý¼°´úÂ붼ËãµÃÉϾ«¼ò£¬ÓÐÐËȤµÄÅóÓÑ¿ÉÒÔÊÔÏÂËüµÄ¹¦ÄÜ£¬Óв»Ì«ÍêÉƵĵط½»¹ÇëÖ¸Õý¡£ ·ÇÔ­´´£¬À´×ÔÍøÂç
<?$FILENAME="image_name";
// Éú³ÉͼƬµÄ¿í¶È
$RESIZEWIDTH=400;
// Éú³ÉͼƬµÄ¸ß¶È
$RESIZEHEIGHT=400;
function ResizeImage($im,$maxwidth,$maxheight,$name){ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ