Advertisement
Guest User

Untitled

a guest
Aug 10th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <?php
  2. function db_connect()
  3. {
  4. $connection = pg_connect("host=127.0.0.1 dbname=boyerj_db user=boyerj password=100427919" );
  5. return $connection;
  6. }
  7.  
  8. function define2(){
  9. define("MINIMUM_ID_LENGTH", 5);
  10. define("MAXIMUM_ID_LENGTH", 15);
  11. define("MINIMUM_PASSWORD_LENGTH", 6);
  12. define("MAXIMUM_PASSWORD_LENGTH", 8);
  13. define("MAX_FIRST_NAME_LENGTH", 20);
  14. define("MAX_LAST_NAME_LENGTH", 30);
  15. define("MAXIMUM_EMAIL_LENGTH", 50);
  16. }
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement