Export To CSV File – PHP

February 27, 2016

CSV is a simple file format that is widely used by IT Professional, business, and all who are familar with computer. Those who use computer in day to day life, they know how to use CSV/Excel. Among its most common uses is to move tabular data between programs that naturally operate on a more efficient […]

Redirection

February 10, 2016

In previous articular we have discus Migrate site from ASP to WordPress.  After successfully migration your ASP site to WordPress it’s important to maintain redirection. Because If you have an old url ranking is good in Google and move to a new, permanent location, a 301 redirect can pass the search engine ranking score of the old ranking […]

Improve Ajax Performance

January 27, 2016

Following are few steps to Improve Ajax Performance First try to Reduce the Number of Ajax Call If same call send again, abort the previous call If ajax call is executing, and user go for another link, then cancel the previous one. Use GET Method, As its Fast but less secure Reduce the Amount of data […]

How To Fix Headers Already Sent Error In PHP?

We are here to fix below error in PHP Warning: Cannot modify header information – headers already sent by (output started at E:wampwwwtestppublic_htmltest.php:2) in E:wampwwwtestppublic_htmltest.php on line 4 Question: Why this Error comes? This error comes when sending header after the output. OR using “header” function after the output. Question: Give an example when this […]

REST API

Representational state transfer (REST) is the software architectural style of the World Wide Web.It relies on a stateless, client-server, cacheable communications protocol — and in virtually all cases, the HTTP protocol is used. REST is a lightweight alternative to mechanisms like RPC (Remote Procedure Calls) and Web Services (SOAP, WSDL, et al.). Despite being simple, […]

Cloud Computing (Salesforce) and Salesforce Integration with PHP

September 24, 2015

Cloud computing is Internet-based computing, whereby shared resources, software, and information are provided to computers and other devices on demand, like the electricity grid. Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over a network (typically the Internet). As a metaphor for the Internet, “the cloud” […]

Secure your WordPress Plugin : CSRF protection

August 21, 2015

I fixed this vulnerability in my WordPress ‘WP Database Backup‘ plugins and would like to share the same knowledge to other developers. Lest you think this security stuff isn’t important, a major vulnerability was recently found in the WordPress plugins, which is installed on many WordPress sites and which allowed hackers to manipulate the WordPress database using […]

Cron job fail to include files

February 4, 2015

If you select php as the command language for your cron job, relative paths may not work. This is because some PHP scripts expect to be run from the directory where they are stored, and due to the nature of our Sites platform they will be run from another location. This means including or requiring […]

Disable WordPress Admin Bar

November 25, 2014

 Disable WordPress Admin Bar for All Users Except Admin if you want Disable WordPress Admin Bar for All Users Except Admin then Paste following code in your theme’s functions.php file add_action(‘after_setup_theme’, ‘remove_admin_bar’); function remove_admin_bar() { if (!current_user_can(‘administrator’) && !is_admin()) { show_admin_bar(false); } } Disable Admin Bar for All Users If you want to disable Admin Bar for […]

Backing up your WordPress database

October 28, 2014

Your database contains all your important information if the database is erased or corrupted you lose everything. Sometimes accident can happen when we least expert it. If you can have made a careless mistake and your database is gone how can you restore your data in your database? So Backup your database regularly. The WordPress […]

Older Entries