Simply paste this code where you want to display the active plugin list. Once saved, active plugins will be displayed.
function wpr_active_site_plugins() {
$the_plugs = get_option('active_plugins');
foreach($the_plugs as $key => $value) {
$string = explode('/',$value); // Folder name will be displayed
echo $string[0] ."\n";
}
}
wpr_active_site_plugins();
Thanks to Snipplr for the tip!!