php ʹÓà ADODB Á¬½ÓAccess µÄÎÊÌâ
<?php
include("adodb/adodb.inc.php");
$db = &NewADOConnection("access");
$access = realpath("Data.mdb");
$dsn = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=$access;";
// $dsn = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=$access;";
$db->Connect($dsn) or
die("Connect({$dsn}) Fail!\r\n$db->ErrorMsg()");
?>
ÈçºÎÓÃÕâÁ½ÖÖÁ¬½Ó×Ö·û´®,ÈóÌÐòÅÜÆðÀ´
$dsn = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=$access;";
// $dsn = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=$access;";
ÁíÍâ,ÇëÎÊ´øÃÜÂëµÄÁ¬½Ó ÓÃÕâÁ½ÖÖÁ¬½Ó ÈçºÎʵÏÖ?
СµÜÀ§ÈÅÁ˺þÃÁË,Çë¸÷λǰ±²ÃDz»ÁߴͽÌ,Ö¸µãÃÔ½ò!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ê®·Ö¸Ðл!!!!!!!!!!!
ÒÔǰдµÄ PHPÁ¬½ÓAccessÊý¾Ý¿âÎÞ´í°æ
http://blog.csdn.net/brothercat/archive/2006/07/21/952716.aspx
Èç¹û¼ÓÉÏÃÜÂ룬
½«
$connStr="Provider = Microsoft.Jet.OLEDB.4.0;Data Source=".realpath("easy.mdb");
¸Ä³É
$connStr="Provider = Microsoft.Jet.OLEDB.4.0;Data Source=".realpath("easy.mdb").";Database Password=123";
ÊÔÊÔ£¬123±íʾÃÜÂë×Ö·û´®
»¹ÊÇÄǾäÀÏ»°,½¨ÒéʹÓÃPDOÈ¥Á¬½Ó...
http://cn2.php.net/manual/en/ref.pdo-dblib.php#86668
Ïà¹ØÎÊ´ð£º
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
ÔÀ´ÔËÐеÄÊÇPHP4,ÏÖÔÚ¼ÓÈëеÄÒ³Ãæ,ÐèÒªPHP5Ö§³Ö,²»ÖªµÀÔÚlinuxÏÂÈçºÎ°Ñphp4Éý¼¶µ½php5,ÓоÑéµÄÅóÓÑÇë¶à¶àÖ¸½Ì,лллл.·þÎñÆ÷ÅäÖÃÊÇPHP+Apache+mysql
È¥www.php.netÏÂÔØphp5ºÍ°²×°Êֲᡣ
³ÌÐò²»Éý¼¶ Óеij ......
Linux Ï´ó¼Ò¶¼ÓÃʲôÑùµÄPHP£¿
½ñÌìÉÏ´«ÁËÒ»¸öµÛ¹úµÄCMS£¬½ø²»È¥°²×°Ò³Ãæ....ÓеãÕÒ²»µ½±±,´ó¼Ò°ï°ïæ°É....MySQLĬÈÏ×°ÁË...php5ÊÇĬÈÏ×°µÄ
¼ȨÏÞ 777 ÉèÁË ¿ÉÒÔ¿´µ½INDEX.htmlµ«¾ÍÊǽø²»Ö§INSTALL£¨ÎÒµÄLI ......