Quantcast
Channel: PHP – KB Web Thoughts
Browsing all 13 articles
Browse latest View live

Download and Install Free PHP Scripts

PHP is one of the most popular web languages to develop websites. All kinds of websites can be created using PHP. Daily new developers are joining the PHP community and learning concepts of PHP. There...

View Article



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

Captcha PHP Script

About (in brief) It does not require images but works on text. Now you can protect your pages with the use of Captcha, you can now have some additional security/authetication/nospam to your web pages....

View Article

How to read an RSS Feed using PHP

There are many ways 2 read XML Feed using PHP. Some basic ways with which this can be done are given below along with code: Basic Way 1 <?php function getFeed($feed_url) { $content =...

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 all 13 articles
Browse latest View live




Latest Images