echo phpinfo();
?>
print_r(get_loaded_extensions());
output
======
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => openssl [5] => pcre [6] => zlib [7] => bcmath [8] => bz2 [9] => calendar [10] => ctype [11] => dba [12] => dom [13] => hash [14] => fileinfo [15] => filter [16] => ftp [17] => gettext [18] => session [19] => iconv [20] => json [21] => mbstring [22] => standard [23] => posix [24] => Reflection [25] => SPL [26] => shmop [27] => SimpleXML [28] => soap [29] => sockets [30] => Phar [31] => exif [32] => sysvmsg [33] => sysvsem [34] => sysvshm [35] => tokenizer [36] => wddx [37] => xml [38] => xmlreader [39] => xmlwriter [40] => zip [41] => apache2handler [42] => curl [43] => gd [44] => mcrypt [45] => mysql [46] => mysqli [47] => PDO [48] => pdo_mysql [49] => mhash )
We can do it using the API given below
<?php
$country = file_get_contents("http://api.ipinfodb.com/v3/ip-country/?key=<Unique Key>&ip=$ip");
print_r($country);
?>
2) Then click on the tab “Product Image Watermarks” and fill the fields shown right under that and save the data .
2) Edit/Add the page to be blocked
4) set a Custom Field of “block” and set the value to “true”.
Get store data : Mage::app()->getStore(); Status : Mage::app()->getStore()->getIsActive(); Store Home Url : Mage::app()->getStore()->getHomeUrl(); Store Id : Mage::app()->getStore()->getStoreId(); Store code : Mage::app()->getStore()->getCode(); Website Id : Mage::app()->getStore()->getWebsiteId(); Store Name : Mage::app()->getStore()->getName();
<?php
$store_id = $this->helper(‘core’)->getStoreId();
$logoURL=Mage::app()->getStore($store_id)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
?>
We can use {{store url=”}}