PHP

/PHP

What is the .htaccess File?

You may have been working on a website, or reading an article about web development, and heard about the .htaccess file, but wondered what it was, or what, if anything, you can do with it. This tutorial will tell you the basics about .htaccess, and show you a few ways you can use it on [...]

By |July 1st, 2014|Blog, PHP, WordPress|1 Comment

PAYPAL SANDBOX PAYMENT GATEWAY INTEGRATION

In this tutorial I want to explain how to work with Paypal Sandbox test accounts for payment system development and sending arguments while click buy now button. It’s simple and very easy to integrate in your web projects. Step:1. you need to create a papal sandbox account login into developer.paypal.com and then click signup now [...]

By |June 27th, 2014|Blog, PHP|7 Comments

Display Google Map Using Curl in PHP

Display Google Map Using Curl, this is the preferred way it gives much more control, its also faster then file_get_contents. 1.First Set the url like : $url ="http://maps.google.com/maps/api/geocode/json?address=PUNE+INDIA&sensor=false"; The important part to point out there is the address=PUNE+INDIA the address expects an address also since this is a web URL it cannot have spaces instead [...]

By |June 10th, 2014|Blog, PHP|0 Comments

Improve Database Security

You don’t have to go far to find out how important database security is. For instance, Target is still reeling from their systems being hacked, exposing the credit card information of many of their customers. It’s the kind of harm that requires a lot of time, money, and resources for damage control, as well as [...]

By |April 4th, 2014|Blog, PHP, WordPress|0 Comments

Why User Need a CDN for Website?

What is a CDN? CDN is short for Content Delivery Network which is a network of servers that deliver cached static content from websites to users based on the geographic location of the user. Pretty confusing eh? Let’s break it down in simpler words. Normally when a user comes to your WordPress blog, they are [...]

By |April 2nd, 2014|Blog, PHP|0 Comments

Increase Database security in WordPress

1.REGULARLY  BACKUP WORDPRESS DATABASE Sometimes accident can happen when we least expert it. If you can have made a careless mistake and your post is gone how can you restore your data in your database? Your database contains all your post,comments and link that you have on your blog so if the database is erased or [...]

By |March 21st, 2014|Blog, PHP, WordPress|1 Comment

Curl: Location redirect while open_basedir is set

f you need to follow redirects within your php code using Curl and the open_basedir is set you came into some trouble. If you disable this directive all your directories with a 777 permission are not safe (if one or more website on the same server has some security issues). If you don’t have additional [...]

By |January 21st, 2014|Blog, PHP|1 Comment

Fix WordPress user roles

All  WordPress user roles are gone, how to fix it!? The steps I would take are these: Open your database Backup your wp_options table (prefixes will change the beginning of the table name of course) Find the row from the first section of this article “wp_user_roles” in the wp_options table Copy the default user roles [...]

By |January 14th, 2014|Blog, PHP, WordPress|0 Comments