Date: 11/21/00
- Next message: Durrani: "Re: [PHP-DB] I`m not able to store "`s in mySQL!!!!"
- Previous message: Roberto Sartor: "[PHP-DB] Re:[PHP-DB] opening webpage"
- Next in thread: fabrizio.ermini <email protected>: "Re: [PHP-DB] PostgreSQL and PHP"
- Reply: fabrizio.ermini <email protected>: "Re: [PHP-DB] PostgreSQL and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
G'day,
This might sound like a bit of a newbie question, but I haven't yet found too many resources for php + postgreSQL. Not to mention I'm a newbie :P
I'm connecting to a postgreSQL database using the simple code of...
$conn = pg_connect("host=hostname user=username password=password dbname=dbname");
This is working great, but what I would like to do is set up an login ini file, so that my username and password aren't as easily accessable. I've been experimenting with my MYSQL ini file, but lack the experience with PHP to get it going. Can anyone supply me with a URL to a website that details this proccess? Or sample code if it isn't too much trouble?
Also - if anyone has URLs to sites that have decent documentation on getting PHP to work with PostgreSQL - I'd be most appreciative!
Thanks in advance,
Bob
- Next message: Durrani: "Re: [PHP-DB] I`m not able to store "`s in mySQL!!!!"
- Previous message: Roberto Sartor: "[PHP-DB] Re:[PHP-DB] opening webpage"
- Next in thread: fabrizio.ermini <email protected>: "Re: [PHP-DB] PostgreSQL and PHP"
- Reply: fabrizio.ermini <email protected>: "Re: [PHP-DB] PostgreSQL and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

