Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $conn_string = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=XE)))';
- $conn = new PDO('oci:dbname=' . $conn_string, $user, $pass);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement