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

phpÁ¬½Óaccess


phpÁ¬½Óaccess
 
 
$conn=new COM("ADODB.Connection");
$dsn="DRIVER={Microsoft Access Driver (*.mdb)};DBQ=".realpath("data.mdb").";Uid=Admin; Pwd=BDC2002Data;";
$conn->open($dsn); 
$sql="select * from dict"; 
$rs=$conn->Execute($sql);
$row="0";
while(!$rs->EOF)
{
       for ($i=0;$i<$rs->Fields->count;$i++)
       {
              if ($i==0)
              {
                     $string.=$rs->Fields($i)->Value;
                     continue;
              }
              $string.='|'.$rs->Fields($i)->Value;
       }
       $string.="\n";
       if ($row==300)
       {
              //break;
       }
       $row++;
       $rs->MoveNext();
       echo $string;
}
»òÕß
//ODBCÁ¬½ÓÊý¾Ý¿â
$cnx=odbc_connect("program","","");
if(!$cnx){
error_handler("ODBC_connectÁ¬½ÓÓдíÎó",$cnx);
}
$cur=odbc_exec($cnx,"select * from diary");
if (!$cur){
error_hander("Odbc_execÔËÐÐÓдí,ûÓÐÖ¸Õë´«»Ø",$cur);
}
//È¡³ö³É¹¦µÄÊý¾Ý
$cur=odbc_exec($cnx,"select * from diary order by id desc");
 while(odbc_fetch_row($cur))
 {
 $title=odbc_result($cur,2);
 $id=odbc_result($cur


Ïà¹ØÎĵµ£º

AJAXÖÐÎÄÂÒÂëPHPÍêÃÀ½â¾ö

×î½üÔÚ×öÒ»¸öÏîÄ¿£¬Óöµ½AJAXÖÐÎÄÂÒÂëÎÊÌ⣬¾­¹ýÒ»¸öÏÂÎçµÄŬÁ¦ÖÕÓÚÍêÃÀ½â¾ö£¬ÏÖ½«ÐĵÃдÏÂÀ´£¬Ï£Íû¶ÔÄÇЩ»¹À§ÈÆÔÚÕâ¸öÎÊÌâ¶øÍ·Í´²»ÒѵÄÈËÃÇÓÐËù°ïÖú¡£
ÖÚËùÖÜÖª£¬Ê¹ÓÃAJAX´«ËͺͽÓÊÕÖÐÎIJÎÊýʱ£¬Èç¹û²»ÔÚ¿Í»§¶ËºÍ·þÎñÆ÷×öÏàÓ¦µÄ´¦Àí¾Í»á³öÏÖÂÒÂëÎÊÌ⣬ÔÚÍøÉÏÏàÓ¦µÄÎÄÕÂÒ²²»ÉÙ£¬µ«ÊÇÓеÄÇé¿öϺÜÄÑ´ÓÖÐÕÒµ½·ûºÏ×Ô¼ºÀíÏëµÄ´ð ......

PHP»ñȡʱ¼ä´íÎóµÄÐÞÕý·½·¨

PHP»ñȡʱ¼ä´íÎóµÄÐÞÕý·½·¨
   ½ñÌìÔËÐÐPHP³ÌÐòµÄʱºò£¬ºÜÆæ¹Ö£¬ÎªÊ²Ã´PHP»ñÈ¡µÄʱ¼ä±Èʵ¼Êʱ¼äÕûÕûÉÙÁË8Сʱ£¬ÒÔǰҲûעÒâÕâ¸öÎÊÌ⣬×ÜÒÔΪÊÇʱ¼äÏÔʾ´íÁË£¬ÊÇ°²×°Èí¼þµÄÎÊÌ⣬½ñÌìÔÚÍøÉϲéÁËÏÂ×ÊÁÏ£¬Ô­À´ÁíÓÐÔ­Òò¡£
   ÆäʵÕâºÍʱÇøÓйأ¬PHPĬÈÏ»ñÈ¡0ʱÇø¿ªÊ¼µÄʱ¼ä£¬ÖйúÔÚ¶«°ËÇø£¬Òò´Ë£¬ÎÒÃÇÖÐ ......

¹ØÓÚPHPÖеÄ·¾¶ÎÊÌâ

1¡¢Ê¹Óþø¶Ô·¾¶°üº¬Îļþ
    ÔÚÿ´Î¶ÔÎļþµÄ°üº¬ÖУ¬¶¼Ê¹ÓÃϵͳ¾ø¶Ô·¾¶½øÐаüº¬£¬±ÈÈç require('/var/www/html/inc/test.inc')£»µÄ·½Ê½£¬ÔÚËùÓÐÎļþÖж¼ÕâÑù°üº¬¾Í¿ÉÒÔ±ÜÃâ¶à¼¶°üº¬³öÏÖµÄÎÊÌ⣬µ«ÊÇÕâÖз½Ê½²»Áé»î£¬ÏµÍ³¿ÉÒÆÖ²ÐÔ¼«²î£¬½¨Òé²»²ÉÓá£
2¡¢ÔÚÒ»¸ö¹«ÓÃÎļþÖж¨Ò幫ÓÃÎļþµÄÁÐ±í£¬½«¸÷¸ö¹«ÓÃÎļþµÄ ......

phpͨÓüì²âº¯Êý¼¯

ÍøÉÏÕÒµ½µÄ£º¹²ÏíÒ»ÏÂ
<?
//¡¾¾¯¸æ¡¿:δ¾­Ðí¿ÉÇëÎðËæ±ãÐÞ¸Ä
//-----------------------------------------------------------------------------------
-------
//-----------------------------------------------------------------------------------
-------
//
// ¡¾ÎļþÃû¡¿: c_check.inc
// ¡¾× ......

¹ØÓÚPHPµÄ¼¸µãÎÊÌâ¼°½â¾ö·½·¨

1.ÅäÖÃIISϵÄPHP»·¾³
ÎÒÓõÄÊÇWindows server 2003+IIS 6.0+PHP,µ«¸Õ¿ªÊ¼ÓõÄPHP5.3£¬°´ÕÕÍøÉϵķ½·¨http://www.gzu521.com/campus/article/network/200902/182924.htmÒ»²½²½ÅäÖ㬵«Êǽá¹ûÔËÐгöÏÖÁËÒ»¸öÎÊÌ⣬¾ÍÊÇThe FastCGI Handler was unable to process the request.ÕÒÁ˺ܶà½â¾ö·½·¨µ«ÊÇ»¹ÊÇûÓнâ¾ö£¬×îºóÎÒ»»³É ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ