pozycjonowanie Dodawarka do katalogów katalogowanie
W połowie roku 1999 ukazał się oficjalnie Zend Engine, nowy silnik języka skryptowego, wokół którego niedługo później zaczęto budować PHP 4. Jego nazwa to kompromisowe połączenie imion twórców projektu. Nowa, oparta o niego wersja PHP ukazała się w maju 2000 roku. Tak jak poprzednio, był to potężny krok naprzód. Programiści mieli do dyspozycji teraz wiele nowych narzędzi, konstrukcji językowych oraz bezpieczniejszy system wejścia/wyjścia. Od strony administracyjnej pojawiło się oficjalne wsparcie dla wielu nowych serwerów.


pranie tapicerek
Skuteczne usuwanie plam i zabrudzeń
Tanie czyszczenie mebli tapicerowanych
www.czystatapicerka.pl
Pasmanteria internetowa
Sklep z akcesoriami do szydełkowania
Od nici i wstążek po tkaniny i igły
www.jm-pasmanteria.pl
Przewozy osób jelenia góra
Nowoczesny tabor samochodowy
Tani transport osobowy w Polsce
www.bus-trans.com.pl
medale
Tanie trofea dla sportowców i zawodników
Projektowanie i wykonywanie statuetek
www.studio108.pl


Firma remontowa Wrocław
Remontowanie łazienek, układanie płytek
Malowanie i tapetowanie mieszkań
remonty-hamarst.reklama-internetowa.com
Irlandia praca
Glazurnicy, malarze poszukiwani do pracy
Zatrudnienie w przemyśle ciężkim
www.praca-irlandia.com


W 2002 roku Zeev Suraski oraz Andi Gutmans ponownie rozpoczęli znaczącą modernizację silnika PHP mającą na celu dodanie do tego języka modelu obiektowego na poziomie dorównującym innym, w pełni obiektowym językom. W lutym 2003 ukazała się pierwsza wersja alpha nowej wersji PHP oznaczonej numerem 5.0.0. Stabilna wersja ukazała się prawie półtora roku później, w lipcu 2004 roku. Nowości sprawiły, że PHP stał się rozsądną alternatywą wobec innych nowoczesnych rozwiązań server-side.

XXV. dBase Functions

Wstęp

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:

Tabela 1. Available types of fields

FielddBase TypeFormatAdditional informations
MMemon/aThis type is not supported by PHP, such field will be ignored
DDateYYYYMMDDThe field length is limited to 8
NNumberA number You must declare a length and a precision (the number of digits after the decimal point)
CStringA stringYou must declare a length. When retrieving data, the string will be right-padded with spaces to fit the declared length.
LBooleanT or Y for TRUE, F or N for FALSEStored and returned as an integer (1 or 0)

Ostrzeżenie

There is no support for indexes or memo fields. There is no support for locking, too. Two concurrent webserver 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.

Instalacja

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

Konfiguracja czasu wykonywania

To rozszerzenie nie definiuje posiada żadnych dyrektyw konfiguracyjnych w pliku php.ini.

Typy zasobów

To rozszerzenie nie posiada żadnych rodzajów zasobów.

Przykłady

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().

Stałe predefinopwane

To rozszerzenie nie posiada żadnych stałych.

Spis treści
dbase_add_record -- Adds a record to a database
dbase_close -- Closes a database
dbase_create -- Creates a database
dbase_delete_record -- Deletes a record from a database
dbase_get_header_info -- Gets the header info of a database
dbase_get_record_with_names --  Gets a record from a database as an associative array
dbase_get_record --  Gets a record from a database as an indexed array
dbase_numfields -- Gets the number of fields of a database
dbase_numrecords -- Gets the number of records in a database
dbase_open -- Opens a database
dbase_pack -- Packs a database
dbase_replace_record -- Replaces a record in a database