0 comments / November 11, 2014

Remove last character from string trick in php

General way of trimming last character of string in php is using substr function. But there is another way we can do it using rtrim().

2 comments / June 24, 2014

Prevent submit on page refresh

Reloading the page after form submission in POST method, browser will always display a warning whether it can resend same data to server or not. For average user, this information is bit technical and it might confuse him.

1 comments / June 21, 2014

Protect index files from hacking

Hacking is a very broad topic to discuss. Here I'm going to discuss about one kind of attack that is mainly targeted on website's index files

4 comments / February 05, 2014

Disable or block copy paste in blogger using css

It'll really frustrates, when you find your blog content published in some other websites as their own. We cannot completely block these kind of stealing but we can make it harder to achieve.