Category: php
My initial VPS (Virtual Private Server) only had 512M RAM, 1 core and 10G HDD. Later I upgraded to 2 cores, 1G RAM and 20G HDD because of an …
I sometimes need to copy the posts to somewhere for easy sharing purpose and at the end of the post, I will point out the URL for the original …
In ASP, the code is wrapped with <% … %> to distinguish from HTML code. The code is executed dynamically at server side before sending pure HTML to the …
Almost every wordpress theme has a footer.php file that contains the layout for the page footer. You can insert the following PHP+MySQL code to display some statistics of the …
You must have seen websites ask for re-login if you have been idle for too long. For example, most online banking system will set an inactive time limit. This …