source:
osm/applications/editors/josm/plugins/pointInfo/servers/RUIAN/config.php@
33499
Last change on this file since 33499 was 30328, checked in by , 11 years ago | |
---|---|
File size: 365 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | global $CONNECT,$RESULT,$DBDATABASE,$DBUSER,$DBPASSWORD; |
4 | |
5 | $DBHOST = "<server>"; |
6 | $DBDATABASE = "<dba>"; |
7 | $DBUSER = "<user>"; |
8 | $DBPASSWORD = "<<password>>"; |
9 | $CONNECT = pg_connect("host=$DBHOST dbname=$DBDATABASE password=$DBPASSWORD user=$DBUSER") |
10 | or die("Database is not available."); |
11 | $set = pg_query($CONNECT,"set search_path to ruian,osmtables,public;"); |
12 | ?> |
Note:
See TracBrowser
for help on using the repository browser.