RE: [PHP-DB] pg_connect gets fatal error

2005-08-14 Thread Jon Crump
On Sat, 13 Aug 2005, Bastien Koert wrote: is php compiled with postgre support? probably not from the sounds of it bastien I'm guessing you're right, but it's not clear how I could tell. The output from ?php phpinfo() ? doesn't really help much unless I know what to look for. On the one

RE: [PHP-DB] pg_connect gets fatal error

2005-08-14 Thread Bastien Koert
http://ca.php.net/manual/en/ref.pgsql.php is the manual place to start looking... i just enabled pg support with my windows machine..pgsql does show up as a separate entity in the php info listings... Because you mentioned Postgre I am assuming your dev machine is a linux box.

[PHP-DB] Mysqli Problems with 5.1.0b3

2005-08-14 Thread Charlie Davis
Hey all! So two days ago, just for kicks, I thought I'd update to 5.1.0b3. On to my problem. I use a custom Session class to basically store my session data in MysQL. Here's my class: class DBSession { static $dbh; function open($save_path, $session_name) {

[PHP-DB] writing foreign language chars from php5 to db (mysql4)

2005-08-14 Thread Louie Miranda
Does anybody knows how to insert a foreign lang. char into php5 to mysql4? languages, ex: - japanese (jis) - german (de) I now know, how to display it properly on a website using meta tags. ex: meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 And catching it over a php5 form.