1.Command line way
php -f indexer.php -- [options]
2.Browser way
$_SERVER['argv'] = array('--reindex','catalog_url');
$_SERVER['REQUEST_METHOD'] = NULL;
$shell = new Mage_Shell_Compiler();
$shell->run();
1.Command line way
php -f indexer.php -- [options]
$_SERVER['argv'] = array('--reindex','catalog_url');
$_SERVER['REQUEST_METHOD'] = NULL;
$shell = new Mage_Shell_Compiler();
$shell->run();