Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2. $username = 'System';
  3. $password = 'Test123321';
  4.  
  5. $connection_string = 'localhost/XE';
  6.  
  7. $connection = oci_connect($username, $password, $connection_string);
  8.  
  9. if (!$connection)
  10. echo "error";
  11. else
  12. echo "ok";
  13.  
  14. oci_close ($connection);
  15.  
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement