Here is the detail for Get current store id in magento

Magento Get store data.

Mage::app()->getStore();


Magento Store Id

Mage::app()->getStore()->getStoreId();


Magento Store code

Mage::app()->getStore()->getCode();


Magento Website Id

Mage::app()->getStore()->getWebsiteId();


Magento Store Name

Mage::app()->getStore()->getName();


Magento Is Active

Mage::app()->getStore()->getIsActive();


Magento Store Home Url.

Mage::app()->getStore()->getHomeUrl();