Suppose you have a comma separated string which you want to convert into an array for any purpose. How will you do that? Here in this tutorial, I am going to give you the simple co.... Read More
The include and require statements in PHP used to take all the file content in a specific file and copy it in the file that uses the PHP include and requires statements. These functions can take text code or markup and include it in that file. The main purpose of using PHP include and require statement is […] Read More
This is the old version of the weather forecast PHP script. Here is the new version of the weather forecast script that works on AJAX. In this post, I am going to review a weather .... Read More
PHP has two inbuilt function urlencode() and urldecode() which can be used for encoding and be decoding a string. This two function can send a query and to get query through URL. P.... Read More
I have already shown in one of my posts how to replace a character of a string using the PHP str_replace() function. Here is the post – Replace A Character Of String Using P.... Read More
In this post, I am going to discuss a thing which may be interesting to you. Suppose you have a text block which represents as a string in PHP and you want to replace a particular.... Read More
Redirecting URL in PHP is very useful. In many purposes, developers need to redirect a page to a URL. Redirecting page into a specific URL is very easy and simple task. You just ne.... Read More
md5() is one of the inbuilt function of PHP that is available from PHP 4. The md5() function can easily calculate the MD5 hash of a string. This PHP function uses the RSA Data Se.... Read More