PHP

/PHP

Export To CSV File – PHP

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 [...]

By |February 27th, 2016|Blog, PHP|0 Comments

Redirection

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 [...]

By |February 10th, 2016|Blog, PHP, WordPress|0 Comments

Improve Ajax Performance

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 [...]

By |January 27th, 2016|Blog, PHP|0 Comments

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 [...]

By |January 27th, 2016|Blog, PHP|0 Comments

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, [...]

By |January 27th, 2016|Blog, PHP|0 Comments

Cloud Computing (Salesforce) and Salesforce Integration with PHP

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" [...]

By |September 24th, 2015|Blog, PHP|0 Comments

Secure your WordPress Plugin : CSRF protection

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 [...]

By |August 21st, 2015|Blog, PHP, WordPress|0 Comments

Cron job fail to include files

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 [...]

By |February 4th, 2015|Blog, PHP|0 Comments

Disable WordPress Admin Bar

 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 [...]

By |November 25th, 2014|Blog, PHP, WordPress|0 Comments

Backing up your WordPress database

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 [...]

By |October 28th, 2014|Blog, PHP, WordPress|0 Comments