I'm using Joomla 1.6.5 i've produced a custom page sample.php on joomla_root_directory.

the file consists of following code :

// Set flag that this is a parent file.
define('_JEXEC', 1);
define('DS', DIRECTORY_SEPARATOR);

if (file_exists(dirname(__FILE__) . '/defines.php')) {
    include_once dirname(__FILE__) . '/defines.php';
}

if (!defined('_JDEFINES')) {
    define('JPATH_BASE', dirname(__FILE__));
    require_once JPATH_BASE.'/includes/defines.php';
}

require_once JPATH_BASE.'/includes/framework.php';

// Mark afterLoad in the profiler.
JDEBUG ? $_PROFILER->mark('afterLoad') : null;

// Instantiate the application.
$app = JFactory::getApplication('site');

// Initialise the application.
$app->initialise(); 

And i wish to load all phrases from en-GB.mod_helloworld.ini in sample.php. What shall i actually do to really make it work? I've attempted using following code within the sample.php

$lang =& JFactory::getLanguage(); 
$extension = 'mod_helloworld'; 
$base_dir = JPATH_SITE; 
$language_tag = 'en-GB'; 
$lang->load($extension, $base_dir, $language_tag, true);

but nonetheless no luck :(

please guide me.... thanks ahead of time!!