<?php require_once 'app/Mage.php'; umask(0); Mage::app('default'); //Your Custom Code Will be here. //load a category $category = Mage::getModel('catalog/category')->load(10); //load a product $product = Mage::getModel('catalog/category')->load(100); ?>
Run Magento Session Into An External Site Click Here
Hope this will be helpful to someone else, Thanks and enjoy the reading.