Follow me and receive all the latest free scripts:

By Email:

Most Popular Posts

TipoCode: coding tutorials, jQuery, Ajax, JavaScript, PHP...

jQuery PhotoStream Script

Published January 24, 2015 by , category jQuery


Here is a very simple jQuery PhotoStream script to enhance your photos website.

This PhotoStream script allows you to show a photo stream for a chosen user. You can configure it easily and select the user ID and the number of photos (thumbnail) you want to display per page.

You can easily display a PhotoStream on your personal website using JavaScript (jQuery), PHP and MySQL. I provide a database structure sample, you can easily adapt with yours. Code is commented.

jQuery PhotoStream Script

➜ Continue reading "jQuery PhotoStream Script"

Very precise jQuery/Ajax Star Rating Plugin Tutorial

Published January 12, 2015 by , category jQuery


Here is a new Star Rating Plugin that follows the previous tutorial.

What is the difference between them? This new rating system doesn’t only display full stars, but also half or quarter stars; it is precise up to 0.01.

Like before, you can display a star bar with as many stars as you want. Allow your visitors to rate your items, videos, articles, pages…by including a simple code below them.

This new system is simpler, nicer, more precise and powerful; check it out!

Very precise jQuery/Ajax Star Rating Plugin Tutorial

➜ Continue reading "Very precise jQuery/Ajax Star Rating Plugin Tutorial"

jQuery Star Rating System

Published January 05, 2015 by , category jQuery


Happy New Year to all of you! Last month someone asked me a 5 star rating system that he could easily install and allowing visitors to rate his photos. So here is a jQuery Star Rating System Tutorial. With this jQuery script, easy to configure, you can choose the star image you want and the number of stars you want to display. You can rate as many Medias you want in your web page.

A simple command, calling a three parameters function, is enough to display a star bar around the Media. The three parameters are: number of stars, Media Id and width of your star image in pixels.

Enhance your website and ask your visitors to rate your photos, your videos, your articles…with this simple multi-stars rating system!

With this tutorial I provide the database structure and a 1-day cookie system to prevent people rating more than 1 time per day. You will be surprised by the simplicity of this jQuery script.

jQuery Star Rating System

➜ Continue reading "jQuery Star Rating System"

Free link directory list

Published December 22, 2014 by , category SEO


Do you want to improve your site SEO? This article is for you. It's a powerful free link directory list that has proven effectiveness in achieving better results in search engines.

Nowadays free directories are still a good way of building links to your website. You do not need to submit your website in too many directories, but you can select good quality one, asking for unique relevant description and offering quality link to your home page or a deeper link and also links to your favorite social network pages.

Check out my general directory list and my niche directory list which may provide a higher quality link.

➜ Continue reading "Free link directory list"

PDO tutorial - Connecting MySQL with PDO

Published December 10, 2014 by , category Database


PDO is a PHP class designed to allow PHP to communicate with a data server. (PDO: PHP Data Object)

PDO is what we call an abstraction layer, which means that it will allow to communicate with any database server: MySQL, Oracle, Postgresql, etc ... (on simple queries).

PDO will allow (it's his major interest) to secure queries and facilitate code reuse through prepared statement.

In this tutorial you will learn how to connect MySQL database using PDO and PHP.

➜ Continue reading "PDO tutorial - Connecting MySQL with PDO"

Useful htaccess tips and tricks

Published November 26, 2014 by , category Security


A .htaccess file is a directory-level configuration file supported by several web servers running the Apache-based web servers. The .htaccess files are placed inside a web tree; you may find them in any directories and sub-directories.

In this tutorial you will lean few useful .htaccess tips and tricks which will help you to improve your site security and achieve simple task to enable/disable additional functionality and features that the Apache Web Server software has to offer.

Tutorial regularly updated.

Useful htaccess tips and tricks

➜ Continue reading "Useful htaccess tips and tricks"

Protect htaccess files and improve your site security

Published November 25, 2014 by , category Security


A common way to hack a website is to overwrite the .htaccess file. The .htaccess file written by you gets replaced by an .htaccess file written by a malware. Hackers simply replace the content of your .htaccess file by their own, often a redirection to another website!

Prevent .htaccess file overwrite is a first step to enhance your website security.

Protect htaccess files and improve your site security

➜ Continue reading "Protect htaccess files and improve your site security"

Ajax and jQuery autocomplete tutorial

Published November 09, 2014 by , category jQuery


Unlike what you may find on the web, namely jQuery autocomplete scripts extremely complex, heavy, difficult to adapt, here is a simple and effective one!

This jQuery autocomplete plugin is willingly CSS free, just few lines of code; a dropdown box appears below your field with a UL / LI list and highlighted words…

Check it out!

Ajax and jQuery autocomplete tutorial

➜ Continue reading "Ajax and jQuery autocomplete tutorial"