ʹÓà PHP ¿ìËÙÉú³É Flash ¶¯»
Jack D. Herrington
, ¸ß¼¶Èí¼þ¹¤³Ìʦ, Leverage Software Inc.
2007 Äê 1 ÔÂ 24 ÈÕ
Rich Internet Application ÊÇ Web 2.0 ÖеÄÐÂʱ÷Ö´Ê£¬²¢ÇÒ¾Í Web 2.0
µÄʵÖʶøÑÔ£¬Ò»¸ö¹Ø¼ü×é¼þ¾ÍÊÇ Adobe Flash¡£Á˽âÈçºÎ½« Flash ¶¯»¼¯³Éµ½Ó¦ÓóÌÐòÖУ¬²¢Ê¹Óà Ming ¿â¶¯Ì¬Éú³É Flash
¶¯»¡£
Web 2.0 ÒýÈëÁË Rich Internet Application¡£µ« Rich Internet Application
µÄº¬ÒåÊÇʲô£¿Í¨³££¬ËüÒâζ×ÅÏòÓ¦ÓóÌÐòÖÐÌí¼Ó¾ßÓи߶ÈÏìÓ¦ÄÜÁ¦µÄ½»ÒײÙ×÷¡£¾ßÌåÀ´Ëµ£¬ËüÒâζ×Å¿ÉÒÔ¼´Ê±¸ü¸ÄÒ³ÃæÖеÄС²¿¼þ¡¢Web ±íµ¥ºÍ±¨¸æ£¬¶øÎÞÐè´Ó·þÎñÆ÷ÖмìË÷ÐÂÒ³Ãæ¡£
Ò»
ÖÖÓÃÓÚ¹¹½¨ Rich Internet Application£¨RIA£©µÄ·½·¨¾ÍÊÇʹÓö¯Ì¬ HTML£¨Dynamic
HTML£¬DHTML£©£¬ËüÊÇ Ajax¡¢JavaScript¡¢²ãµþÑùʽ±í£¨Cascading Style Sheet£¬CSS£©ºÍ HTML
µÄ×éºÏ£¨Çë²ÎÔÄ ²Î¿¼×ÊÁÏ
£©¡£µ«ÊÇ DHTML ²¢²»ÊÇÏò Web Ó¦ÓóÌÐòÖÐÌí¼Ó»¥¶¯²Ù×÷µÄΩһ·½·¨¡£ÁíÒ»ÖÖÖØÒª·½·¨ÊÇʹÓà Adobe Flash Player£¬Ê¹ÓÃËüΪ Web Õ¾µãÌí¼Ó½»»¥²Ù×÷ÒѾÓÐÊ®ÄêµÄÀúÊ·¡£
µÚÒ»°æµÄ Flash ÔøÊÇÓÃÓÚ´´½¨¶¯»Í¼Æ¬µÄ¹¤¾ß£¬¶ø×îа汾µÄ Flash ÒѾ¿ÉÒÔÍйÜÒ»¸öÍêÕûµÄ½çÃ棬¿ÉÓÃÓÚ¿ØÖÆ Web ·þÎñ·ÃÎʲ¢Ê¹Óà ECMAScript£¨JavaScript µÄÕýʽ°æ±¾£©À´ÌṩÍêÕûµÄ½Å±¾Ö§³Ö¡£
Á˽â Flash
Flash
Player ÊǼ¯³Éµ½ÔËÐÐ Microsoft® Windows®¡¢Mac OS X ºÍ Linux® µÄ¼ÆËã»úµÄ Web
ä¯ÀÀÆ÷ÖеÄÒ»¸ö²å¼þ¡£½ØÖÁ±¾ÎÄÍê¸åʱ£¬×îа汾µÄ Flash Player ÊÇ
V8¡£ËüÊÇ¿ÉÒÔÃâ·Ñ»ñµÃµÄ£¬´ó¶àÊýä¯ÀÀÆ÷¶¼¸½´ø°²×°Á˴˲å¼þ¡£ËüÊ®·ÖÁ÷Ðв¢ÇÒ¾ßÓÐÓÅÐãµÄ¿Í»§»úÉø͸Á¦ —— ¶øÕâÖÖÉø͸Á¦Ëæ×Å YouTube ºÍ
Google Video ÕâÀà·þÎñµÄ³öÏֵõ½ÁËÌá¸ß£¬ÕâЩ·þÎñ¶¼Ê¹Óà Flash ÏÔʾÊÓƵÁ÷¡£
Flash Player
Ö»ÊÇÌìƽµÄÒ»¶Ë¡£Òª·¢»Ó×÷Óã¬Flash Player »¹ÐèҪʹÓÃÒ»¸ö Flash ¶¯»¡£´ËÀද»Í¨³£ÊÇʹÓÃÒ»ÖÖ Flash
µÄ¿ª·¢¹¤¾ß±àÒëµÄÎļþ£¬ÆäÎļþÀ©Õ¹ÃûΪ .swf¡£µ«ÕýÈçÄú½«ÔÚ±¾ÎÄÖп´µ½µÄÄÇÑù£¬»¹¿ÉÒÔʹÓà Ming ¿âÓü¸ºõÓ붯̬´´½¨Í¼Æ¬ÏàͬµÄ·½·¨À´¶¯Ì¬¹¹½¨
.swf Îļþ£¬²¢ÔÚ Web ·þÎñÆ÷ÉÏ»æÖÆͼÐΡ£Ming ¿âÀûÓÃÓÉ PHP ´úÂë¹¹½¨µÄ¶ÔÏóºÍ·½·¨ÔÚÐ嵀 .swf ÎļþÖй¹½¨²Ù×÷´úÂë¡£
Äú
¿ÉÒÔͨ¹ýÁ½ÖÖ·½·¨ÖеÄÈÎÒâÒ»ÖÖ·½·¨À´²é¿´ Web Õ¾µãÖÐµÄ .swf Îļþ¡£µÚÒ»ÖÖ·½·¨Ö»Ðèµ¼º½µ½ .swf ÎļþµÄ URL¡£ÕâÑù×ö½«°Ñ Web
·þÎñÆ÷µÄÕû¸öÄÚÈÝÇøÓòÌ滻Ϊ Flash ¶¯»¡£´Ë·½·¨±ãÓÚ½øÐе÷ÊÔ£¬µ«Ö÷ÒªµÄÓ÷¨»¹Êǽ«¶¯»Ç¶Èëµ½ HTML Web Ò³ÃæµÄ <obj
Ïà¹ØÎĵµ£º
#apt-get install apache2
//°²×°apahce2
#apt-get install php5
//°²×°php5
#apt-get install mysql-server
//°²×°mysql·þÎñ¶Ë
#apt-get install mysql-myclient
//°²×°mysqlµÄ¿Í»§¶Ë
#apt-get install php-mysql
//°²×°php-mysqlµÄÁ¬½á
apache+php+mysql »·¾³ÒѾ´î½¨ºÃÁË
½«ÒÔϵķþÎñÖØÆôÒ»ÏÂ
#/et ......
Ò»¡¢µÇ½
1.½øÈëlinux
2.̞: root
3.¿ÚÁî:123456
4.mysql Óû§Ãû root ÃÜÂë 123456
¶þ¡¢Æô¶¯mysqlÓëapache·þÎñ
1.Æô¶¯mysqÊý¾Ý¿â:/usr/local/mysql/bin/./mysqld_safe --user=mysql &
2.Í£Ö¹mysqlÊý¾Ý¿â:/usr/local/mysql/bin/mysqladmin -u root -p shutdown
3.Æô¶¯apache: /usr/local/apache2/bin/./ap ......
<?php
/* ¶þ½øÖÆȨÏÞ¿ØÖÆPHPÀà
* ×÷ Õß: ¶à²ËÄñ
* ÓÊ Ïä: kingerq AT QQ DOT com
* À´ Ô´£ºhttp://blog.csdn.net/kingerq/archive/2009/10/22/4714223.aspx
* ´´½¨Ê±¼ä: 2009-10-22
*/
class binPower{
var $power = "";
//ȨÏÞ´æÖü±äÁ¿,Ê®½øÖÆÕûÊý
function __construct($power) ......
PHP±í´ïʽ
±í´ïʽÊdz£Á¿¡¢±äÁ¿ºÍÔËËã·ûµÄ×éºÏ
±í´ïʽÊÇPHPÖеÄÖØÒªÄÚÈÝ£¬PHPÖм¸ºõËùÓеĶ«Î÷¶¼¿ÉÒÔ³ÆΪ±í´ïʽ
$x=10;
$y=($x=10);
$y+=($x=10);
$z=&$x;
$condition?$true_item:$false_item;
PHPÔËËã·û
ÔËËã·ûÊÇÓÃÀ´¶ÔÊýÖµ»ò±äÁ¿½øÐÐijÖÖ²Ù×÷ÔËËãµÄ·ûºÅ¡£Ò»°ãµØ˵£¬ÔËËã·û¿ÉÒÔ´øÓÐ1¸ö¡¢2¸ö»òÕ߸ü¶à¸öÔËË ......
PHPÊý¾ÝÀàÐÍת»»Ï¸½Ú
1¡¢Êý×Ö£¨ÕûÐκ͸¡µãÐÍÖ®¼ä¿ÉÒÔÏ໥ת»¯£©
ÕûÐÎת»»Îª¸¡µãÐÍ£ºÓÉÓÚ¸¡µãÐ͵ľ«¶È·¶Î§Ô¶´óÓÚÕûÐΣ¬ËùÒÔת»»ºóµÄÊýÖµ¾«¶È²»»á¸Ä±ä¡£
¸¡µãÐÍת»»ÎªÕûÐΣº½²×Ô¶¯ÉáÆúСÊ÷²¿·Ö£¬Ö»±£ÁôÕûÊý²¿·Ö¡£×¢£ºÈç¹ûÒ»¸ö¸¡µãÐͳ¬¹ýÕûÊýÈ¡ÖµµÄÓÐЧ·¶Î§£¬Æä½á¹û½«ÊÇÎÞ·¨È·¶¨µÄ£¨ÕûÊýµÄ×î´óÖµÔ¼ÊÇ2.147e9£©¡£
¡¾Ê¾Àý¡ ......