Advertisement
Guest User

oracle can't connect

a guest
Jan 14th, 2017
733
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <html>
  2. <head><title>Oracle demo</title></head>
  3. <body>
  4.     <?php
  5.     $conn=oci_connect("SYSTEM","123","localhost/orcl3");
  6.     If (!$conn)
  7.         echo 'Failed to connect to Oracle';
  8.     else
  9.         echo 'Succesfully connected with Oracle DB';
  10.  
  11. oci_close($conn);
  12. ?>
  13.  
  14. </body>
  15. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement