Category: Scripts

Calculating the length of a string using PHP 0

Calculating the length of a string using PHP

The PHP function strlen can be used to find out how many characters are in a string. This is very useful for validating that there’s data in a string, and that a string isn’t...

Paging in PHP (Splitting records into pages) 0

Paging in PHP (Splitting records into pages)

Paging means showing your query result in multiple pages instead of just put them all in one long page. Imagine waiting for five minutes just to load a search page that shows 1000 result....

Upload a file via FTP using PHP 0

Upload a file via FTP using PHP

You can upload a file via FTP using PHP with the help of “ftp_put()” function. upload.php file

Redirect Your webpage with JavaScript 0

Redirect Your webpage with JavaScript

If you want to redirect your web-page to another location with the help of JavaScript. so you can redirect it with JavaScript function setTimeout(“url”.time); complete code is <script language=javascript> setTimeout(“location.href=’http://www.yourwebsite.com/page'”, 0); </script>

Show the current value of Dollar in Rupees 0

Show the current value of Dollar in Rupees

This Script Show the current value of rupees in dollar.It is work on google API, the url of the google API calculater is http://www.google.com/ig/calculator?hl=en&q=1USD=?INR Via this URL you can convert all the currency into...