App下載

詞條

大約有 6,000 項(xiàng)符合查詢結(jié)果 ,庫內(nèi)數(shù)據(jù)總量為 78,250 項(xiàng)。(搜索耗時(shí):0.0210秒)

2471.PHP 表單 - 必需字段

PHP 中,有些字段不能為空且必須在 HTML 表單中填寫。 本章節(jié)我們將介紹如何設(shè)置表單必需字段及錯(cuò)誤信息。 PHP - 必需字段 在上一章節(jié)我們已經(jīng)介紹了表的驗(yàn)證規(guī)則,我們可以看到"Name", "E-mail", 和 "Gender" 字段是必須的,各...

http://www.o2fo.com/php/xwyjlfl2.html

2472.PHP開關(guān)

PHP教程 - PHP開關(guān) 要針對(duì)一系列不同的值測(cè)試表達(dá)式,并做不同的任務(wù)取決于匹配的值。 句法 在switch / case塊中,你指定什么你正在檢查,然后給出你想要處理的可能值的列表。 switch(value){ case constant_1: do if the value is constant_1 bre...

http://www.o2fo.com/php/php-swtich.html

2473.PHP 模板方法模式

...法,這就是為什么你會(huì)發(fā)現(xiàn)它無處不在。UML 圖代碼Journey.php<?php declare(strict_types=1); namespace DesignPatterns\Behavioral\TemplateMethod; abstract class Journey { /** * @var string[] */ private array $thingsToDo = []; /** * This is the public service provided by this class ...

http://www.o2fo.com/phpdesignpattern/TemplateMethod.html

2474.PHP 表單 - 驗(yàn)證郵件和URL

為了保證 PHP 表單的完整性和安全性,我們需要對(duì)表單進(jìn)行驗(yàn)證,本章節(jié)我們將介紹如何驗(yàn)證 names(名稱), e-mails(郵件), 和 URLs。PHP - 驗(yàn)證名稱以下代碼將通過簡單的方式來檢測(cè) name 字段是否包含字母和空格,如果 name 字段值不...

http://www.o2fo.com/php/ijxl7fl4.html

2475.PHP8 ibase_restore

PHP 5、PHP 7 < 7.4.0)ibase_restore — 在服務(wù)管理器中啟動(dòng)還原任務(wù)并立即返回說明 ibase_restore( resource $service_handle, string $source_file, string $dest_db, int $options = 0, bool $verbose = false ): mixed 此函數(shù)將參數(shù)傳遞給(遠(yuǎn)程)數(shù)據(jù)庫服務(wù)器。在...

http://www.o2fo.com/phpchinese/php8-ibaserestore.html

2476.PHP8 db2_fetch_object

...r從結(jié)果集中請(qǐng)求特定的 1 索引行。傳遞這個(gè) 參數(shù)會(huì)導(dǎo)致 PHP 警告,如果結(jié)果集使用 只向游標(biāo)。返回值 返回一個(gè)對(duì)象,該對(duì)象表示結(jié)果集中的單行。這 對(duì)象的屬性映射到結(jié)果集中列的名稱。IBM DB2、Cloudscape 和 Apache Derby 數(shù)據(jù)庫服...

http://www.o2fo.com/phpchinese/php8-db2fetch-object.html

2477.PHP 常用header頭定義

php的開發(fā)中,我們常常需要使用到header函數(shù)頭來進(jìn)行做標(biāo)記header() 函數(shù)向客戶端發(fā)送原始的 HTTP 報(bào)頭。常用header設(shè)置列表如下:header('HTTP/1.1 200 OK'); // ok 正常訪問 header('HTTP/1.1 404 Not Found'); //通知瀏覽器 頁面不存在 header('HTTP/1...

http://www.o2fo.com/php/php-header.html

2478.PHP8 PDO大對(duì)象 (LOB)

...型。PDO::PARAM_LOB 告訴 PDO 作為流來映射數(shù)據(jù),以便能使用 PHP Streams API 來操作。示例 #1 從數(shù)據(jù)庫中顯示一張圖片下面例子綁定一個(gè) LOB 到 $lob 變量,然后用 fpassthru() 將其發(fā)送到瀏覽器。因?yàn)?LOB 代表一個(gè)流,所以類似 fgets()、fread(...

http://www.o2fo.com/phpchinese/php8-pdo-large-object-lob.html

2479.PHP8 回退(Backed)枚舉

...更易序列化)。按以下語法,定義標(biāo)量形式的枚舉:<?php enum Suit: string { case Hearts = 'H'; case Diamonds = 'D'; case Clubs = 'C'; case Spades = 'S'; } ?>由于有標(biāo)量的條目回退(Backed)到一個(gè)更簡單值,又叫回退條目(Backed Case)。 包含所有...

http://www.o2fo.com/phpchinese/php8-backed-enumeration.html

2480.PHP8 Phar::compressFiles

PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0)Phar::compressFiles — 壓縮當(dāng)前 Phar 存檔中的所有文件說明public Phar::compressFiles(int $compression): void注意:此方法需要 將 中的 設(shè)為 以適合 Phar 對(duì)象. 否則, 將拋出PharException.php.iniphar.read...

http://www.o2fo.com/phpchinese/php8-phar-compressfiles.html

抱歉,暫時(shí)沒有相關(guān)的微課

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒有相關(guān)的視頻課程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒有相關(guān)的教程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

2471.PHP 表單 - 必需字段

PHP 中,有些字段不能為空且必須在 HTML 表單中填寫。 本章節(jié)我們將介紹如何設(shè)置表單必需字段及錯(cuò)誤信息。 PHP - 必需字段 在上一章節(jié)我們已經(jīng)介紹了表的驗(yàn)證規(guī)則,我們可以看到"Name", "E-mail", 和 "Gender" 字段是必須的,各...

http://www.o2fo.com/php/xwyjlfl2.html

2472.PHP開關(guān)

PHP教程 - PHP開關(guān) 要針對(duì)一系列不同的值測(cè)試表達(dá)式,并做不同的任務(wù)取決于匹配的值。 句法 在switch / case塊中,你指定什么你正在檢查,然后給出你想要處理的可能值的列表。 switch(value){ case constant_1: do if the value is constant_1 bre...

http://www.o2fo.com/php/php-swtich.html

2473.PHP 模板方法模式

...法,這就是為什么你會(huì)發(fā)現(xiàn)它無處不在。UML 圖代碼Journey.php<?php declare(strict_types=1); namespace DesignPatterns\Behavioral\TemplateMethod; abstract class Journey { /** * @var string[] */ private array $thingsToDo = []; /** * This is the public service provided by this class ...

http://www.o2fo.com/phpdesignpattern/TemplateMethod.html

2474.PHP 表單 - 驗(yàn)證郵件和URL

為了保證 PHP 表單的完整性和安全性,我們需要對(duì)表單進(jìn)行驗(yàn)證,本章節(jié)我們將介紹如何驗(yàn)證 names(名稱), e-mails(郵件), 和 URLs。PHP - 驗(yàn)證名稱以下代碼將通過簡單的方式來檢測(cè) name 字段是否包含字母和空格,如果 name 字段值不...

http://www.o2fo.com/php/ijxl7fl4.html

2475.PHP8 ibase_restore

PHP 5、PHP 7 < 7.4.0)ibase_restore — 在服務(wù)管理器中啟動(dòng)還原任務(wù)并立即返回說明 ibase_restore( resource $service_handle, string $source_file, string $dest_db, int $options = 0, bool $verbose = false ): mixed 此函數(shù)將參數(shù)傳遞給(遠(yuǎn)程)數(shù)據(jù)庫服務(wù)器。在...

http://www.o2fo.com/phpchinese/php8-ibaserestore.html

2476.PHP8 db2_fetch_object

...r從結(jié)果集中請(qǐng)求特定的 1 索引行。傳遞這個(gè) 參數(shù)會(huì)導(dǎo)致 PHP 警告,如果結(jié)果集使用 只向游標(biāo)。返回值 返回一個(gè)對(duì)象,該對(duì)象表示結(jié)果集中的單行。這 對(duì)象的屬性映射到結(jié)果集中列的名稱。IBM DB2、Cloudscape 和 Apache Derby 數(shù)據(jù)庫服...

http://www.o2fo.com/phpchinese/php8-db2fetch-object.html

2477.PHP 常用header頭定義

php的開發(fā)中,我們常常需要使用到header函數(shù)頭來進(jìn)行做標(biāo)記header() 函數(shù)向客戶端發(fā)送原始的 HTTP 報(bào)頭。常用header設(shè)置列表如下:header('HTTP/1.1 200 OK'); // ok 正常訪問 header('HTTP/1.1 404 Not Found'); //通知瀏覽器 頁面不存在 header('HTTP/1...

http://www.o2fo.com/php/php-header.html

2478.PHP8 PDO大對(duì)象 (LOB)

...型。PDO::PARAM_LOB 告訴 PDO 作為流來映射數(shù)據(jù),以便能使用 PHP Streams API 來操作。示例 #1 從數(shù)據(jù)庫中顯示一張圖片下面例子綁定一個(gè) LOB 到 $lob 變量,然后用 fpassthru() 將其發(fā)送到瀏覽器。因?yàn)?LOB 代表一個(gè)流,所以類似 fgets()、fread(...

http://www.o2fo.com/phpchinese/php8-pdo-large-object-lob.html

2479.PHP8 回退(Backed)枚舉

...更易序列化)。按以下語法,定義標(biāo)量形式的枚舉:<?php enum Suit: string { case Hearts = 'H'; case Diamonds = 'D'; case Clubs = 'C'; case Spades = 'S'; } ?>由于有標(biāo)量的條目回退(Backed)到一個(gè)更簡單值,又叫回退條目(Backed Case)。 包含所有...

http://www.o2fo.com/phpchinese/php8-backed-enumeration.html

2480.PHP8 Phar::compressFiles

PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0)Phar::compressFiles — 壓縮當(dāng)前 Phar 存檔中的所有文件說明public Phar::compressFiles(int $compression): void注意:此方法需要 將 中的 設(shè)為 以適合 Phar 對(duì)象. 否則, 將拋出PharException.php.iniphar.read...

http://www.o2fo.com/phpchinese/php8-phar-compressfiles.html

抱歉,暫時(shí)沒有相關(guān)的文章

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

熱門課程