Difference between CURLOPT_CONNECTTIMEOUT and CURLOPT_TIMEOUT Difference between CURLOPT_CONNECTTIMEOUT and CURLOPT_TIMEOUT Reviewed by JS Pixels on December 15, 2012 Rating: 5

Simple css dropdown menu

JS Pixels October 19, 2012
Create a simple and smooth css dropdown menu with pure css. No javascript required at all. The output of the given code is... The Cs...Read More
Simple css dropdown menu Simple css dropdown menu Reviewed by JS Pixels on October 19, 2012 Rating: 5
Count all HTML tags of a webpage in php Count all HTML tags of a webpage in php Reviewed by JS Pixels on October 18, 2012 Rating: 5
Get address from Latitude and Longitude Coordinates in php Get address from Latitude and Longitude Coordinates in php Reviewed by JS Pixels on September 26, 2012 Rating: 5
Get Latitude and Longitude from address in php Get Latitude and Longitude from address in php Reviewed by JS Pixels on September 26, 2012 Rating: 5

Add Google Map to your website

JS Pixels September 19, 2012
Adding maps to your site is quite easy with Google Maps Api V3. Before you proceed with the working with Google Map Api you need an API ...Read More
Add Google Map to your website Add Google Map to your website Reviewed by JS Pixels on September 19, 2012 Rating: 5

Sort a multidimensional array in php

JS Pixels September 19, 2012
Use this code to sort a multidimensional array. You need the array and the element position on which the array has to be sorted. Suppose...Read More
Sort a multidimensional array in php Sort a multidimensional array in php Reviewed by JS Pixels on September 19, 2012 Rating: 5
Remove duplicates from multidimensional array Remove duplicates from multidimensional array Reviewed by JS Pixels on July 14, 2012 Rating: 5

Create a JSON string from mysql database

JS Pixels July 13, 2012
JSON stands for JavaScript Object Notation which is basically a data-interchange format. JSON is used where we want to send data as an obj...Read More
Create a JSON string from mysql database Create a JSON string from mysql database Reviewed by JS Pixels on July 13, 2012 Rating: 5
Get full url from address bar in php Get full url from address bar in php Reviewed by JS Pixels on July 10, 2012 Rating: 5

Using proxies with cURL in php

JS Pixels June 30, 2012
If you are new to cURL you may want to refer to the PHP cURL tutorial. It covers the basic working of cURL. Sometimes we have to use pr...Read More
Using proxies with cURL in php Using proxies with cURL in php Reviewed by JS Pixels on June 30, 2012 Rating: 5
Extract all meta tags from a webpage in php Extract all meta tags from a webpage in php Reviewed by JS Pixels on May 25, 2012 Rating: 5

Submit a form post with curl in php

JS Pixels May 25, 2012
In previous post we covered The working of curl in php . As we saw that cURL is very powerful and can be used to submit an HTML form with ...Read More
Submit a form post with curl in php Submit a form post with curl in php Reviewed by JS Pixels on May 25, 2012 Rating: 5

Get HTTP headers of any site using curl

JS Pixels April 29, 2012
Get all HTTP headers of any website with Curl. It is very simple as curl is a very powerful library of php. Look at the given code. If y...Read More
Get HTTP headers of any site using curl Get HTTP headers of any site using curl Reviewed by JS Pixels on April 29, 2012 Rating: 5

Get favicon of any website

JS Pixels April 19, 2012
It is quite easy to get favicon of any site using google. Look at the code http://www.google.com/s2/favicons?domain=example.com ...Read More
Get favicon of any website Get favicon of any website Reviewed by JS Pixels on April 19, 2012 Rating: 5

Calculate time like 1 sec ago in php

JS Pixels April 15, 2012
Hi, Calculate timestamp in php like 1 sec ago, 2 minutes ago, 3 days ago, 4 weeks ago, 5 months ago, 6 years ago and so on. Use this simpl...Read More
Calculate time like 1 sec ago in php Calculate time like 1 sec ago in php Reviewed by JS Pixels on April 15, 2012 Rating: 5

Remove extra spaces from string in php

JS Pixels April 11, 2012
There are times when we have strings with adjacent spaces in between. And we want to remove these unwanted spaces and the trim() function ...Read More
Remove extra spaces from string in php Remove extra spaces from string in php Reviewed by JS Pixels on April 11, 2012 Rating: 5
Write text in center of an image with GD Library Write text in center of an image with GD Library Reviewed by JS Pixels on April 10, 2012 Rating: 5

Create a simple Captcha in php

JS Pixels April 07, 2012
If you know how to create images in php . Its very easy for you to create captcha. Just create an image and write some text on it. Your ca...Read More
Create a simple Captcha in php Create a simple Captcha in php Reviewed by JS Pixels on April 07, 2012 Rating: 5

Create images in php with GD Library

JS Pixels March 26, 2012
Php gives us one more powerful library known as GD Library to work with images. We can create dynamic images, write text on images and so ...Read More
Create images in php with GD Library Create images in php with GD Library Reviewed by JS Pixels on March 26, 2012 Rating: 5

Search array values in string in php

JS Pixels March 22, 2012
If we have to search an array values in string two possible situations arise. 1. The string contains all array values. 2. The string co...Read More
Search array values in string in php Search array values in string in php Reviewed by JS Pixels on March 22, 2012 Rating: 5

HTTP status codes and its meaning

JS Pixels March 22, 2012
HTTP status codes are the codes that the Web server uses to communicate with the Web browser or user agent. Here is a list of HTTP statu...Read More
HTTP status codes and its meaning HTTP status codes and its meaning Reviewed by JS Pixels on March 22, 2012 Rating: 5

Send simple and html email in php

JS Pixels March 08, 2012
Sending emails in php is quite easy. Use php function mail() to send an email. At a minimum, mail() requires three arguments. (1) A str...Read More
Send simple and html email in php Send simple and html email in php Reviewed by JS Pixels on March 08, 2012 Rating: 5

Convert 1000 to K format in php

JS Pixels February 28, 2012
There are times when we need to display our currency in K, M and B format. As our currency becomes to long to manage. Here is a little ...Read More
Convert 1000 to K format in php Convert 1000 to K format in php Reviewed by JS Pixels on February 28, 2012 Rating: 5

Get text between two strings in php

JS Pixels February 26, 2012
A little but useful function to get text between two specified strings. It takes three parameters. The source, start and end. And return...Read More
Get text between two strings in php Get text between two strings in php Reviewed by JS Pixels on February 26, 2012 Rating: 5
Get date difference between two dates in php Get date difference between two dates in php Reviewed by JS Pixels on February 24, 2012 Rating: 5

Working with cURL in php

JS Pixels February 22, 2012
cURL is a very powerful library of PHP, also known as client URL (cURL). It allows us to connect and communicate to many different types...Read More
Working with cURL in php Working with cURL in php Reviewed by JS Pixels on February 22, 2012 Rating: 5

Highlight searched keywords in php

JS Pixels January 16, 2012
A simple function to highlight the search keyword in the text. It first searches the keywords in the text and applies a css class to it. ...Read More
Highlight searched keywords in php Highlight searched keywords in php Reviewed by JS Pixels on January 16, 2012 Rating: 5

Validation with regular expression

JS Pixels January 10, 2012
Validation becomes very important part when we take inputs from user and we need valid and correct values to work on. Here are little piec...Read More
Validation with regular expression Validation with regular expression Reviewed by JS Pixels on January 10, 2012 Rating: 5

Using full-text search in php mysql

JS Pixels January 10, 2012
Want to search the text stored in MySQL database. Here php full-text search works for us. So first the question is, What is full-text sear...Read More
Using full-text search in php mysql Using full-text search in php mysql Reviewed by JS Pixels on January 10, 2012 Rating: 5

Convert strings into slugs in php

JS Pixels January 02, 2012
While working with php, at some point we need to convert our strings into slugs for seo friendly urls or some other purpose. And our strin...Read More
Convert strings into slugs in php Convert strings into slugs in php Reviewed by JS Pixels on January 02, 2012 Rating: 5
Altaf Web. Powered by Blogger.