Quote:
Originally Posted by npugila1983 Hi
I want to use ajax in my joomla site...
Can u please give some hint on it...
I am just getting Restricted Access alert...
Even i Re-installed the component with that ajax file... |
hi Pugal
If you are using the ajax page in your site. Don't use this Defined function
efined( '_VALID_MOS' ) or die( 'Restricted access' ); it will shows that error. For the ajax page u have to use this define function
define( '_VALID_MOS', 1 ); and then you have to include the necessary file like joomla.php, configuration.php and global.php in this format
include_once "../../configuration.php";
require_once('../../globals.php');
include_once "../../includes/joomla.php";
I think it will help you
Regards
Falcon
