Home > PHP > Function > > ovrimos_connect()

ovrimos_connect()

ovrimos_connect - Connect to the specified database

Syntax

int ovrimos_connect (string $host, string $dborport, string $user, string $password)

Arguments

  • host - A host name or IP address.
  • dborport - Either a database name, or the port number to connect to.
  • user - The user name.
  • password - Password associated with user.

Description

Connects to the specified database.

Version

PHP 4.0.3, 5 <= 5.0.5

Return value

Returns a connection identifier (greater than 0) on success, or 0 on failure.