Archives For PHP

Object Oriented Programming with PHP

A database is a fundamental component for most web applications. If you’re using PHP, you’re probably using MySQL–an integral part of the LAMP stack.

PHP is relatively easy and most new developers can write functional code within a few hours. However, building a solid, dependable database takes time and expertise. Here are ten of the worst MySQL mistakes I’ve made (some apply to any language/database)… Continue Reading…

In this tutorial I’m going to show you how you can use the php library called PHP Excel Reader to read excel files using php. Yes, things like excel readers for php has already been written by smart people in the past so I’m not going to show you how to build an excel reader from scratch. It’s not quite my level yet, I still consider myself a beginner. Anyway, let’s get to the main topic.

Requirements

Sample Spreadsheet

First you need to have a sample spreadsheet that you could  work on. Just make it simple, preferably a 2-column sheet with a  few data on it.

To Read More Click Here

Source: http://kyokasuigetsu25.wordpress.com

All Credits goes to respective author of the article.

This post from one of our recent experience. I thing we can’t forget that day. We were working on some wordpress site. After some time the WordPress white screen of Death happened!  It’s in our another post.
How to fix WordPress Malware Script Attack. So we recover our sites from eval(base64_decode malware script attack.

Then we think about some precaution for this attack. Our research started from that point. “How to prevent WordPress Malware Script Attack?”

1
2
3
eval(base64_decode(“DQplcnJvcl9yZXBvcnRpbmcoMCk7DQ…” ));

At last we found some solution. The most powerful way of doing this by killing  eval and base64_decode function.

Create  php.ini file and put it in the root folder.

Read More at http://blog.lightrains.com/wordpress/how-prevent-wordpress-malware-script-attack/