[ 永远的UNIX::UNIX技术资料的宝库 ]

首页 > 编程技术 > Php > 正文
PHP4手册:函数库及函数(十五) filePro 资料库函式库
http://netleader.126.com 星空浪子 (2001-04-18 11:37:01)

--------------------------------------------------------------------------------
 filePro 资料库函式库 
--------------------------------------------------------------------------------
 


本函式库共有 7 个函式
FilePro 由 Personix, Inc. 所发展的资料库系统,它支援 UNIX 及 DOS 等作业系统。更多的细节可以参考 http://www.fileproplus.com。目前 PHP 提供的功能仅能读取 filePro 资料库,而无法对它做写入等相关动作。  


filepro: 读取 FilePro Map 档。 
filepro_fieldname: 取得栏位名称。 
filepro_fieldtype: 取得栏位型态。 
filepro_fieldwidth: 取得栏位宽度。 
filepro_retrieve: 取得指定储存格资料。 
filepro_fieldcount: 取得栏位数目。 
filepro_rowcount: 取得列数目。 


--------------------------------------------------------------------------------
 函式:filepro() 
--------------------------------------------------------------------------------
 


filePro 资料库函式库


filepro
读取 FilePro Map 档。

语法: boolean filepro(string directory);

传回值: 布林值

函式种类: 资料库功能


 
 
内容说明 


本函式用来读取 FilePro 资料库的 Map 档。
 

--------------------------------------------------------------------------------
 函式:filepro_fieldname() 
--------------------------------------------------------------------------------
 


filePro 资料库函式库


filepro_fieldname
取得栏位名称。

语法: string filepro_fieldname(int field_number);

传回值: 字串

函式种类: 资料库功能


 
 
内容说明 


本函式用来读取 FilePro 资料库中指定栏位的栏位名称。参数 field_number 为栏位的序号,为正整数型态。
 

--------------------------------------------------------------------------------
 函式:filepro_fieldtype() 
--------------------------------------------------------------------------------
 


filePro 资料库函式库


filepro_fieldtype
取得栏位型态。

语法: string filepro_fieldtype(int field_number);

传回值: 字串

函式种类: 资料库功能


 
 
内容说明 


本函式用来读取 FilePro 资料库中指定栏位的栏位型态。参数 field_number 为栏位的序号,为正整数型态。
 

--------------------------------------------------------------------------------
 函式:filepro_fieldwidth() 
--------------------------------------------------------------------------------
 


filePro 资料库函式库


filepro_fieldwidth
取得栏位宽度。

语法: int filepro_fieldwidth(int field_number);

传回值: 整数

函式种类: 资料库功能


 
 
内容说明 


本函式用来读取 FilePro 资料库中指定栏位的栏位宽度。参数 field_number 为栏位的序号,为正整数型态。
 

--------------------------------------------------------------------------------
 函式:filepro_retrieve() 
--------------------------------------------------------------------------------
 


filePro 资料库函式库


filepro_retrieve
取得指定储存格资料。

语法: string filepro_retrieve(int row_number, int field_number);

传回值: 字串

函式种类: 资料库功能


 
 
内容说明 


本函式用来读取 FilePro 资料库中指定储存格的资料。参数 row_number 及 field_number 分别为列数及栏数,均为正整数型态。
 

--------------------------------------------------------------------------------
 函式:filepro_fieldcount() 
--------------------------------------------------------------------------------
 


filePro 资料库函式库


filepro_fieldcount
取得栏位数目。

语法: int filepro_fieldcount(void);

传回值: 整数

函式种类: 资料库功能


 
 
内容说明 


本函式用来取得 FilePro 资料库的栏位 (field) 数目。
 

--------------------------------------------------------------------------------
 函式:filepro_rowcount() 
--------------------------------------------------------------------------------
 


filePro 资料库函式库


filepro_rowcount
取得列数目。

语法: int filepro_rowcount(void);

传回值: 整数

函式种类: 资料库功能


 
 
内容说明 


本函式用来取得 FilePro 资料库的列 (row) 数目。 (http://www.fanqiang.com)
    进入【UNIX论坛

相关文章
PHP4手册:函数库及函数(四十六) SNMP 网管函式库 (2001-04-18 16:56:55)
PHP4手册:函数库及函数(四十五) Solid 资料库连结函式库 (2001-04-18 16:54:16)
PHP4手册:函数库及函数(四十四) 信号与共享记忆体函式库 (2001-04-18 16:49:09)
PHP4手册:函数库及函数(四十三) 常规表示法函式库 (2001-04-18 16:40:33)
PHP4手册:函数库及函数(四十二) URL 处理函式库 (2001-04-18 16:37:13)
PHP4手册:函数库及函数(四十一) PostgreSQL 资料库函式库 (2001-04-18 15:58:12)
PHP4手册:函数库及函数(四十) PDF 格式档案函式库 - 2 (2001-04-18 15:53:53)
PHP4手册:函数库及函数(四十) PDF 格式档案函式库 - 1 (2001-04-18 15:53:35)
PHP4手册:函数库及函数(三十九) Perl 相容语法函式库 (2001-04-18 15:45:08)
PHP4手册:函数库及函数(三十八) Oracle 资料库函式库 (2001-04-18 15:43:09)

===更多相关===
 

★  樊强制作 欢迎分享  ★