recent searches:
searching include ,
searching variable ,
searching post...
(PECL)
maxdb_connect(no version information, might be only in CVS)
maxdb() -- Open a new connection to the MaxDB serverProcedural style
resource maxdb_connect ( [string host [, string username [, string passwd [, string dbname [, int port [, string socket]]]]]] )Object oriented style (constructor):
class maxdb {The maxdb_connect() function attempts to open a connection to the MaxDB Server running on host which can be either a host name or an IP address. Passing the string "localhost" to this parameter, the local host is assumed. If successful, the maxdb_connect() will return an resource representing the connection to the database, or FALSE on failure.
The username and password parameters specify the username and password under which to connect to the MaxDB server. If the password is not provided (the NULL value is passed), the MaxDB server will attempt to authenticate the user against the maxdb.default_pw in php.ini.
The dbname parameter if provided will specify the default database to be used when performing queries. If not provied, the entry maxdb.default_db in php.ini is used.
The port and socket parameters are ignored for the MaxDB server.
Returns a resource which represents the connection to a MaxDB Server or FALSE if the connection failed.
The above examples would produce the following output:
Host information: localhost |
| Poprzedni | Spis treści | Następny |
| maxdb_connect_error | Początek rozdziału | maxdb_data_seek |
Język PHP to dzisiaj powszechnie przyjęty standard, podstawa tworzenia dynamicznych stron WWW, opartych na bazach danych.
PHP to język skryptowy. Znaczy to, że jest to język nie kompilowalny. Program jest wykonywany przez interpreter na podstawie jego kodu źródłowego. Język PHP to element technologii internetowej SERVER-SIDE. Znaczy to, że kod języka jest wykonywany od strony serwera (na serwerze).
W jakim celu używac PHP? Po co to komu?
Załóżmy, że potrzebujemy takiej strony internetowej, która wyświetli zawsze bieżącą datę. Dzięki technologii PHP, datę i godzinę odczytywać można z miejsca gdzie wykonuje się skrypt, np. gdy serwer znajduje się w USA a my w Polsce to widoczna jest różnica w czasie który zostanie wyświetlony.
turystyka książki tania książka schools jubiler Westerplatte (1967)agent ubezpieczeniowy, agroturystyka kaszuby, wizy do rosji, wizy do rosji, teczki, Lądek Zdrój mapa, Producent opakowań, lista, sklep motocyklowy Wrocław, Projekty, windykacja szkolenia