483 |
strategies to fine-tune security, some of them are related uniquely to your |
strategies to fine-tune security, some of them are related uniquely to your |
484 |
institution and levels of paranoia. |
institution and levels of paranoia. |
485 |
(2) The LibData db_connect.php file, independently in both the administrative |
(2) The LibData db_connect.php file, independently in both the administrative |
486 |
and public halves of LibData contains a function named mysql_tryquery(). This |
and public halves of LibData contains a function named xx_tryquery(). This |
487 |
is a light wrapper around the built-in mysql_query() function. Note that there |
is a light wrapper around the built-in xx_query() function. Note that there |
488 |
is a variable for debug mode ($db_debug). Setting this to 1 (true) will cause |
is a variable for debug mode ($db_debug). Setting this to 1 (true) will cause |
489 |
all SQL queries which fail to be output to the screen. This is not recommended |
all SQL queries which fail to be output to the screen. This is not recommended |
490 |
for production or public side LibData. However, it can be used in conjunction |
for production or public side LibData. However, it can be used in conjunction |
492 |
and date/time transparently to the system administrator. This functionality is |
and date/time transparently to the system administrator. This functionality is |
493 |
not supplied (and requires a functioning SMTP gateway). However, the programming |
not supplied (and requires a functioning SMTP gateway). However, the programming |
494 |
to enable this is quite minimal given the centralized error-trapping with |
to enable this is quite minimal given the centralized error-trapping with |
495 |
mysql_tryquery() in the db_connect.php files. (Remember that administrative and |
xx_tryquery() in the db_connect.php files. (Remember that administrative and |
496 |
public LibData utilize their own separate db_connect.php files.) |
public LibData utilize their own separate db_connect.php files.) |
497 |
|
|
498 |
============================================================================== |
============================================================================== |