Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1.  
  2.  
  3.  
  4. <?php
  5. $bdcon = pg_connect("dbname=postgres");
  6.  
  7.  
  8. $bdcon2 = pg_connect("host=187.108.198.120 port=5432 dbname=postgres");
  9.  
  10.  
  11. $bdcon3 = pg_connect("host=187.108.198.120 port=5432 dbname=postgres user=postgres password=Pqalo987");
  12.  
  13.  
  14. $con_string = "host=187.108.198.120 port=5432 dbname=postgres user=postgres password=Pqalo987";
  15. $bdcon4 = pg_connect($con_string);
  16.  
  17. function getdb_FAILS() {
  18. return pg_connect("...") or die('falha conexão');
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement