• Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register

PHP forum, your PHP coding community

A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.

  • Home Board index php forum :: Database Other Database Engines
  • Search

PHP to Oracle connection

Do you have questions regarding other database enginges (not MySQL) -- ask here!

Moderators: egami, macek, gesf

Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
landi
php-forum GURU
php-forum GURU
Posts: 388
Joined: Thu Mar 15, 2012 3:59 pm

  • Quote

Mon Aug 04, 2014 9:47 am

I don't know connect() or pconnect(), but I use the oci_ functions to connect to oracle. e.g. (where fred is the service name on the specified machine, and 1521 is the port number the listener is running on)

Code: Select all

$sDbName = "//192.168.120.123:1521/fred";
$aConn = oci_connect('scott', 'tiger', $sDbName, '');
Top
Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Other Database Engines”

Jump to
  • php forum :: php coding
  • ↳   PHP coding => General
  • ↳   PHP coding => Images
  • ↳   PHP coding => Mail
  • PHP
  • ↳   PHP General
  • ↳   PHP Scripts
  • ↳   PHP Installation
  • ↳   PHP Jobs
  • ↳   PEAR and PECL
  • ↳   Your Scripts
  • php forum :: Database
  • ↳   mySQL & php coding
  • ↳   phpMyAdmin
  • ↳   MySQL Installation
  • ↳   Other Database Engines
  • php forum :: PHP and MySQL Security
  • ↳   PHP & MySQL Security
  • System Administration
  • ↳   Server installation and configuration
  • ↳   Server security
  • php forum :: HTML
  • ↳   JavaScript
  • ↳   HTML Basics
  • ↳   CSS
  • php forum :: Bar
  • ↳   Free time
  • ↳   News and Announcements

Login  •  Register



ADVERTISEMENT

Sitepad web hosting

ADVERTISEMENT

Gomoot Fashion Shop

ADVERTISEMENT

  • Home Board index
  • All times are UTC-08:00
  • Delete cookies
  • Privacy
  • Terms
 

 

Powered by phpBB™ • Design by PlanetStyles