µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
PHP
»
PHP+MySQL ¤Jªù¹ê§@
» 7-1-1 DNS-less³sµ²¸ê®Æ®w
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
7-1-1 DNS-less³sµ²¸ê®Æ®w
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
490 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-23
¡@¼ÊºÙ:
¤p»x
¡@ÀY»Î:
´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-23
1
#
¸õÂà¨ì
»
¥¿§Ç¬Ý©«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2011-4-20 08:18
|
¥u¬Ý¸Ó§@ªÌ
7-1-1 DNS-less³sµ²¸ê®Æ®w
7-1-1 DNS-less³sµ²¸ê®Æ®w
³sµ²Access2000¸ê®Æ®w
³sµ²Access2000¸ê®Æ®w¬O¨Ï¥Îodbc_connect()¨ç¼Æ¡G
odbc_connect(¡§ODBC¦r¦ê¡¨,¡¨±b¸¹,¡¨±K½X¡¨)
½Æ»s¥N½X
°ò¥»¤W¡A³sµ²Access2000¸ê®Æ®w®É¡AODBC¦r¦ê¤¤»Ýµ¹©w¨âÓODBC°Ñ¼ÆÈ¡G
Driver¡G³sµ²Access2000¸ê®Æ®w©Ò»ÝªºODBCÅX°Êµ{¦¡¡C
DBQ¡GAccess2000¸ê®Æ®wªº¥»¾÷¡u¹ê»Ú¸ô®|¡v¡C
¥H³sµ²Access2000®æ¦¡ªºstudents1.mdb¸ê®Æ®wÀɮ׬°¹ï¶H¡A½d¨Òex07_01.PHP¡G
<?
$Provider="Driver={Microsoft Access Driver (*.mdb)};";
$Path="DBQ=" . getcwd() . "\\" . "STUDENTS1.mdb";
//³sµ²¸ê®Æ®w
odbc_connect($Provider . $Path,"","");
?>
½Æ»s¥N½X
¡u$Provider="Driver={Microsoft Access Driver (*.mdb)};"¡v¡G¨Ï¥ÎÅܼÆProvider¨Ó«ü©w§ÚÌn¨Ï¥Îªº¸ê®Æ®wÅX°Êµ{¦¡¡A¦]¬°§ÚÌn¶i¦æ³sµ²¦s¨úªº¸ê®Æ®wÀÉ®×Ãþ«¬¬°Access®æ¦¡¡A©Ò¥H¨Ï¥ÎªºODBC¸ê®Æ®wÅX°Êµ{¦¡¬°¡G¡u{Microsoft Access Driver (*.mdb)}¡v¡C
¡u$Path="DBQ=" . getcwd() . "\\" . "STUDENTS1.mdb"¡v¡G¨Ï¥ÎÅܼÆPath¨Ó«ü©w§ÚÌn¨Ï¥Îªº¸ê®Æ®w¸ô®|»PÀɦW¡F§ÚÌn¶i¦æ³sµ²¦s¨úªº¸ê®Æ®wÀɮסA¥²¶·«ü©w¦¹¸ê®Æ®wÀɮתº§¹¾ã¸ô®|¦WºÙ¡A©Ò¥H§ÚÌ¥²¶·¨Ï¥Î¡ygetcwd()¡z¤èªk¨Ó¨ú±o¥Ø«e«°¥«°õ¦æªº§¹¾ã¸ô®|¦WºÙ¡A±µµÛ¦A¥[¤W¸ê®Æ®wªº¬Û¹ï¸ô®|»P¸ê®Æ®wÀɮצWºÙ¡C
¼Ó¥D¼ö©«
½×¾Â¤£Åý¸ê¾ú¤ñ¸û²Lªº¤H¤U¸ü¬d¬Ýªþ¥óªº¥Î·N
EXCEL±MÄÝ°Q½×°Ï¦Û§Y¤é°_¤¤¾Ç¥Í¥H¤W·|û¤è
³Â»¶®a±Ú°Q½×°Ï ³q¥Îª©³W
OFFICE °ò¦±Ð¾Ç¼Æ¦ì¤Æ
ATX ¹q·½¨ÑÀ³¾¹¤â°Ê±Ò°Ê(¤£±µ¥D¾÷ªO±Ò°Ê)
¦Ò¼{Ãö³¬½×¾Âºô¯¸
³Â»¶®a±Ú°Q½×°ÏÁô¨pÅv¬Fµ¦»¡©ú
³Â»¶®a±Ú°Q½×°Ï ¸Û¼xª©¥D
¥Ñ½׾ÂÂà¶iªº¤¤¾Ç¥Íµ¥¯Å¥H¤W·|û,½ÐÃöª`!
14-2 ¸ê®Æ®w¹Ï¤ù¦s¨ú
¦¬ÂÃ
¤À¨É
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
´åïú§e
µoµu®ø®§
¥[¬°¦n¤Í
´åïú§e
·í«eÂ÷½u
UID
15117
©«¤l
4
¥DÃD
1
ºëµØ
0
¿n¤À
13
ª÷¿ú
13
ÂI¦W
0
§@·~¨t²Î
Xp
³nÅ骩¥»
office 2007 php 5.26
¾\ŪÅv
10
©Ê§O
¨k
¨Ó¦Û
¥x¤¤
¦b½u®É¶¡
3 ¤p®É
µù¥U®É¶¡
2013-9-12
³Ì«áµn¿ý
2013-10-13
¤p¾Ç¥Í
©«¤l
4
¥DÃD
1
ºëµØ
0
¿n¤À
13
ÂI¦W
0
§@·~¨t²Î
Xp
³nÅ骩¥»
office 2007 php 5.26
¾\ŪÅv
10
©Ê§O
¨k
¨Ó¦Û
¥x¤¤
µù¥U®É¶¡
2013-9-12
³Ì«áµn¿ý
2013-10-13
3
#
µoªí©ó 2013-9-24 18:54
|
¥u¬Ý¸Ó§@ªÌ
¬Æ»ò¬ODNS-less ?
DNS¤@¯ë¬O«üDomain Name System (©ÎService) , ¦ý»P¥»¸`¥DÃD¦ü¥GµLÃö . ¤£ª¾¬O§_À³¬°DSN ( Data Source Name ) ¤§»~?
yyc
TOP
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
490 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-23
¡@¼ÊºÙ:
¤p»x
¡@ÀY»Î:
´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-11-23
2
#
µoªí©ó 2011-4-20 08:19
|
¥u¬Ý¸Ó§@ªÌ
³sµ²MS SQL2000¸ê®Æ®w
MS SQL¸ê®Æ®wªº³sµ²¥²¶·¹ïÀ³ºÞ²z¸ê®Æ®wªºMS SQL Server¡A©Ò¥H³sµ²ªº°Ñ¼Æ¤ñ¸û¦h¡G
Driver¡G³sµ²MS SQL Server©Ò»ÝªºODBCÅX°Êµ{¦¡¡C
Server¡G±ýµn¤JªºMS SQL Server¥D¾÷¦WºÙ¡C
UID¡Gµn¤JMS SQL Serverªº±b¸¹¡C
PWD¡Gµn¤JMS SQL Serverªº±K½X¡C
DataBase¡Gµn¤JMS SQL Server«án³sµ²¨Ï¥ÎªºSQL¸ê®Æ®w¦WºÙ¡C
¥H³sµ²MS SQL2000¤º«ØªºNorthwind¡]¥_·¡^¸ê®Æ®wÀɮ׬°¹ï¶H¡A½d¨Òex07_02.PHP¡G
<?
$dnsless="Driver={SQL Server};" .
"Server=(Local);" .
"UID=SA;" .
"PWD=12345;" .
"DataBase=Northwind";
//³sµ²¸ê®Æ®w
$z=odbc_connect($dnsless,"","");
echo $z;
?>
½Æ»s¥N½X
´£¥Ü¡I¡I
Server°Ñ¼ÆÈ¡u¡]Local¡^¡v¥Nªíµn¤JªºSQL Server¬°¥»¾÷¦øªA¾¹¡AY«D¥»¾÷¦øªA¾¹¡A«hServer°Ñ¼ÆÈ¥²¶·«ü©w¬°±ýµn¤JªºSQL Server¥D¾÷¦WºÙ¡C
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
TOP
ÀR«ä¦Û¦b :
¡i¬°µ½Ävª§¡j¤H¥Ín¬°µ½Ävª§¡A¤À¬í¥²ª§¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·