PHPÅäÖÃSQL Server 2008
1¡¢µ½Î¢Èí¹Ù·½È¥ÏÂÔØеÄÇý¶¯£¬ÏÂÔصØÖ·ÈçÏ£º
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ccdf728b-1ea0-48a8-a84a-5052214caad9
¡¡¡¡¹Ù·½ÎĵµÓÐÃèÊö£º
¡¡¡¡Refer to the documentation that is installed with the driver for a description of the new features in this release. The SQL Server Driver for PHP download is available to all SQL Server users at no additional charge. The SQL Server Driver for PHP is a PHP 5 extension that allows for the reading and writing of SQL Server data from within PHP scripts. The extension provides a procedural interface for accessing data in all editions of SQL Server 2005 and SQL Server 2008.
¡¡¡¡¸ù¾Ý¹Ù·½ÎĵµµÄÃèÊö£¬Î¢ÈíÌṩµÄDriverÊÇͬʱÌṩ¸øSQL Server 2005ºÍSQL Server 2008Á½¸ö°æ±¾Ê¹Óõġ£
ÏÂÔØÇý¶¯£¨ÉϱßÓÐÁ´½ÓµØÖ·£©ÏÂÔعýºóµÄÇý¶¯°üÀïÃæµÄÄÚÈÝÈçÏÂͼ£º
2¡¢ÐèÒªÐÞ¸ÄC:\WINDOWS\php.iniÖеÄÅäÖãº
¡¡ ²éÕÒ;extension_dir ÐÞ¸ÄΪextension_dir="E:\Program Files\php-5.3.1\ext"ÕâÀïµÄĿ¼ÊÇ°²×°µÄPHPĿ¼£¬extÀïÊÇPHPµÄһЩÀ©Õ¹Îļþ£¬ÔËÐÐʱÐèÒª¼ÓÔØÆäÖеÄһЩ£¬ÏÖÔÚÁ¬½Ósqlserver£¬ËùÒÔÒ»¶¨ÒªÈ¥µôextension_dir Ç°ÃæµÄ·ÖºÅ£»
3¡¢°ÑÉÏͼ½âѹ¿ªµÄÐèÒªµÄdllÎļþ¿½±´µ½extension_dirÉèÖõÄÀ©Õ¹Ä¿Â¼ÀïÃæ¡£
ÆäÖБ53’±íʾphpµÄ°æ±¾£¬‘ts’±íʾÆô¶¯Ḭ̈߳²È«£¬‘nts’±íʾδÆô¶¯Ḭ̈߳²È«£¬vc6ΪapacheÅäÖã¬vc9ΪiisÅäÖÃ
4¡¢ÐÞ¸Äphp.iniʵÏÖÀ©Õ¹£º
¡¡ ÔÚphp.iniµÄÒ»´ó¶Ñ;extension=**.dll¸ñʽÀïÃæÌí¼ÓÐУ¬´Ë²¿·ÖλÓÚÒÔÏÂ×¢ÊÍϱßÒ»°ã£º
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
Ìí¼Ó¿½±´µÄdllÎļþ£¬Àý£º
extension=php_sqlsrv_53_ts_v9.dll
¡¡¡¡×¢Ò⣽ºÅÓÒ±ßÊǽ⿪¹ýºóµÄÀ©Õ¹µÄÁ½¸öÇý¶¯µÄÎļþÃû£¬±ØÐë±£Ö¤´ËÎļþÔÚÅäÖúõÄÀ©Õ¹Ä¿Â¼ÄÚ£¬¶ø
Ïà¹ØÎĵµ£º
´´½¨ÎĵµÀàÐÍÉùÃ÷
Ò»°ã¶øÑÔ£¬XMLÉùÃ÷·ÅÔÚÎĵµ¶¥²¿¡£ÔÚPHPÖÐÉùÃ÷Ê®·Ö¼òµ¥£ºÖ»ÐèʵÀý»¯Ò»¸öDOMÎĵµÀàµÄ¶ÔÏ󲢸³ÓèËüÒ»¸ö°æ±¾ºÅ¡£²é¿´³ÌÐòÇåµ¥A£º
³ÌÐòÇåµ¥ A
<?php
// create doctype
$dom = new DOMDocument("1.0");
// display document in browser as plain text
// display document in browser as plain text ......
ת×Ô£ºhttp://nedvedheqing.javaeye.com/blog/383506
1. PHPÀ©Õ¹
JpGraph£ºhttp://www.aditus.nu/jpgraph/
ChartDirector£ºhttp://www.advsofteng.com/
2. JavaScript
Flot (http://code.google.com/p/flot/
) - Flot Ϊ jQuery ÌṩµÄjavascript´úÂë¿â. ÈÝÒ×ʹÓã¬ÓÐÌØÉ«µÄͼ±í£¬Ìṩ½»»¥¹¦ÄÜ(Äܹ»·Å´óËõСÊý¾ÝÇøÓòµ ......
extract() //½«Êý×éÖеļüÃû×÷Ϊ±äÁ¿Ãû,¼üÖµ×÷Ϊ±äÁ¿Öµ
Àý:
form.html
<form action="action.php" method="post">
<input type="text" name="username">
<input type="password" name="password">
<input type="submit&quo ......
<?PHP
//====================================================
// FileName: snap.class.php
//   ......
<?php
function myFun(){
echo "hello,ÕÅÈý";
}
//ÀûÓÃfunction_exists·½·¨ÅжÏ×Ô¶¯ÒÔ·½·¨ÊÇ·ñ´æÔÚ
//¸Ã·½·¨²ÎÊýΪҪÅжϵÄ×Ô¶¨Òå·½·¨µÄ·½·¨Ãû£¬¿ÉдΪ
//"myFun"»òmyFun
if(function_exists(myFun)){
echo "´æÔÚ ......