Not sure what you mean by 'using MySQL to query your installed modules', sorry.
phpinfo() called from a HTML document is one way, but from a command
line level, you can do this is you have the php CLI installed:
PHP: php -m
Perl: If you want to test if a specific module is installed, a way is:
perl -M<module name> -e '' (where module name is perlish name like DBI
or XML::Simple)
It should return silently without errors if it is installed.
Hope that helps,
Imran Chaudhry
--
http://www.EjectDisc.com
Get your Digital Identity - Domain Names, Web Space, E-mail & More!