Nov
12
2011

Prevent user from deleting categories in wordpress

do-not-delete

WordPress is like a heaven for the programmer and for designer both. With the introduction of wordpress, blogging moves to next level . All of us know that wordpress is highly customizable and in any manner but there are several things which becomes pain for the beginner developer or wordpress programmer. One of the reason for the pain is, “Categories”. Categories helps us in grouping the posts so it is easy for manage and beneficial […]

Nov
11
2011

How to get thumbnail image src attribute in wordpress

thumb

Wordpress introduced Post Thumbnail feature in Version 2.9. Thumbnail is an image that is chosen as the representative image for Posts, Pages or Custom Post Types. This is especially useful for “magazine-style” themes where each post has an image according to wordpress .

Nov
2
2011

How to protect your bandwidth by htaccess

web-security-2

Many bloggers, webmasters copy paste the resource URLs linking directly to non-html objects not on one own’s server, such as images, .js files etc. The victim’s server in this case is robbed of bandwidth (and in turn money) as the violator enjoys showing content without having to pay for its deliverance. The most common practice of hot linking pertains to another site’s images. The best way to stop hot linking is to have your images […]

Aug
29
2011

Installing Ruby on Rails 3 on Windows

200x200

This post helps you Installing ruby on rails 3, on windows platform. So without wasting your time, here we go. Download the latest stable release of ruby. ( In our case we are taking Ruby 1.9.3 & Rails 3 ) Install it like any other program you do. Open command prompt & navigate to ruby > in directory & run following command to check version > ruby –version it should output something like this ruby […]

Aug
28
2011

Make Your Website Facebook Ready

facebook-like

We see the popular facebook like button on most of the websites. We know when someone clicks on like button, it instantly gets posted on user’s wall with a backlink and some other information. Have you ever seen closely how facebook link sharing script extracts information about your website to show on website? Lets investigate this minute, but important fact which can make a lot difference in what gets posted on facebook when someone clicks […]

Mar
3
2011

Mod URL Rewrite

What is Mod URL Rewrite… A basic understanding? Mod URL Rewrite mean to a.) A fancy URL. b.) A URL that is Search Engine Friendly. C.) A URL that is user friendly too. So, Mod URL Rewrite means to create a fancy web URL that is User and Search Engine Friendly too. Example: Original URL

Fancy URL

Another Example: Original URL

Fancy URL

Modification from original URL to a Fancy URL is […]

Feb
28
2011

Image Resize in PHP

Today i am working on a PHP project and i needed a PHP function which dynamically resize uploaded image. I searched in Google and other PHP forum for 2 – 3 hours but didn’t find any perfect solution for my need , some of the functions can resize only jpeg images while some of the functions may resize png and gif images also but the output result is jpeg. So i decided to wrote a […]

Pages:«123