Integrate Amazon FPS single use payment token using PHP

Amazon Flexible Payments ServiceTM (Amazon FPS) is the first payments service designed from the ground up for developers. It is built on top of Amazon’s reliable and scalable payments infrastructure and provides developers with a convenient way to charge Amazon’s tens of millions of customers (with their permission, of course!). Amazon customers can pay using the same login credentials, shipping address and payment information they already have on file with Amazon. For more details about Amazon FPS , visit here.
Read the rest of this entry »

Php

Foreach in php multidimensional array.

Array always has been a  solution for solving a simple to complex logical problems.  As far as my programming experience is concerned array has been the integral part to manipulate, solve most of the logical problems.  In php there are 3 different kinds of array i.e Indexed array , associative array and multidimensional array . Basically we use loop or do iteration on indexed array and associative array , but here I will go with the technique of using ‘foreach’ iteration on multidimensional array .
Read the rest of this entry »

Php

Lavalamp effect ( Animated Menu ) using Jquery

We can see many jquery plugins for animated menu.  In this post I will go with the technique of how to create LavaLamp effect ( animated  menu ) using  Jquery .  Before going through the codes  you can check out  the demo link below to see  what precisely  lavalamp effect is.
Read the rest of this entry »

Javascript, Jquery

How to create drag and drop effect using JQuery.

There is no any drag and drop event defined in javascript but it can be obtained using other events .  We can find various drag and drop plugins which can be easily integrated and used but I noticed that most of the javascript programmer are unaware of how drag and drop effect is created using other events.
Read the rest of this entry »

Jquery

Encoding PHP array into JSON object and parsing it using Jquery.

PHP 5.2 and higher has native support for JSON .  JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language.
Read the rest of this entry »

Javascript, Jquery, Php

Django (Python Web Developement Framework) Installation in Windows

It took me about five different installation guides, but I finally got Django to work on my Windows XP .

Here’s a a simpe step for those who were having hard time in django installation in windows.

1. Download Python 2.6 from here.

2. Download latest version of Django from here.  Extract the file on  C drive.  which makes c:/Django.
Read the rest of this entry »

Django, Python

Start CGI Scripting using Python and Apache Server

The Common Gateway Interface (CGI) is a standard protocol that defines how webserver software can delegate the generation of webpages to a console application.
Such applications are known as CGI scripts – they are usually written in a scripting language.

Python is a free interpreted and object oriented programming that allows you to create any type of applications compatible with all common operating systems.
You can deploy stand-alone applications or CGI scripts. There are many web servers that provide support for deploying Python scripts.
Read the rest of this entry »

CGI, Python

A simple Tooltip using javascript.

A “tooltip” is one name given to the small yellow box that appears when you hover over an object on your screen when ‘title’ attribute is use for that particular object.This box simply appears whenever ‘title’ attirbute is use for the particular html element. For eg. Hover Here . When we hover on  this link we can see yellow box written ‘tooltip’.This is the defulat tooltip provided by the browser itself.
Read the rest of this entry »

Javascript

Preloading Images Using Javascript

Image Preloading is quite often used when there is roll over images, image gallery for faster display of the images required.

What is image preloading?
It is the process of loading image to the browser’s cache before the image is required.We call all the image in advance so that it can be displayed wholly whenever it is required.

Script:

Here we use javascript image object(Image()) to preload images.
Read the rest of this entry »

Javascript

Simple Javascript Form Validator

JavaScript can be used to validate data in HTML forms before sending off the content to a server.

Form data that typically are checked by a JavaScript could be:

Javascript