Quantcast
Browsing latest articles
Browse All 13 View Live

Image may be NSFW.
Clik here to view.

Dynamic CSS Sprite implementation gives a Painting effect

CSS sprites saves many HTTP requests and is a cool way of using images on a webpage. www.kunals.com homepage is created using CSS Sprite along with PHP to give a painting like dynamic effect. The...

View Article


Trim a string without cutting words in PHP

Often we require to trim/cut a string to desired length. Using a function is suggested as writing code again and would be tedious task. Below is the code of function by which we can cut a string to a...

View Article


Image may be NSFW.
Clik here to view.

How to implement Dynamic CSS Sprite Painting effect using CSS and PHP

It is very easy to give a painting effect to images on your website. Just use simple CSS Sprite logic only or use PHP (or other scripting language like ASP etc.) with CSS Sprite to make it easy and...

View Article

How to avoid showing more than 3 google adsense content units on a page

Google adsense is being used by publishers to show advertisements on their webpages, websites and web properties. Due to dynamic nature of various web pages some times it happens that more than maximum...

View Article

Tic Tac Toe Design Code in PHP

TicTacToe is an old interesting game played in schools and when people are free. This is a web-based Tic Tac Toe game written in PHP where a user can compete against computer. I’ve been doing a simple...

View Article


Find connection path between two users in a social network using PHP

Social networking sites are coming up daily. Users are linked to other users based on various factors like friends, interests, groups, same school, same company, same locality and many more. In all...

View Article

PHP code to find how 2 users are connected through friends in social network

This is the second version of our earlier post Find connection path between two users in a social network using PHP. In this version performance issues have been taken care upto some level along with...

View Article

PHP bidirectional algorithm to find connection between linked users

This is the version (2.0) of our earlier post Find connection path between two users in a social network using PHP and http://blog.kunals.com/php-code-find-2-users-connected-friends-social-network/. In...

View Article


Online Shopping e-commerce implementation logic with coupons

Online shopping is gaining boom. More web companies/stores (webpanies) are opening up. Big companies/market place have coupons system and online payment system. Small, medium and large businesses are...

View Article


Quick Cache code implementation in PHP for SEO

Making website quick and efficient to load helps in SEO. Good SEO means better ranking and more visitors. Google SEO believes in faster loading of websites as a plus point. How cache (caching pages or...

View Article
Browsing latest articles
Browse All 13 View Live