Remove a specific tag from php string

Altaf Hussain December 08, 2011
Sometimes we come to the situation when we need to strip one specific HTML tag from a string and the PHP function strip_tags() doesn’t wo...Read More
Remove a specific tag from php string Remove a specific tag from php string Reviewed by Altaf Hussain on December 08, 2011 Rating: 5

Get all links of a webpage with bookmarklet

Altaf Hussain December 03, 2011
Hello friends. Want to get all the links of a webpage. Here you are at right place. A simple javascript bookmarklet can do this stuff. Y...Read More
Get all links of a webpage with bookmarklet Get all links of a webpage with bookmarklet Reviewed by Altaf Hussain on December 03, 2011 Rating: 5

Get webpage load time in php

Altaf Hussain November 23, 2011
Hello friends. Want to know the page load time of your webpage. Here is a simple script to findout the page load time. The code is divid...Read More
Get webpage load time in php Get webpage load time in php Reviewed by Altaf Hussain on November 23, 2011 Rating: 5

Get file extension in php

Altaf Hussain October 07, 2011
We often need to get the file extension of any file while working with php. We can get it in different ways. Here are some functions to ge...Read More
Get file extension in php Get file extension in php Reviewed by Altaf Hussain on October 07, 2011 Rating: 5

A very simple accordion menu

Altaf Hussain October 07, 2011
Hello friends. Here is a very simple accordion menu script. You can add more menus in this list. Just copy and paste this code into your h...Read More
A very simple accordion menu A very simple accordion menu Reviewed by Altaf Hussain on October 07, 2011 Rating: 5

Clear form elements with jquery

Altaf Hussain October 01, 2011
Hello friends. Here is the code to clear form elements. You need to pass only the form ID in the function and thats all. The form would be...Read More
Clear form elements with jquery Clear form elements with jquery Reviewed by Altaf Hussain on October 01, 2011 Rating: 5

Textarea counter with javascript

Altaf Hussain August 20, 2011
Hello friends. Here is a simple script to count characters of a textarea. The Javascript <script type="text/javascript"&...Read More
Textarea counter with javascript Textarea counter with javascript Reviewed by Altaf Hussain on August 20, 2011 Rating: 5

Upload image and resize it in php

Altaf Hussain July 28, 2011
Hello friends. Here is a simple php function to resize an image with new height and width . You just need to pass the currently uploaded f...Read More
Upload image and resize it in php Upload image and resize it in php Reviewed by Altaf Hussain on July 28, 2011 Rating: 5
Get total left or right child in mlm binary plan Get total left or right child in mlm binary plan Reviewed by Altaf Hussain on July 26, 2011 Rating: 5

Currency converter in php using google api

Altaf Hussain July 18, 2011
This api will no longer work as google has closed its iGoogle service from Nov 1, 2013. You may find this alternative method to Convert c...Read More
Currency converter in php using google api Currency converter in php using google api Reviewed by Altaf Hussain on July 18, 2011 Rating: 5

Find duplicate records in php mysql

Altaf Hussain July 16, 2011
To find duplicate records in php mysql database use this query. It will list all duplicate entries which occurs more than once. ...Read More
Find duplicate records in php mysql Find duplicate records in php mysql Reviewed by Altaf Hussain on July 16, 2011 Rating: 5
Remove duplicate entries from php mysql database Remove duplicate entries from php mysql database Reviewed by Altaf Hussain on July 16, 2011 Rating: 5

Simple tabs with jquery

Altaf Hussain June 20, 2011
Hello friends. Here is the code for simple tabs. Fully customizable script. Add as many tabs as you want. Just copy and paste this code in...Read More
Simple tabs with jquery Simple tabs with jquery Reviewed by Altaf Hussain on June 20, 2011 Rating: 5

Simple slide panel with jquery

Altaf Hussain June 20, 2011
Hello friends. Here is the code for a simple slide panel Html and Css <style type="text/css"> .box { width:...Read More
Simple slide panel with jquery Simple slide panel with jquery Reviewed by Altaf Hussain on June 20, 2011 Rating: 5

Clear form field on focus

Altaf Hussain June 20, 2011
Hello friends. To clear a field onfocus use this simple javascript function. This is very helpful to give some default value to the field....Read More
Clear form field on focus Clear form field on focus Reviewed by Altaf Hussain on June 20, 2011 Rating: 5

Print a div with javascript

Altaf Hussain June 20, 2011
Hello Friends. Sometimes yoy want to print contents of only a div and not the whole window. Use this little javascript function. Just cl...Read More
Print a div with javascript Print a div with javascript Reviewed by Altaf Hussain on June 20, 2011 Rating: 5

Insert data into remote server database

Altaf Hussain June 16, 2011
Hello friends !! Want to insert data into remote server. Here you are at right place. Just follow these simple steps.     1. Make ftp co...Read More
Insert data into remote server database Insert data into remote server database Reviewed by Altaf Hussain on June 16, 2011 Rating: 5

Upload files to remote server

Altaf Hussain June 15, 2011
To upload files on remote server php built-in function ftp_put() is used. Just follow these simple steps. 1. Make ftp connection with r...Read More
Upload files to remote server Upload files to remote server Reviewed by Altaf Hussain on June 15, 2011 Rating: 5

Url Rewriting with .htaccess file

Altaf Hussain June 13, 2011
Now, Its time to clean up our url. It is very important to have keywords in the url so that search engines can tackle them easily. Further...Read More
Url Rewriting with .htaccess file Url Rewriting with .htaccess file Reviewed by Altaf Hussain on June 13, 2011 Rating: 5

Add hit counter to your website

Altaf Hussain May 02, 2011
Hello friends. To add a hit counter on your website or webpage visit one of the following links. http://www.website-hit-counters.com/ ...Read More
Add hit counter to your website Add hit counter to your website Reviewed by Altaf Hussain on May 02, 2011 Rating: 5

Add favicon to your website

Altaf Hussain April 30, 2011
Favicon is a small icon basically of 16x16 pixels displayed on your browser's address bar. It is the acronym for Fav ourite icon . Add...Read More
Add favicon to your website Add favicon to your website Reviewed by Altaf Hussain on April 30, 2011 Rating: 5

Check uncheck all checkboxes javascript

Altaf Hussain April 29, 2011
Hi friends. To check or uncheck form check boxes, use this javascript function. Its jQuery version is available in another article named ...Read More
Check uncheck all checkboxes javascript Check uncheck all checkboxes javascript Reviewed by Altaf Hussain on April 29, 2011 Rating: 5

Remove empty elements from php array

Altaf Hussain April 28, 2011
Want to get rid of empty elements from an array. Use this function. Just pass the array to the function. It will return resultant array wi...Read More
Remove empty elements from php array Remove empty elements from php array Reviewed by Altaf Hussain on April 28, 2011 Rating: 5

Remove special characters from php string

Altaf Hussain April 28, 2011
Hello friends. At some point we need to filter our strings and remove some unwanted characters from the string for some purpose. It is qui...Read More
Remove special characters from php string Remove special characters from php string Reviewed by Altaf Hussain on April 28, 2011 Rating: 5

Get filename from url in php

Altaf Hussain April 25, 2011
Hello Friends. To get filename from the url use this function. function get_filename(){ $php_self = $_SERVER['PHP_SELF']; ...Read More
Get filename from url in php Get filename from url in php Reviewed by Altaf Hussain on April 25, 2011 Rating: 5
How to add google translator to your website How to add google translator to your website Reviewed by Altaf Hussain on April 18, 2011 Rating: 5

List/database of countries for phpmysql

Altaf Hussain February 17, 2011
Hello friends !! Here is the list of countries for phpmysql database. Just copy the given code and paste it or import this file. Thats all...Read More
List/database of countries for phpmysql List/database of countries for phpmysql Reviewed by Altaf Hussain on February 17, 2011 Rating: 5

Display limited characters from text

Altaf Hussain February 09, 2011
Hi friends !! It is the function to display limited characters from a string without cutting the last word. If we use only substr the last...Read More
Display limited characters from text Display limited characters from text Reviewed by Altaf Hussain on February 09, 2011 Rating: 5

How to setup a cronjob in your cPanel

Altaf Hussain January 22, 2011
A cronjob is a command or task which is to be executed automatically at a certain time. Cronjob is a very useful tool when you want to run...Read More
How to setup a cronjob in your cPanel How to setup a cronjob in your cPanel Reviewed by Altaf Hussain on January 22, 2011 Rating: 5

Download a file from php-mysql database

Altaf Hussain January 10, 2011
To download a file stored in php-mysql database first of all we have to read the filename and check the filetype. Further we have to set t...Read More
Download a file from php-mysql database Download a file from php-mysql database Reviewed by Altaf Hussain on January 10, 2011 Rating: 5
Altaf Web. Powered by Blogger.