Month: August 2012
In this tutorial, we’ll learn how to get current web page url from your web browser address bar using PHP script Syntax We use variable…
PHP: Convert Hex Color to RGB, RGB to Hex Color
Example 1: result: Array ( [red] => 0 [green] => 255 [blue] => 103 ) Example 2: result: 0,255,103 Example 3: result: 34,255,102 Example 4:…
CSS Login Form Designs
Create a Slick CSS3 Login Form NO IMAGES ALLOWED DEMO: HERE Source: Sleek & Modern Login Form DEMO: HERE DOWNLOAD SOURCE Form Design Using CSS…
Function str_ireplace in PHP4
According to the document of PHP official website, http://php.net/str_ireplace str_ireplace (PHP 5) str_ireplace — Case-insensitive version of str_replace(). So, it’s only for PHP5+. In PHP4,…
Function stripos in PHP4
According to the document of PHP official website, http://php.net/stripos stripos (PHP 5) stripos — Find the position of the first occurrence of a case-insensitive substring…
Function http_build_query in PHP4
According to the document of PHP official website, http://php.net/http_build_query http_build_query (PHP 5) http_build_query — Generate URL-encoded query string So, it’s only for PHP5+. In PHP4,…
PHP: function mb_str_split
mbstring provides multibyte specific string functions that help you deal with multibyte encodings in PHP. In addition to that, mbstring handles character encoding conversion between the possible encoding pairs. mbstring is designed to handle Unicode-based encodings such as UTF-8 and UCS-2 and many single-byte encodings for convenience. Read more about PHP: function mb_str_split …
PHP Generate Random ID’s
First: creat func.php file Usage: Result: dd2djhiwgdpgzn9 n5ktlbi4roi6zhy …. Alternative method, very short:
Function str_split in PHP4
According to the document of PHP official website, http://php.net/manual/en/function.str-split.php
str_split
(PHP 5) str_split — Convert a string to an array
Introduction to HTML5 and CSS3
The site of the world is entering a new technology and new standards. So they started developing HTML5 and CSS3.I will briefly describe HTML5. Read more about Introduction to HTML5 and CSS3 …