PHP DB Oracle Connect

 

- Info:

- This tutorial shows how to use PHP to connect to ORACLE DB.

 

- Example:

- Create PHP Console Application Test.php.

 

Test.php

<?php

$conn = oci_connect('SYSTEM', 'admin', 'vori/XE');

if (!$conn) { echo(E_USER_ERROR); }

else { echo("CONNECTED" ); }

?>