Facebook Twitter Reset

Simple Visitor Counter Using php

This tutorial require 1 PHP file and 1 table of mySQL database. 1. counter.php 2. Database “mypage” and table “counter” with 1 fields: visitor(Int, 11). You need to insert a first one record with “0″. Counter.php Source...

Export MySQL to CSV (Excel) using php

You can export your MySQL database to .csv file format (Microsoft Excel file) easily using php. This tutorial require 1 PHP file and 1 table of mySQL database. 1. exportcsv.php 2. The table is with 2 fields: id(auto_increment), name(varchar,...

Simple Add to favorites script

Here is a simple script in javascript which shows how you can add a link in your website to make your visitors add the webpage to their Browsers Favorits. <html> <head> <script language=”JavaScript”> function AddtoFav()...

Javascript Popup Chromeless Window

Here’s a simple but flexible javascript popup function. This effect is known as a chromeless window. This usually means that the window is resized and the browser features (nav buttons, address field, scrollbars, resize handle, and favorites)...

Javascript popup window

Hello this is a simple tutorial which shows how to add a popup window using javascript Add the below javascript code on your webpage. <script language="javascript" type="text/javascript"> var win= null; function OpenNewWindow(mypage,w,h,myname){ var...

How to check browser javascript enabled?

Here is a very simple but a powerful idea of checking whether your client’s browser is javascript enabled or not Just add tag <noscript> SOME WARNING MESSAGES </noscript> On your webpage simple, a sample is given below <noscript> <span...

Replace all non alphanumeric characters using javascript

Hello Guys…Here i am back again with yet another simple tutorial on how to replace non alphanumeric characters using javascript. [myAds] <script language="JavaScript"> var temp = new String('This is a te!!!!st st>ring......

Remove Non-Alphanumeric Characters using php

This is a very simple code to remove non alphanumeric charecters from a variable using php. THE CODE < ?php $str = "Here! are some numbers 1244 and some non alphanumeric charecters !£$%^&"; $new_string = preg_replace("/[^a-zA-Z0-9\s]/",...

Get textbox value from dropdown using ajax and php

This is a simple tutorial on how to get a dropdown list value using simple ajax and php Create a html page named country.html and add the below codes, HTML CODE <select name="country" onChange="getCurrencyCode('find_ccode.php?country='+this.value)"> ...

Get browser version and details using javascript

Hello here is a simple javascript code on how to get the browser version and other details.Just copy paste guys. <h3> Your Browser details are as follows:</h3> <script language="javascript" type="text/javascript"> var...

Quick method to prevent cross site scripting in php

Let’s define a simple function to prevent the querysting from being tampered with external code. Lets take an example, If you have a webpage like http://www.mistonline.in/search/index.php?name=java , there is every possiblity that a hacker...

Avoid direct access to a file in php enhanced version

Some months before i have written a code to avoid the direct access of files using php, but now i have modified the previous script since it has some set backs, Let us take one file named MYFILE.PHP as an example, all you have to do is just...

Image preloader using CSS

This is a simple tutorial which helps you to put a preloader similar to flash preloaders on your website interesting huh , just check out this simple tutorial of how to implement the same.Just needed to add some 5 lines of code using css and...
Affordable Seo PackagesSeo BlogEdu Backlinks