PHP Tutorial: How to Check Date is Today Date
Use the following code to check a date whether it is today date.
Use the following code to check a date whether it is today date.
Many server owners don’t know how to install SSL to all daemons, especially to Exim4 and dovecot. Now there is a new way that is built-in Vesta Pre-required step: your server hostname must be full host address that is already pointing to IP of your server.Check /etc/hostname to see what is your hostname. If it’s…
Let’s Encrypt is popular free SSL service. My VPS which is using Virtualmin was unable to use Let’s Encrypt and throw an error “ACME v1 disabled”. To fix this problem, execute the following line in terminal: After that, complete the register with a valid e-mail address and try to request new Let’s Encrypt certificate via…
Use the following format code to make custom action button in Gridview:
Using a tool called iftop we can monitor bandwidth usage via command line on Linux. But here we will create our own shell script to monitor bandwidth usage. The idea is to read rx_bytes and tx_bytes files inside /sys/class/net/[interface]/statistics/ folder. Create netspeed script in /usr/local/bin/ and copy and paste below script. Script content: Exit nano…
We need Windows 7 installer on USB thumbrive for laptop which doesn’t have DVD Drive. Below are steps on how to create Windows 7 installer on USB Thumbdrive. 1. Prepare a USB Thumbdrive with minimum 8GB size and a Windows 7 DVD installer. 2. Plug the thumbdrive and insert Windows 7 DVD into tray. 3….
Function the_excerpt() can be used to show summary of article or post in WordPress. As default, the excerpt length is set to 55 words. We can control this length by adding few lines code in functions.php file inside theme folder. Below is the codes to change excerpt length in WordPress. Open File Manager and open…
For you who are new in using Blogspot and do not know how to install Google Analytics code on your Blogspot website, here is the tutorial how to do it. Actually, install Google Analytics code can be done by copy and paste the javascript code into HTML/Javascript Gadget. But don’t you know that Blogspot already…
The following tutorial can be used as dictionary for beginner on SQL syntax. SQL syntaxes are used to manipulate data which are select, insert, update, and delete on database. 1. Select Select command is used to get rows of data from table. Syntax: Example: 2. Insert Insert command is used to insert row to table….
On Linux operating system, we can use command top to show system statistic, running processes, and uptime. How can we do it on Windows environment? Using Windows operating system, the similar to top command is net statistics server. Execute this command in command prompt will show summary of Windows system statistic including when the system…