My Blog
How you can add Cron Job at Cpanel?
Execute Cron Job in Cpanel using PHP script. In cpanel the following will also work: Execute code every minute(Server Time) using following code: * * * * * php -q /home/serverpath/file.php Execute code every five minute(Server Time) using following code: */5 * * * *...
How to export the data from MySQL into a XML file with PHP?
There are a couple of ways to export data from MySQL to a XML file. This post looks at how to export the data from MySQL into a XML file with PHP. The example code below uses the raw mysql_* functions but it should be easy enough to substitute a database library's...
Learn how to enable JavaScript in the most popular web browsers.
Learn how to enable JavaScript in the most popular web browsers. Please complete the following instructions to activate and enable JavaScript in Internet Explorer. PC In the Tools drop-down menu, select Internet Options. Next,...
How to export the data from MySQL into a CSV file with PHP including a header row?
There are a couple of ways to export data from MySQL to a CSV file but some of them never supports adding a header row to the CSV which contains the column names. This post looks at how to export the data from MySQL into a CSV file with PHP including a header row. The...
Capitalize the sentence in Javascript!
Capitalize the sentence in Javascript!
Create a folder if it doesn’t already exist in php
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) path - Required....
Admin URL is not working in Magento
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...
How to get store admin email address and name in Magento?
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 =...
Show password in normal text of password box on check.
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...
How to disable posts auto save in 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...
Join My Newsletter
Like Us
Follow Us
Contact Me
Email: me@shashidharkumar.com
Phone: +91-943-185-6038