phpµ÷Óÿؼþ³öÏÖÔÖÄÑÐÔ´íÎó - PHP / »ù´¡±à³Ì
PHP code:
<?php
$ClsName = new COM("BFT.BFTCtrl.1");
//var_dump($cnByClsName);
$ClsName ->DoShow();
²»ÖªµÀÈçºÎÊǺÃ?
»áÊÇʲôÔÒòÄØ£¿
BFT.BFTCtrl.1 ÊÇÎÒÃÇ×Ô¼ºÓÃvcдµÄ¹ÉƱ¿Ø¼þ£¬¿ÉÒÔ½«¹ÉƱÐÐÇéÏÔʾÔÚÍøÒ³ÉÏ£¬ºÍÔÚ¹ÉƱÈí¼þÉÏ¿´ÐÐÇéÒ»ÑùµÄЧ¹û¡£
$ClsName = new COM("BFT.BFTCtrl.1");
ÕâÒ»²½Ã»ÈκδíÎó£¬$ClsName ->DoShow()ÊÇÏÔʾһ¸ö´°Ì壬½á¹û³ö´í¡£
¶Ôѽ£¬phpÔÚ·þÎñÆ÷ºǫ́ÔËÐУ¬ÈçºÎÏÔʾ³ö¡°´°Ì塱ÄØ£¿
ÄãÃǵĿؼþÓ¦ÌṩÊý¾Ý¸øjs£¬ÓÉjs²úÉú»Ãæ¡£Èç¹ûÓÃflash¾Í¸üÃÀ¹ÛÁË
phpÊÇä¯ÀÀÆ÷ģʽµÄ£¬¿Ø¼þÊÇwindows³ÌÐòµÄ£¬ºÃÏñû°ì·¨µ÷³ö´°Ìå³öÀ´£¬Ö»Äܽ«¿Ø¼þ¸Äexe¸ñʽ£¬È»ºóÓÃphpÈ¥Ö´ÐУ¬ÕâÑùÓ¦¸Ã²Å¿ÉÒÔ°É
ÎÒÓÃjsÒ²µ÷ÓÃÁË£¬¿ÉÒÔÏÔʾµÄ£¬µ«Ò²Ã»·¨Ö´Ðк¯Êý¡£
JScript code:
<script language="JavaScript">
function testOcx()
{
var execOCX;
//¡°TESTOCX.TestOCXCtrl.1¡±×¢²áµÄ¿Ø¼þÃû
var execOCX = new ActiveXObject("BFT.BFTCtrl.1");
//DoShow()ÊǿؼþÖеķ½·¨
execOCX.DoShow();
}
</script>
ÓÃhtmlµ÷ÓÃÁË£¬´°ÌåÊÇÏÔʾÁË£¬µ«Ã»ÓÐÎÒÏëÒªµÄÊý¾Ý£¬ºÇºÇ¡£
HTML code
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighte
Ïà¹ØÎÊ´ð£º
zend guard¼ÓÃܵÄphpÊÇ¿ÉÒÔÆƽâµÄ£¬ÓÐµÄ ËµÊÇʹÓú¯Êý»ìÏý¿ÉÒÔ¸üÄÑÆƽâһЩ¡£ÔõôʹÓÃÄØ¡£
»òÕß´ó¼Ò¸æËßÎÒÄÄÖÖ¼ÓÃÜ·½Ê½¸ü°²È«¡£Ð»Ð»ÁË¡£
ÎÒÄ¿Ç°µÄzend guard°æ±¾ÊÇ4.0.1
ÎÞ½â
ÒýÓÃ
ÎÞ½â
²»¿ÉÄÜ°É¡£ÔÚÍøÉϲéÁ ......
±±¾©2ÄêPHP¾ÑéÇó¼æÖ°
½Ó·Ö
·¹ý½Ó·Ö£¡.¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
jf~~~~~~~~~~~~~~Ö§³Ö
ßÀ¡£¡£ÎÒÃÇÐèÒª¼æÖ°£¬¿ÉÊÇÔõôÁªÏµÄãѽ£¿
¶¥¡£¡£¡£ »Ø¸´ÄÚÈÝ »Ø¸´ÄÚÈÝÌ«¶ÌÁË£¡
º¼ÖÝÄãÈ¥²»È¥°¡ ¡£¡£¡£¡£¡ ......
×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬ÔÀ´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨
......
1¡¢ÊDz»ÊÇPHPÖÐÖ»ÄÜʹÓÃmysql_query("update user_aa set money=money2-".$bpanmm." where uid=".$userppp);¸üÐÂÊý¾Ý£¿£¿£¿
2¡¢PHP¸üÐÂmysql_fetch_row($res)Óëmysql_fetch_array($res)ÖеÄÊý¾ ......
ÏÖÓÐÒ»PHP¿Õ¼ä£¬Ö§³ÖMYSQLÊý¾Ý¿â
Ϊ½ÚÊ¡·ÑÓã¬ÏÖÏëͨ¹ýÓòÃûתÏòĿ¼ÐÎʽ½øÐйÜÀí£¨¼´½«ÓòÃûA¼Ç¼£Û°üÀ¨¶¥¼¶ÓòÃû¼°¶þ¼¶ÓòÃû£Ý¶¼Ö¸Ïòͬһ¿Õ¼ä£©
È磺·ÃÎÊÓòÃû abcd.cn Ö±½Ó·ÃÎÊÍøÕ¾¸ùĿ¼
·ÃÎʶþ¼¶ÓòÃû ef.abcd.cn ......