|
From: Steve W. <sw...@pa...> - 2001-04-28 20:02:36
|
I've been kicking this idea around for a long time, but since it's a minor
matter it hasn't bubbled up. Why not do this sort of thing:
<?php
if (function_exists('dba_open')) {
echo "dba_open exists<p>";
}
if (function_exists('dbmopen')) {
echo "dbmopen exists<p>";
}
if (function_exists('mysql_pconnect')) {
echo "mysql_pconnect exists<p>";
}
if (function_exists('pg_pconnect')) {
echo "pg_pconnect exists<p>";
}
?>
to test to see if dbmlib, dbalib, etc. support is available? Wouldnt' this
at least be better for the initial out of the box installation?
~swain
---
http://www.panix.com/~swain/
"Without music to decorate it, time is just a bunch of boring
production deadlines or dates by which bills must be paid."
-- Frank Zappa
|