Rapide Advanced Adulte
   dbase   
Resultatsdbase   |   Contact

     Manuel PHP     

 

Table :

..NET Functions
.Apache-specific Functions
.Alternative PHP Cache
.Advanced PHP debugger
.Array Functions
.Aspell functions [deprecated]
.BBCode Functions
.BCMath Arbitrary Precision Mathematics Functions
.PHP bytecode Compiler
.Bzip2 Compression Functions
.Calendar Functions
.CCVS API Functions [deprecated]
.Class/Object Functions
.Classkit Functions
.ClibPDF Functions [deprecated]
.COM and .Net (Windows)
.Crack Functions
.Character Type Functions
.CURL, Client URL Library Functions
.Cybercash Payment Functions
.Credit Mutuel CyberMUT functions
.Cyrus IMAP administration Functions
.Date and Time Functions
.DB++ Functions
.Database (dbm-style) Abstraction Layer Functions
.dBase Functions
.DBM Functions [deprecated]
.dbx Functions
.Direct IO Functions
.Directory Functions
.DOM Functions
.DOM XML Functions
.enchant Functions
.Error Handling and Logging Functions
.Exif Functions
.Expect Functions
.File Alteration Monitor Functions
.Forms Data Format Functions
.Fileinfo Functions
.filePro Functions
.Filesystem Functions
.Filter Functions
.Firebird/InterBase Functions
.Firebird/Interbase Functions (PDO FIREBIRD)
.FriBiDi Functions
.FrontBase Functions
.FTP Functions
.Function Handling Functions
.GeoIP Functions
.Gettext Functions
.GMP Functions
.gnupg Functions
.Net Gopher
.Haru PDF Functions
.hash Functions
.HTTP
.Hyperwave Functions
.Hyperwave API Functions
.i18n Functions
.IBM Functions (PDO IBM)
.IBM DB2, Cloudscape and Apache Derby Functions
.iconv Functions
.ID3 Functions
.IIS Administration Functions
.Image Functions
.Imagick Image Library
.IMAP, POP3 and NNTP Functions
.Informix Functions
.Informix Functions (PDO INFORMIX)
.Ingres II Functions
.IRC Gateway Functions
.PHP / Java Integration
.JSON Functions
.KADM5
.LDAP Functions
.libxml Functions
.Lotus Notes Functions
.LZF Functions
.Mail Functions
.Mailparse Functions
.Mathematical Functions
.MaxDB PHP Extension
.MCAL Functions
.Mcrypt Encryption Functions
.MCVE (Monetra) Payment Functions
.Memcache Functions
.Mhash Functions
.Mimetype Functions
.Ming functions for Flash
.Miscellaneous Functions
.mnoGoSearch Functions
.Microsoft SQL Server Functions
.Microsoft SQL Server and Sybase Functions (PDO DBLIB)
.Mohawk Software Session Handler Functions
.mSQL Functions
.Multibyte String Functions
.muscat Functions
.MySQL Functions
.MySQL Functions (PDO MYSQL)
.MySQL Improved Extension
.Ncurses Terminal Screen Control Functions
.Network Functions
.Newt Functions
.NSAPI-specific Functions
.Object Aggregation/Composition Functions
.Object property and method call overloading
.Oracle Functions
.ODBC Functions (Unified)
.ODBC and DB2 Functions (PDO ODBC)
.oggvorbis
.OpenAL Audio Bindings
.OpenSSL Functions
.Oracle Functions [deprecated]
.Oracle Functions (PDO OCI)
.Output Control Functions
.Ovrimos SQL Functions
.Paradox File Access
.Parsekit Functions
.Process Control Functions
.Regular Expression Functions (Perl-Compatible)
.PDF Functions
.PDO Functions
.Phar archive stream and classes
.PHP Options&Information
.POSIX Functions
.Regular Expression Functions (POSIX Extended)
.PostgreSQL Functions
.PostgreSQL Functions (PDO PGSQL)
.Printer Functions
.Program Execution Functions
.PostScript document creation
.Pspell Functions
.qtdom Functions
.Radius
.Rar Functions
.GNU Readline
.GNU Recode Functions
.RPM Header Reading Functions
.runkit Functions
.SAM - Simple Asynchronous Messaging
.Satellite CORBA client extension [deprecated]
.SCA Functions
.SDO Functions
.SDO XML Data Access Service Functions
.SDO Relational Data Access Service Functions
.Semaphore, Shared Memory and IPC Functions
.SESAM Database Functions
.PostgreSQL Session Save Handler
.Session Handling Functions
.Shared Memory Functions
.SimpleXML functions
.SNMP Functions
.SOAP Functions
.Socket Functions
.Standard PHP Library (SPL) Functions
.SQLite Functions
.SQLite Functions (PDO SQLITE)
.Secure Shell2 Functions
.Statistics Functions
.Stream Functions
.String Functions
.Subversion Functions
.Shockwave Flash Functions
.Swish Functions
.Sybase Functions
.TCP Wrappers Functions
.Tidy Functions
.Tokenizer Functions
.Unicode Functions
.URL Functions
.Variable Handling Functions
.Verisign Payflow Pro Functions
.vpopmail Functions
.W32api Functions
.WDDX Functions
.win32ps Functions
.win32service Functions
.xattr Functions
.xdiff Functions
.XML Parser Functions
.XML-RPC Functions
.XMLReader functions
.XMLWriter Functions
.XSL functions
.XSLT Functions
.YAZ Functions
.YP/NIS Functions
.Zip File Functions
.Zlib Compression Functions
 
   

  dbase  



dBase Functions

Introduction

These functions allow you to access records stored in dBase-format (dbf) databases.

dBase files are simple sequential files of fixed length records. Records are appended to the end of the file and delete records are kept until you call dbase_pack().

The types of dBase fields available are:
Available types of fields
Field dBase Type Format Additional information
M Memo n/a This type is not supported by PHP, such field will be ignored
D Date YYYYMMDD The field length is limited to 8
N Number A number You must declare a length and a precision (the number of digits after the decimal point)
C String A string You must declare a length. When retrieving data, the string will be right-padded with spaces to fit the declared length.
L Boolean T or Y for TRUE, F or N for FALSE Stored and returned as an integer (1 or 0)
F Float A float number Support for this type of field was added in PHP 5.2.0

Warning

There is no support for indexes or memo fields. There is no support for locking, too. Two concurrent web server processes modifying the same dBase file will very likely ruin your database.

We recommend that you do not use dBase files as your production database. Choose any real SQL server instead; » MySQL or » Postgres are common choices with PHP. dBase support is here to allow you to import and export data to and from your web database, because the file format is commonly understood by Windows spreadsheets and organizers.

Installation

In order to enable the bundled dbase library and to use these functions, you must compile PHP with the --enable-dbase option.

Runtime Configuration

This extension has no configuration directives defined in php.ini.

Resource Types

This extension has no resource types defined.

Examples

Many examples in this reference require a dBase database. We will use /tmp/test.dbf that will be created in the example of dbase_create().

Predefined Constants

This extension has no constants defined.

Table of Contents




 Back to chapter Php

 

Top
 

Add JungleKey to your Explorer

 
 

About Us | © 2007 JungleKey

   PHP 手册



iBlack | Mobile | Wiki | Add Engine
.