php 5.3 Á¬½ÓmssqlÊý¾Ý¿â
×î½üÓиöС¶«Î÷Òª²é¿´mssqlÊý¾Ý¿âÊÇÓÃphpʵÏֵģ¬ÒÔÇ°ÎÒÓÃphp5.2ʱ¸Ð¾õͦ¼òµ¥µÄËùÒÔÏëphp5.3Ò²Ó¦¸ÃºÜ¼òµ¥µÄ
ΪʲôҪÓÃphp5.3ÄØÒòΪÎÒÏëÓÃsqlite3.0µÄ°¡£¬ÒòΪphp5.2µÄ²»Ö§³Ösqlite3.0µÄ°¡£¬ËùÒÔÎÒÌØÒâÈ¥ÏÂÁË5.3ÁËÏÂÔØ»ØÀ´Á˲ŷ¢ÏÖ5.3ÀïûÓÐmssqlµÄdllÀ©Õ¹ÁË£¬ÓôÃÆ°¡£¬²»¹ÜÕâô¶àÏÈÓÃÆðÄÇsqlite3.0ÔÙ˵ÁË
sqlite3.0µÄ²¿·Ö³ÌÐò»ù±¾Ð´ÍêÁË£¬ÏÖÔÚÒª¿ªÊ¼Á¬½ÓmssqlÊý¾Ý¿âÁË£¬ÎÒÏëûÓÐmssqlÄǾÍÓÃodbc°É£¬¿¿Á¬odbcÒ²ÕÒ²»µ½°¡£¬Ö»ÓÐpdo_odbcµÄ£¬Ã»Óа취ÁËÄǾÍÓÃpdo_odbcÁË£¬ÔõôÁ¬½Ó»¹Ã»ÓÐÓùýÄØ£¬Ö±½Ó²éphpµÄÊֲᣬ¸ù¾ÝÊÖ²áÊǵÄʵÀýÁ¬½ÓһϷ¢ÏÖÓÐÎÊÌâ°¡
¾¹È»ËµÃ»ÓÐodbcÇý¶¯°¡£¬Ôõô»ØÊ°¡£¬¸ãÁËÒ»»áûÓÐÕûÃ÷°×£¬ËãÁËÖ±½ÓÓÃ΢Èí¶ÔphpÀ©Õ¹Á½¼ÒsqlserverµÄ°É£¬ÊÇSQLServerDriverForPHP11ÏÂÔØÁË°²×°Ò»Ï£¬Æäʵ¾ÍÊÇ×Ô½âѹµÄѹËõ°ü°¡£¬¸ù¾Ý×Ô¼º¶ÔÓ¦µÄphp°æ±¾µÄsqlserverdriverµÄdll¿½±´µ½extĿ¼ÏÂÈ»ºóÔÚphp.iniÖмÓһϠextension=php_sqlsrv_53_nts_vc9.dll ¼ÓÔØʧ°Ü£¬ÓôÃÆ°¡£¬ºóÀ´¿´ÁËÎÒµÄphp°æÊÇphp-5.3.2-Win32-VC9-x86.zip²»ÊÇnts£¨Õâ¸öºÃÏñÊÇ·ÇḬ̈߳²È«°É£©ÎҾͻ»Á˸öextension=php_sqlsrv_53_ts_vc9.dll ûÓб¨´íÁË£¬¿´À´Ó¦¸Ã¿ÉÒÔÁË°É£¬¸ù¾ÝÕâÏÂÔØÇý¶¯Îĵµ¿´¿´ÔõôÁ¬½ÓÊý¾Ý¿âµÄ£¬ÀÏÊÇÏÔʾÁ¬½Ó³¬Ê±°¡£¬ÒòΪÊǶ˿ڸÄÁ˵ģ¬ËùÒÔÎÒÖ±½ÓÊÇÔÚipºóÃæ¼ÓÁËðºÅ¼Ó¶Ë¿Ú £¬È»ºóÓÃϵͳ×Ô´øµÄÊý¾ÝodbcÁ¬½ÓÊý¾Ý¿âÊÇ¿ÉÒԵİ¡£¬¿´À´ÓпÉÄܶ˿ڲ»ÊÇÕâÑù¼ÓµÄ°¡ £¬ÍøÉϲéÁ˺ÃÏñÊÇÓöººÅ·Ö¸ôµÄ°¡£¬¿´ÁËÊÔÊÔÁË¡£
ÓиøÎÒÌáʾûÓÐMicrosoft SQL Server 2008 Native ClientÇý¶¯ÁË£¬Ã»°ì·¨ÎҾͰ²×°°É£¬ÏÂÔØÁË°²×°ÁË£¬ÔÚÁ¬½ÓÔ¶³ÌµÄÊý¾Ý¿âûÓÐÏÔʾ´íÎóÁË£¬¿´ÁË»ù±¾Ã»ÓÐÎÊÌâÁË£¬ºÃÁË×ÜËã½â¾öÁË£¬¸ãµÄÎÒºÃÐÁ¿à°¡
Ïà¹ØÎĵµ£º
ÖØÒªµÄPHP³¬¼¶È«¾Ö±äÁ¿×ܽá
2008-07-14 16:53:03
¡¡±êÇ©£ºÈ«¾Ö±äÁ¿
¡¡¡¡¡¡[ÍÆË͵½¼¼ÊõȦ
]
PHPÓÐ9¸öÔ¤¶¨Òå±äÁ¿Êý×飬·Ö±ð×ܽáÈçÏ£º
1¡¢$_SERVER
$_SERVER³¬¼¶È«¾Ö±äÁ¿°üº¬ÓÉweb·þÎñÆ÷´´½¨µÄÐÅÏ¢ ......
<?php
if($_POST['str'])
{
header('Content-type: application/doc');
header('Content-Disposition: attachment; filename="downloaded.doc"');
echo iconv("UTF-8","GB2312",$_POST['str']);
}
?>
<a href="javascript:void(0)" onclick="downword()">ÏÂÔØ</a>
<div id="word" style="dis ......
²©¿Í£ºWordPress
WordPressÊÇʹÓÃPHP¿ª·¢µÄÖøÃû²©¿Íƽ̨£¬Ãâ·Ñ¿ªÔ´£¬¹¦ÄÜÇ¿´ó£¬²»½ö½öÓÃÓÚ²©¿Í´î½¨£¬»¹¿ÉÒԹ㷺ӦÓÃÓÚ¸÷ÀàÍøÂçÐÅÏ¢·¢²¼Æ½Ì¨¡£
ÂÛ̳£ºphpBB
phpBBÊÇÒ»Öֹ㷺Á÷ÐеĿªÔ´ÂÛ̳Èí¼þ£¬¾ßÓÐÒ×ÓÚʹÓõĹÜÀíÃæ°åºÍÓѺõÄÓû§°²×°½çÃ棬¿ÉÒÔÇáËɵØÔÚÊý·ÖÖÓÄÚ½¨Á¢ÆðÒ»¸öÂÛ̳£¬¹¦ÄÜÉϾßÓкܸߵĿÉÅäÖÃÐÔ£¬Äܹ»ÍêÈ«¶¨Ö ......
ÔÚÏîÄ¿¿ª·¢Öз¢ÏÖ¶ÔphpµÄÎĵµÈ±ÉÙ¹ÜÀí,±ðÈËдÁËÒ»¸ö,¹¦Äܲ»¶à
<?php
/**
* ˈ̞: doc
*
ÃèÊö: ÎĵµÉú³ÉÀà
* ÆäËû: ¿ÉÒÔ¶ÔĿ¼½øÐйýÂË,ÉèÖúÃԴĿ¼ºó,ÇëÓþø¶Ô·¾¶Ö¸¶¨Éú³ÉĿ¼,ģʽ¿Éµ÷,ģʽ
*
1Ϊ³£¹æÀàÐÍ,¼´ÒÔ Ð±Ïß**¿ªÍ·,ÒÔ*бÏß ½áÊø
* 2ΪÀ©Õ¹ÀàÐÍ,·²ÊÇ Ð±Ïß*¿ªÍ·ÒÔ*бÏß ½áÊøµÄ²¿·Ö¶¼½«³ÉΪÎÄ ......