How to Create, Read, Update and Delete Cookies with PHP or Javascript
http is a stateless protocol. A way to remember information from page to page is to use cookies. According to Wikipedia: A cookie, also known as an HTTP cookie, web…
http is a stateless protocol. A way to remember information from page to page is to use cookies. According to Wikipedia: A cookie, also known as an HTTP cookie, web…
Virtual disks (Virtualbox in our case) are very large files, that may change frequently. This is a big problem for backup. A little change (even a simple boot of virtual…
It is useful to prevent direct access of AJAX calls (from browser address bar). A solution could be the following simple function check_is_ajax(): /** * Check if request is an…
The term "localization" is used as a synonym of "internationalization", which is the most proper term. Sometimes, internationalization is shortened to "i18N" (meaning "i - eighteen letters -n"). gettext is…
Date manipulation is a common and extremely useful development task. It was never easy with PHP, until PHP5 and DateTime class. There are many cases you need to convert dates.…