Time of Update: 2016-06-13
【100分求助】PHP怎麼實現圖片的分頁顯示?本帖最後由 ppsharp 於 2013-02-19 23:21:07 編輯 我有很多圖片,一頁顯示不完,需要分頁顯示。怎麼實現首頁,前一頁,後一頁,末頁的功能?還有可以選擇直接跳到其中一頁。初學PHP和MySQL,不知道怎麼實現這個。誰能告訴我一下該怎麼弄,或者給我一個類似功能的原始碼,先謝謝了! php ------解決方案-------
Time of Update: 2016-06-13
php 正則字串如下:height=450 type=application/x-shockwave-flash width=1000
Time of Update: 2016-06-13
PHP 對資料庫操作。一次對多表插入本帖最後由 xuzuning 於 2013-03-06 19:00:56 編輯 public function add($u_id, $name, $big_classes){ if(!self::$object) { return 102; } $sql = 'insert classes (cl_big_classes, cl_name) value ('.$big_classes.', \''.$name.'\')';
Time of Update: 2016-06-13
php 轉 java如題 我現在有一個完成了的php項目,想轉換成java的有沒有這種轉換工具,或者有什麼比較有效率的方法。各位大蝦,有過類似經驗的 請賜教。 工具 java php ------解決方案--------------------1)你不應該發到這個版。2)我感覺沒有這種轉換工具。------解決方案-------------
Time of Update: 2016-06-13
幫我看下這段代碼為什麼不被執行大量刪除資料$conn=mysql_connect("localhost","root","123456");mysql_query("set names gb2312");mysql_select_db("db_mingrisoft");?> echo date('Y-m-d')." ".date(l);?>瀏覽目錄添加圖書簡單查詢進階查詢分組統計退出系統if(($action==null)or($_GET[action]=="show")){?>
Time of Update: 2016-06-13
Regex難題本帖最後由 xjl756425616 於 2013-03-07 21:02:34 編輯 $a="a11ba12b";preg_match_all("/(a[^b]+b){2}/is",$a,$tmp);var_dump($tmp);?>得出的結果是array(2) { [0]=> array(1) { [0]=> string(8) "a11ba12b" } [1]=> array(1) { [0]=> string(4) "
Time of Update: 2016-06-13
遇到JDK的問題 請大家協助一下A Java Runtime Environment (JRE) or Java Development Kit (JDK)must be available in order to run Eclipse for PHP Developers. No Java virtual machinewas found after searching the following locations:/opt/eclipse-php/jre/bin/javajava in
Time of Update: 2016-06-13
新手,輕拍. 各位大哥大姐們幫我看一下這段php代碼問題出在哪Html Code:[/code]PHP code:Sales Rep Maintenance// Address error handlingini_set('display_errors',1);error_reporting(E_ALL & ~E_NOTICE);// Attempt to Connectif ($connection = @mysql_connect ('localhost', '***',
Time of Update: 2016-06-13
一個字串難題~本帖最後由 xjl756425616 於 2013-03-06 14:34:05 編輯 $a="1234";echo $a;?>最終結果要變成$a="124";把第3個去掉~~~怎麼做的? ------解決方案--------------------$a="1234";$aa=preg_replace("/(([^[^[^)*))((){2})/isU", "\\1\\4\\6", $a);echo
Time of Update: 2016-06-13
php時間戳記問題本帖最後由 hongming271 於 2013-03-05 16:20:16 編輯 php函數中的date函數在某些系統(如 Windows)中限制為從 1970 年 1 月 1 日到 2038 年 1 月 19 日。現在我有個時間戳記是超過了2038年後,用date不能正常轉化成正確的標準時間格式。還有一個問題就是我有個時間戳記1356969600,轉化成正常效果是2013-1-1 00:00:00例子 $dt = new DateTime('@135
Time of Update: 2016-06-13
錯誤:Function set_magic_quotes_runtime() is deprecatedA PHP Error was encounteredSeverity: 8192Message: Function set_magic_quotes_runtime() is deprecatedFilename: codeigniter/CodeIgniter.phpLine Number: 53加www正常:http://www.hello-learning.com不加就出現上面的錯誤:
Time of Update: 2016-06-13
將DX中的authcode改成JS版,高難度的轉換 // 參數解釋 // $string: 明文 或 密文 // $operation:DECODE表示解密,其它表示加密 // $key: 密匙 // $expiry:密文有效期間 function authcode($string, $operation = 'DECODE', $key = '', $expiry = 0) { // 動態密匙長度,相同的明文會產生不同密文就是依靠動態密匙
Time of Update: 2016-06-13
CI架構源碼閱讀---------Lang.phpis_loaded和$this->language中去 * @param booladd suffix to $langfile 檔案是否添加尾碼 * @param stringalternative path to look for language file 語言套件檔案的自訂路徑 * @returnmixed */function load($langfile = '', $idiom = '', $return = FALSE,
Time of Update: 2016-06-13
thinkphp 標籤問題 文法 我想在某個標籤前 輸出{ 該如何??thinkphp 標籤問題 文法 我想在某個標籤前 輸出{ 該如何??本來這個{$ppvod.vod_readurl}在模板中能夠解釋的解釋出為:http://XXXX,但我在其前邊 加個 {就不能正常解釋了,直接輸出為 {{$ppvod.vod_readurl}。如何能夠輸出{ http://XXXX 成這樣? ------解決方案------------------
Time of Update: 2016-06-13
php做伺服器,接受用戶端上傳的檔案,伺服器是怎麼接收的我們用C++在本地寫的用戶端,然後想用PHP在伺服器端寫個程式把這個檔案接受儲存,是不是在伺服器要寫個監聽程式,還是要怎麼來把他們連結起來實現資料轉送 php 伺服器 ------解決方案--------------------用 post 方式加 multipart/form-data 頭php
Time of Update: 2016-06-13
關於php匯出csv的問題線上等,問下大家是否知道,php在下載csv檔案時檔案中為什麼出現html源碼 xls檔案卻是正常的 ------解決方案--------------------基於你糟糕的描述,我只能給出一個糟糕的答案――你的代碼有問題------解決方案--------------------產生時就有了要看到你的代碼------解決方案--------------------目測你最後一個table
Time of Update: 2016-06-13
一個很難理解的PHP繼承的問題! class B { public $name ="aaa"; function fb() { echo get_class($this),""; echo $this->name,""; } } class Eb extends B
Time of Update: 2016-06-13
CI架構源碼閱讀---------Output.php_zlib_oc // 如果配置項中開啟了輸出壓縮功能則$this->_zlib_oc 的值為on$this->_zlib_oc = @ini_get('zlib.output_compression');// Get mime types for later// 擷取mimetypeif (defined('ENVIRONMENT') AND
Time of Update: 2016-06-13
CI架構源碼閱讀---------Input.php_allow_get_array= (config_item('allow_get_array') === TRUE);$this->_enable_xss= (config_item('global_xss_filtering') === TRUE);$this->_enable_csrf= (config_item('csrf_protection') === TRUE);//
Time of Update: 2016-06-13
求大神指點linux下安裝PHP需要的一些庫的問題。在CentOS5.7環境下安裝php.在之前需要裝libxmlt2和libxslt這兩個庫。均是源碼包安裝libxmlt2已經裝好,但是在裝libxslt的時候。make以後報錯如下:求大神指教~~~~~ php libxslt