How to magento access cookie data or create, read, and delete cookie in magento? Magento Mage_Core_Model_Cookie class can be use to get,delete and set cookie data.If you try to use normal php cookie to get data, sometimes not working. Continue reading Magento set, get and delete cookie data
How to magento execute custom query?In here you can execute custom query to insert,update,delete and fetch data from database with using magento existing database connection. Continue reading Magento execute custom query
How can you get order increment id/last order id in magento? You can get magento order increment id/last order id into the success.phtml page by this method.Also you can get magento order increment id/last order id into admin panel as following methods. Continue reading Magento get order increment id
After you updated the magento version sometimes product price changed to zero.But product price is correctly displaying in the category page or list page.This price zero issue is mostly displaying in the product details page.So in here I’ll discuss about this issue and how to solve this.Many time this is happen because of the custom options.
Check this image, then you can get an clear idea about this.
Continue reading Magento product price changed to zero
If you are wordpress blog user,you must consider about the site security process. Otherwise your site may be hack or infecting malwares. So I’m going to explain some essential wordpress security plugins usages and how to crack them to get all features with premium features without paid to them. 😀
Get details about DNS lookup of the domains with php.This simple php script can be used to get details about DNS lookup with MX records,text records,CNAME records,SOA…etc . Final result is getting 2D or 3D array of the DNS lookup details of the given domain. Continue reading php get DNS lookup details
Get details about domains or addresses with Whois.This php class can be used to get details about domains or IP addresses with Whois protocol. It can connect to the Whois server for a for a given top level domain and perform a query to retrieve information about that domain. Continue reading php get domain details with whois
How to wordpress get categories list easily.You can get categories list by wp_list_categories() core function.It is listing as categories names as a list.
Continue reading WordPress get categories list
How to add contents to the wordpress page or post using hooks.You can add before content or after content of the posts.Wordpress hooks are easy to handle and add contents without worrying.Mostly wordpress hooks are using to WordPress plugin developers.
Two types of hooks named “Actions and Filters”. Continue reading WordPress add contents to the page or post using hooks
How can I get specific page or post ID to any page/plugin/widget in the WordPress.You don’t have a write sql codes.Simply call to WordPress core functions only.If you want to get page or post ID to any page like plugin page, template page, inside functions, outside functions no matter you can use this.
My another post is described how to get specific page or post content.
How to include different files from different servers using PHP? Is this possible easily? Read this to know about this fully.
Continue reading Include files from different servers using php
Woothemes also comes with some basic SEO settings with in.Yoast makes a great plugin called WordPress SEO. Unfortunately they don’t always play nice even if you don’t use the Woothemes SEO functionality.
Woothemes and Yoast SEO displying double title separators.I’ve been having a problem with my titles showing double title separators.
You can understand this by following image.
PHP get visitor details without any third party web site registrations or keys.Get visitor IP address,region,latitude,longitude,Country,visitor map with php.Look at this example you can get visitor all details even latitude,longitude and country details.
How to check duplicate values in an array and return it using PHP?Also telling php check wild card value in an array and return those values.For a example you want to check number of times that values exist and return that all values in an array.Check this example, you can understand this better.
Continue reading PHP check duplicate values in an array and return it
This is a IP address redirect example.Check visitor IP address is exist in the IP address list/black list and if exist then visitor redirect to the another location using php.You can put your IP addresses list as line by line with single IP address or CIDR notation.Then check visitor IP address with list and redirect them.
How can you read file, like text file line by line and get contents to and array using php? This can be using “FILE_IGNORE_NEW_LINES”.Here is a tested example to read text file line by line and create an array.
Continue reading PHP read file line by line to an array
How to increase max execution time, file upload size, memory limit in php.ini file and htaccess file? When you are executing large file you have to seen Fatal error: Maximum execution time of 30 seconds exceeded in…., Fatal Error: Allowed memory size of 8388608 bytes exhausted…. etc.In this post is describing how to solve this error using php.ini file or htaccess file.
How can you create css3 3d covers like book, DVD covers without using photoshop? You can get 3D effects using simple css3 3d features.View demo & download source code.This three-dimensional covers are using only one image that is cover page. ok, look at above image.You can understand this better we are going to do now.