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

phpÖÐÅжÏ×Ô¶¨Òå·½·¨ÊÇ·ñ´æÔÚ

<?php
 
 
  function myFun(){
   echo "hello,ÕÅÈý";
  }
 
  //ÀûÓÃfunction_exists·½·¨ÅжÏ×Ô¶¯ÒÔ·½·¨ÊÇ·ñ´æÔÚ
  //¸Ã·½·¨²ÎÊýΪҪÅжϵÄ×Ô¶¨Òå·½·¨µÄ·½·¨Ãû£¬¿ÉдΪ
  //"myFun"»òmyFun
  if(function_exists(myFun)){
   echo "´æÔÚ";
  }else{
   echo "²»´æÔÚ";
  }
?>


Ïà¹ØÎĵµ£º

phpÔö,¸Ä,ɾ³ý²Ù×÷

<?php
class main extends spController
{
    function index(){
    echo "<p align=center><h1>HIS»ù´¡Êý¾Ýά»¤</h1>";
    echo "<p align=center><h2>¿ÆÊÒ×Öµä</h2>";
    $contentsurl=spUrl("main", "i ......

·À·¶phpľÂí

1¡¢·ÀÖ¹Ìø³öwebĿ¼ £¨ÑÏÖØ²ÉÓã©
¡¡¡¡Ê×ÏÈÐÞ¸Ähttpd.conf£¬Èç¹ûÄãÖ»ÔÊÐíÄãµÄphp½Å±¾³ÌÐòÔÚwebĿ¼Àï²Ù×÷£¬»¹¿ÉÒÔÐÞ¸Ähttpd.confÎļþÏÞÖÆphpµÄ²Ù×÷·¾¶¡£±ÈÈçÄãµÄwebĿ¼ÊÇ/usr/local/apache/htdocs£¬ÄÇôÔÚhttpd.confÀï¼ÓÉÏÕâô¼¸ÐУº
¡¡¡¡php_admin_value open_basedir /usr/local/apache/htdocs
¡¡¡¡ÕâÑù£¬Èç¹û½Å±¾Òª ......

xmlÎĵµÀﺬÓÐÌØÊâ×Ö·ûʱµÄ´¦Àí·½·¨(php)

¡¡¡¡±¾ÎÄÊ×·¢´úÂëÌìÏÂ,×ªÔØÇë×¢Ã÷À´Ô´´úÂëÌìÏ£¬Ð»Ð»¡£
¡¡¡¡½ñÌìÉϰàʱÓöµ½Ò»¸öÎÊÌ⣬ÓÎÏ·¹Ù·´Ó¦Ò»¸öÓû§³ä²»ÁËÖµ¡£³ä²»ÁËÖµÒ»°ãΪÓû§½ÇÉ«²»ÕýÈ·£¬ÎÒ×Ðϸ¼ì²é·¢ÏÖ¸ÃÓû§½ÇÉ«ÓеãÒì³££¬ÒòΪ¶Ô·½·µ»Ø½ÇÉ«ÊÇxml£¬ÎÒÌùÉÏÀ´¸ø´ó¼Ò¿´Ò»Ï£º
<Result value="true" message="Success!">   <It ......

php×öÍøÕ¾¿ìÕÕͼƬ

Ö»ÄÜÊÇwindowÏÂ.
´Óphp ¹ÙÍøÉÏÏÂÔØ php_gd2.dll (5.2.2°æµÄ.)
Ìæ»»ÄãÔ­À´µÄgd2.
×Ô¶¯×¥È¡ÍøÕ¾Ò³Ãæ²¢±£´æÎªÒ»¸öͼƬ.
ʵÏÖ´úÂëÈçÏÂ:
<?php
$browser = new COM("InternetExplorer.Application");
$handle = $browser->HWND;
$browser->Visible = true;
$browser->FullScreen = true;
$browser->Nav ......

phpÖвÎÊý´øÄ¬ÈÏÖµµÄ×Ô¶¨Òå·½·¨

<?php
 
 
  //ʹÓÃfunction¹Ø¼ü×Ö¶¨Òå·½·¨
  function num($value,$value2 = 'ÄúºÃ£¡'){
   echo $value.$value2;
  }
 
 
  
   //µÚÒ»´Îµ÷ÓÃ
  num("ÕÅÈý");
 
  //µÚ¶þ´Îµ÷ÓÃ
  //¿ÉÒÔ¿´³ö£¬¸Ã·½·¨¶¨Òåʱ£¬µÚ¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ