Last day I had tried a lot of methods to retrieve lines from a text file. In some methods, I …
Page: PHP
Zend Developer Cloud
Zend Developer Cloud, as its name suggests, a cloud-based environment designed to help you code more quickly and more efficiently. …
PHP: extract and compact functions
I was looking for a shortcut to easy up my variable declaration in PHP coding, the extract and compact functions …
PHP: parse_ini_file and parse_ini_string
If you are thinking about to play with configuration files for your site’s settings, then in php you can easily …
Zend Framework on shared hosting
Here is some tips and tricks to use Zend Framework on shared hosting.
Compress and Decompress Using Zend Library (Zip, Rar, Bz2, Gz, Lzf, Tar)
Zend Framework 1.10 allows you to perform files/folder compression and decompression, all types of compression methods are available. These features …
Common methods for indicating important comments
Some common methods for indicating important comments are TODO, BUG, KLUDGE and TRICKY. You can try this in any language, …
Syntax highlighting of a file using php highlight_file function
Prints out or returns a syntax highlighted version of the code contained in filename using the colors …
The Core of PHP
Recently I had some study about the PHP. It is my favorite language from C. I really want to …
Desktop application development with PHP and Qt!!!
Qt have the language binding option so we can bind PHP also, in PHP 5 the OOP’s concept make it …
Total number of Built-in functions in php
There are total 57021 build-in function in php. You can find all the function here http://php.net/quickref.php
PHP func_get_args()
Returns an array of the function’s argument list in other words It returns an array in which each element is …
PHP Object Cloning
Creating a copy of an object with fully replicated properties is not always the wanted behavior. Example …
What are the differences in die() and exit() in PHP?
Ooops!!! there is no difference in die() and exit(). die() is equivalent to exit and vice versa. But why these …
Difference between htmlentities() and htmlspecialchars()
htmlspecialchars only takes care of <, >, single quote ‘, double quote ” and ampersand. htmlentities translates all occurrences of …
Difference between echo, print and printf
echo is the most primitive of them, and just outputs the contents following the construct to the screen. print …
