[PHP] Re: Error - when trying to connect to postgresql

2003-07-21 Thread Peter Torraca
connect is missing at least a username and password. From http://us4.php.net/pg_connect : $dbconn3 = pg_connect ("host=sheep port=5432 dbname=mary user=lamb password=foo"); //connect to a database named "mary" on the host "sheep" with a username and password

Re: [PHP] Mail From option in PHP.ini

2003-07-21 Thread Peter Torraca
mail() on in the online php manual, check out "kieran dot huggins at rogers dot com"'s comments and some others on the http://us4.php.net/mail page (it's a 06-Nov-2002 comment). I'm coming in a bit late to this conversation -- hopefully I'm not too far off base wi

[PHP] safe_mode problem

2003-09-24 Thread Peter Torraca
p_admin_value user_dir WWW php_admin_flag engine On php_value max_execution_time 90 Currently, this setup throws "SAFE MODE Restriction in effect" errors when I try to include /pkgs/php-4.2.3/share/pear. Includes work when I turn safe_mode off. Anyone see what I'm doing

[PHP] mktime trouble

2003-10-20 Thread Peter Torraca
date a Unix timestamp, so I'm sure this is a date problem. (using mktime in my example here is just clearer than playing with unix timestamps). date() and mktime() are usually simple enough, but something is going wrong. Perhaps it is a dumb mistake on my part, but I'm not seeing i

[PHP] smart table construction from array

2001-08-14 Thread Peter Torraca
7;d be happy to hear of it. But I suspect my inexperience is the real problem: I'm really hoping that someone can explain the logic of how this might be done. thanks in advance. peter -- Peter Torraca [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-