image protection on web pages

0 comments
Image protection is almost an impossible task and a big headache to the web developers. Usually we disable right clicks or we use image as background to prevent being stolen.

Indian currency or rupee number format in PHP

0 comments
Convert any amount to currency format is a tough task. money_format(), which is a custom function provided by PHP,  to change any number to currency formats. First you need to define the target locale and then specify the corresponding money format, which will do the trick for you.

Display star ratings using JQuery and CSS sprite

0 comments
Radio buttons are introduced in html to get predefined answers from users. It is perfect for feedback forms, product ratings and surveys etc. Star ratings are more convenient and attractive way of grabbing users inputs.  Most  of the eCommerce sites uses the star rating technique which is more comfortable than conventional radio buttons.

Send or communicate data structures from PHP to Javascript using JSON

0 comments
Usually web servers will send html data to the browser and the rendering engine will start parsing the html code. Nowadays most of the websites work like a web application and will send or receive live data from the server. For this type of interaction, communication of data-structures are required. We all know, the difference between a PHP Array and JavaScript Array is like car is to carpet. So conversion to a common data format is required for this operation. JSON, JavaScript Object Notation, is very light weight and it is globally accepted as a data exchange format. Lets try sending a PHP array from PHP to JavaScript using JSON.

Fix common svn commit errors - locked, out of date, forbidden

0 comments
We all know SVN and we use SVN in all development streams. SVN is really helpful to track the changes, modify the versions of files and publish to the live server. Every developer can analyse and move the file changes to the server using SVN commit procedure. SVN will take care of merging the final file contents and chances of file conflicts are negligible. This is the biggest advantage of SVN.

Fly to Cart Basket animation effect using JQuery and CSS

0 comments
E-commerce sites are using ajax purchasing functionality. Have you noticed the flying to cart feature or auto dragging effect while buying any product online? ie. The product will start to move from the product display position to cart items position. You might have wondered by seeing the this animation. This effect, refereed as Fly to cart effect is created with JQuery and CSS.

Speed up your website with CSS image Sprites

0 comments
Webpages are created with tons of small icon images to show arrows, curves, separating pipes etc. About 30 to 100 HTTP requests will be sent to server while browser loads a webpage elements such as images, style sheets and scripts. Most of the requests are sent for downloading the images from the server. CSS Sprite technique can reduce the number of requests and which will increase the page loading speed.

Securely storing passwords with PHP and MySql

0 comments
Passwords are stored in the database. Is that safe? Any intruder with read access can steal account information of all users and they will torn your website by logging into administrative areas. There are plenty of ways to store the passwords securely in database.

Usage of dyanamic variable in PHP

0 comments
We all are familiar with PHP variables. PHP Variables are used for storing data and that can be constructed using alphabets, numbers, underscore and dot symbol. You might have heard about Dynamic variables. If so, what is the purpose of making dynamic names for variables. Let's find it out.

Auto arrange blocks to multi column layout using CSS3

0 comments
Multi column layouts and Pinterest style layouts are very popular now. Multi column layouts can show more
information in a limited space and use the web page efficiently. Viewers can easily view all content blocks
without scrolling or dragging the page. CSS3 has introduced special keyword, column-count, which is really
helpful for building a multi column layout. Let's do it.

First Visit Popup on Website Startup using CSS and JQuery

0 comments
Popup's usually used to gain attraction of the visitors and it is the most
common way of web marketing. You can use popups for publishing new
events or products etc. But sometimes popups may be a little irritating
to your website viewers. So instead of using normal popup, we can use popup
only when user visits the website for the first time. This popup is generally known as
First Visit popup. Let's create a First Visit popup.

Horizontal scrolling Webpage content with CSS

0 comments
Look and feel of the website helps to gain more authority of internet users. Websites need to be updated with new style effects and layouts.All of us are familiar with websites having vertical scrolling content. Why shouldn't you create a webpage with horizontal scrolling content? Here is a way to do it.

Center a webpage in a browser

0 comments
Nowadays most of the internet users use wide screen monitors to browse internet. It will be strange if website aligned to leftside and it affects the authority of the website. So websites must change according to the size of the viewing screen. Lets see the steps to align a webpage horizontally center to a webpage.

Create dynamic select list from mysql table

0 comments
Displaying a select box is really simple, straight forward. But sometimes we may need to show dynamic select boxes using the mysql table row data. Now most of the websites uses a content management system and contents are being updated from the administration modules.