php¼ÓÔØpdo
¿ìµã°ï°ïæѽ£¬ÎÒÓöµ½Ò»¸ö¼¬ÊÖÎÊÌ⣬ÔÚÏߵȴý»Ø´ð
¾ÍÊÇphp¼ÓÔØpdo.dll,pdo_pgsqlÎÊÌ⣬ÎÒÔÙxpÏÂÔËÐÐÕý³££¬µ«ÊÇÎÒÔÚ2003ÏÂÅäÖÃphpÔËÐÐÏîÄ¿×ÜÊÇÌáʾÎÒ
1exception 'Zend_Db_Adapter_Exception' with message 'The PDO extension is required for this adapter but the extension is not loaded' in E:\scispg\library\Zend\Db\Adapter\Pdo\Abstract.php:107 Stack trace: #0 E:\scispg\library\Zend\Db\Adapter\Abstract.php(414): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 E:\scispg\library\Zend\Db\Adapter\Pdo\Abstract.php(220): Zend_Db_Adapter_Abstract->query('select * from u...', Array) #2 E:\scispg\library\Zend\Db\Adapter\Abstract.php(641): Zend_Db_Adapter_Pdo_Abstract->query('select * from u...', Array) #3 E:\scispg\application\modules\default\models\User.php(26): Zend_Db_Adapter_Abstract->fetchAll('select * from u...') #4 E:\scispg\application\modules\default\controllers\IndexController.php(46): Model_User->select('926212', '1111111') #5 E:\scispg\library\Zend\Controller\Action.php(503): IndexController->loginAction() #6 E:\scispg\library\Zend\Controller\Dispatcher\Standard.php(285): Zend_Controller_Action->dispatch('loginAction') #7 E:\scispg\library\Zend\Controller\Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #8 E:\scispg\public\index.php(35): Zend_Controller_Front->dispatch() #9 {main}
ÎÒ¿´¿´
Ïà¹ØÎÊ´ð£º
$a = $_FILES['userfile']['name'] ;
$test = $a;
$p = split('/',$test);
$p[count($p)-1];
$content = file_get_contents("$p");
$con ......
Çë½Ìexcel µÄ±àÂëÎÊÌâ
excelÖдæÔÚ Î÷°àÑÀÓÖÐÎÄ£¬Ó¢Ó¶íÓï °¢À²®ÓµÈ¶àÖÖÓïÑÔ php ¶Áȡʱ»ù±¾Õý³£ÏÔʾ£¬¾ÍÊÇÎ÷°àÑÀÓ·¨ÓïµÄ Groupe électrogène marins ÕâÖÖµ¥´ÊµÄºìÉ«×Ö·û»á³öÏÖÂÒÂë¡£±àÂëÕ ......
ÇëÎÊһϸ÷λ´óϺ£¬ÎÒÓÃphp×ö¸öÍøÒ³ÓÎÏ·£¬µ±È»ÊÇ×îÀ¬»øµÄÄÇÖÖhtmlµÄ£¬
ÏÖÔÚÎÒÏë°ÑËùÓÐÍæ¼ÒºÍ¹ÖÎnpcµÄÊý¾Ý´¢´æ£¬
µ±È»£¬Êý¾Ý¿âÖе±È»ÓУ¬µ«ÊÇÎÒÓÖ²»Ïë¹ý¶àµÄÈ¥²éѯÊý¾Ý¿â£¬
±ÈÈçÕ½¶·ÏµÍ³£¬¿Ï¶¨ÒªÏȳõʼ»¯Ë«·½Êý ......
ÎÒÔÚʹÓÃphpÒ»¶Î´úÂëÖÐ,Ô´´úÂëÊÇ
<input type="file" name="file_source" id="file_source" class="edt" value="<?=$file_source?>">
ÊÇÒ»¸öÉÏ´«Î ......
this->$name=$nam;
Õâ¾ä´úÂëÊÇʲôÒâ˼°¡£¿
ÆäÖÐ->ÓÖÊÇʲôÒâË¼ÄØ¡¢
лл¸ßÊÖÖ¸µã£¡
¶ÔÏó->ÊôÐÔ=±äÁ¿
²»¹ýÄãºÃÏñд´íÁË....
$this->num=$num; ÕâÑùµÄ°É
$this->num=$num; ......