PHPµÄVC6 X86ºÍVC9 X86ÓÐʲô²»Í¬£¿
PHPÏÖÔÚÍƳö5.3.0°æ±¾ÁË£¬²»¹ýÏÂÔصÄʱºòÓм¸¸ö²»Í¬°æ±¾Ñ¡Ôñ¡£ÄǾÍÊÇVC6 X86ºÍVC9 X86¡£
VC6ÊÇʲô£¿
VC6¾ÍÊÇlegacy Visual Studio 6 compiler£¬¾ÍÊÇʹÓÃÕâ¸ö±àÒëÆ÷±àÒëµÄ¡£
VC9ÊÇʲô£¿
VC9¾ÍÊÇthe Visual Studio 2008 compiler£¬¾ÍÊÇÓÃ΢ÈíµÄVS±à¼Æ÷±àÒëµÄ¡£
ÄÇÎÒÃÇÈçºÎÑ¡ÔñÏÂÔØÄĸö°æ±¾µÄPHPÄØ£¿
Èç¹ûÄãÊÇÔÚwindowsÏÂʹÓÃApache+PHPµÄ£¬ÇëÑ¡ÔñVC6°æ±¾£»
Èç¹ûÄãÊÇÔÚwindowsÏÂʹÓÃIIS+PHPµÄ£¬ÇëÑ¡ÔñVC9°æ±¾£»
ÄÇNon Thread SafeÊÇʲô£¿
Non Thread Safe¾ÍÊÇ·ÇḬ̈߳²È«£»
Thread Safe ÊÇʲô?
Thread Safe ÊÇḬ̈߳²È«£»
¹Ù·½²¢²»½¨ÒéÄ㽫Non Thread Safe Ó¦ÓÃÓÚÉú²ú»·¾³£¬ËùÒÔÎÒÃÇÑ¡ÔñThread Safe °æ±¾µÄPHPÀ´Ê¹Óá£
Ïà¹ØÎĵµ£º
ħÊõÒýºÅ£¨Magic Quote£©ÊÇÒ»¸ö×Ô¶¯½«½øÈë PHP ½Å±¾µÄÊý¾Ý½øÐÐתÒåµÄ¹ý³Ì¡£×îºÃÔÚ±àÂëʱ²»Òª×ªÒå¶øÔÚÔËÐÐʱ¸ù¾ÝÐèÒª¶øתÒå
ʲôÊÇħÊõÒýºÅ
µ±´ò¿ªÊ±£¬ËùÓÐµÄ '£¨µ¥ÒýºÅ£©£¬"£¨Ë«ÒýºÅ£©£¬\£¨·´Ð±Ïߣ©ºÍ NULL ×Ö·û¶¼»á±»×Ô¶¯¼ÓÉÏÒ»¸ö·´Ð±Ïß½øÐÐתÒå¡£ÕâºÍ addslashes() ×÷ÓÃÍêÈ«Ïàͬ¡£
Ò»¹²ÓÐÈý¸öħÊõÒýºÅÖ¸Á
&nb ......
PHPÊÖ²áÉÏÌṩÁËÒÔÏÂһЩÖ÷ÒªµÄmysqlÊý¾Ý¿âµÄÖ§³Öº¯Êý£º
mysql_affected_rows -- È¡µÃÇ°Ò»´Î MySQL ²Ù×÷ËùÓ°ÏìµÄ¼Ç¼ÐÐÊý
mysql_change_user -- ¸Ä±ä»î¶¯Á¬½ÓÖеǼµÄÓû§
mysql_client_encoding -- ·µ»Ø×Ö·û¼¯µÄÃû³Æ
mysql_close -- ¹Ø±Õ MySQL Á¬½Ó
mysql_connect -- ´ò¿ªÒ»¸öµ½ MySQL ·þÎñÆ÷µÄÁ¬½Ó
mysql_c ......
array getimagesize(string filename)
¸Ãº¯Êý·µ»ØÒ»¸öËÄÎÞËصľØÕ󡢸æËßÄãËù¸øÎļþÃûµÄͼÏñ³ß
´ç¡£¸ÃÎļþµÄ¸ñʽ±ØÐëÊÇGIF,jpeg»òPNGÖеÄÈÎÒ»ÖÖ¡£
Ôª
ËØ
ÃèÊö
0
¿í¶ÈµÄÏñËØÊý
1
¸ß
¶ÈµÄÏñËØÊý
2
ͼÏñµÄÀàÐÍ£¨GIF=1,JPG=2,PNG=3)
3
ÔÚ
IMG±ê¼ÇÖпÉÓõ ......
±¾ÎÄת×Ô http://www.phpchina.com/html/31/35331-12207.html
PHPÀï±ßÓÃStatic¹Ø¼ü×ÖÀ´¶¨Ò徲̬ÊôÐԺͷ½·¨.
ʵÀýÒ»£º¾²Ì¬ÊôÐÔµÄÒýÓ÷½·¨
<?php
/*
*author:ajax123
*qq:283400245
*/
class person{
static$name="ajax123";//staticÉùÃ÷¾²Ì¬ÊôÐÔ
  ......
apache_2.2.8+ mysql_5.1.41+ php-5.2.12+ phpMyAdmin-3.2.5
1,°²×°apacheĬÈÏ°²×°¼´¿É
2,°ÑÏÂÔصÄphp5.2.12½âѹ°Ñ½âѹÎļþ¼ÐµÄËùÓÐÎļþ¸´ÖƵ½DÅÌPHPÎļþ¼ÐÖÐ:
3,´ò¿ªPHPÎļþ¼ÐÖаÑphp.ini-dist¸ÄΪphp.ini²¢´ò¿ª²¢°Ñ
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mhash.dll
extension=php_mime ......