List/Grid Scripts Subscribe RSS feed of category Scripts

Adding And Subtracting Dates in PHP

Adding And Subtracting Dates in PHP

Here are some examples by which you can add or subtract date. e.g these simple codes can find the 2 week before or after date. Subtracting Years from a date… Read more »


Get country from ip-address

Get country from ip-address

Get country name from ip-address <?php function countryCityFromIP($ipAddr) { //function to find country and city from IP address //verify the IP address for the ip2long($ipAddr)== -1 || ip2long($ipAddr) === false… Read more »


how to fetch all files from folder using php

how to fetch all files from folder using php

PHP directory listing Some times we have to display the list of all files in a directory.We can do this with the help of php function readdir(). The code to… Read more »


How to create hindi texbox

How to create hindi texbox

We can create a hindi textbox & textarea with the help of JavaScript in which we can write in hindi and english both. You can download this pack by clicking… Read more »


How to delete the file using php

How to delete the file using php

We can delete the file using php with the help of unlink function. Define this function like this: unlink ( string $filename [, resource $context ] ) Parameter: File name:… Read more »


© 2012 Sumit Bansal. All rights reserved. XHTML / CSS Valid.