Re: [PHP] PHP PostgreSQL

2003-01-01 Thread Vincent Oostindie
Michael Sims wrote:
o Changing database structure is harder.  With PG, I usually found it
   easier to dump, edit, then reload the database to make changes I did
   in MySQL with ALTER TABLE.
 
 True, changing schema is a major PITA with Postgres.  My only real
 complaint about it, in fact...

Have you installed the recent PostgreSQL version 7.3 already? This new 
version allows the use of ALTER TABLE much like you'd want it.

Vincent

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PhP 4.2.1 (and various)

2002-05-15 Thread Vincent Oostindie

On Wed, 15 May 2002 08:52:49 +0200, Analysis  Solutions wrote:
 So my question is, why has that changed, and what do we do now to
 authenticate users and redirect them to anothe page? And what the hell
 is this  thingy, i cant see to find anything on it in the manual,
 and search doesnt work for chars like that.
 
 The  represses error messages.  For example:
mail('', 'subject', 'body');
 will produce an error message, that the to address is bad, while
mail('', 'subject', 'body');
 will silently fail.
 
 Rather than doing that, it's better to write your code so that there
 won't be error messages in the first place.

Not only that: if you are running a production server, you will probably
want to log your error messages to a file (or syslog, or whatever),
instead of printing them. So 'display_errors' should be off. If that is
the case, you don't need to use  anymore, because there will be no HTML
output even in case of problems. The advantage of this is that you can
use the exact same code on a development server (with display_errors =
on) and a production server.

Vincent

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Session + IIS

2002-05-07 Thread Vincent Oostindie

Hi Maurice,

On Tue, 07 May 2002 11:40:20 +0200, Maurice wrote:
 I've come acros a number of problem reports about PHP and IIS, stateing
 that session management doesn't work fine for certain PHP versions. Does
 anyone know what the status of these problems are and which PHP version
 has stable session management on a windows platform.

When register_globals is off (and it should be), sessions do not work
properly with PHP 4.1.2. I can tell you this really gave me a serious
headache :-)

PHP 4.1.1 works fine, and so does PHP 4.2.0. So if I were you, I'd
install the latter one.

Greetings,

Vincent

BTW: Crossposting is not a nice thing to do, Maurice!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php