Well, there is an alternative to telling users to change their, code you can force them to :-)

PHP allows setting of default connection parameters for mysql_connect() via INI settings and subsequently disabling (turn on SQL safe mode) the ability to specify them directly.

The ext/MySQL ini settings can be set a per-virtual host basis, so there is no issue of connection conflicts.

Ilia

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to