Getting file information with PHP

we can read a file’s metadata for example, permissions and ownership with PHP’s stat() function, Which returns information about a file in a array format. stat() returns associative array with information about […]

PHP FilterIterator Example

This abstract iterator filters out unwanted values. This class should be extended to implement custom iterator filters. The FilterIterator::accept() must be implemented in the subclass.


JavaScript – encodeURI() vs encodeURIComponent()

The purpose of the tutorial is to show you the differences between encodeURI() and encodeURIComponent() functions. encodeURIComponent() This method will encode the given string , and if you pass the encoded string to decodeURIComponent(), […] Protection Status