by Shashi Dhar Kumar | Mar 25, 2013 | PHP, Programming
Create a folder if it doesn’t already exist in php Defination and Usage: The mkdir() function creates a directory. This function returns TRUE on success, or FALSE on failure. mkdir(‘path/to/directory’, 0755, true); mkdir(path,mode,recursive,context)...
by Shashi Dhar Kumar | Mar 18, 2013 | Magento, Programming
Admin URL is not working in Magento. Go with following procedure to fix the issue: What you have in your Magento/app/etc/local.xml under <adminhtml><args><frontName><![CDATA[admin]]></frontName> </args></adminhtml>? Is it...
by Shashi Dhar Kumar | Mar 11, 2013 | Magento, Programming
How to get store admin email address and name in Magento? In Magento, if you need to use the admin’s email address or name and both. You can use the following code to get the admin’s email and name: $from_email =...
by Shashi Dhar Kumar | Mar 8, 2013 | HTML, JavaScript, Programming
How we can show the password box’s text in normal text if the box is password control box in HTML using JavaScript. Copy and paste the following code & you can type the password into the box provided and you will see the text as encrypted of password box is...
by Shashi Dhar Kumar | Mar 6, 2013 | Programming, WordPress
WordPress have a very useful function that auto-saves your posts while you’re typing them in the dashboard. Though, if for some reason you’d like to disable this function, it is very easy to do. Just read on! To disable WordPress autosaving function, simply open your...