Monday, June 26, 2017

How to keep your WordPress secure

Hi guys, I will try to give you some of the best and easiest advice to keep your site off malware and viruses. So what can you do to protect your website? ...

Calculate Age of somebody in PHP

If you wish a function to calculate age of a person/car or whatever you want you have come to the right place. The following function will calculate age from a specific...

Fixed announce bar in HTML and CSS

Do you wish to show a fix message bar? Here is a super easy tutorial to show a fixed message bar at the bottom of the page in order to display an announcement,...

Get time formatted day-month-year in php – PHP snippet

If you wish to format a date into a different format in PHP is very simple. All you need to do is look bellow. You can use the strtotime function to...

WordPress 4.5.2 – update now to the latest version

Wordpress has release a security patch for their php script. It is important to update to the latest version. Why? WordPress versions 4.5.1 and earlier are affected by a SOME vulnerability through...

Get the Week Number From A Date in PHP

When you code maybe you find difficult to get the week number from a date. Maybe you think of some particular dates and how will you get an algorithm ready for...

Get current time formatted day/month/year in php – PHP snippet

If you wish to format the current date in format day/month/year just copy the function bellow and use it where you want. function nogettime(){ return date('d/m/Y', time()); // this display the...

Twitter Style “Time Ago” Dates on PHP

The following function will show the time like Twitter with that info ago, like 9 hours ago: function _agotime($tm,$rcs = 0) { $cur_tm = time(); $dif = $cur_tm-$tm; ...

Countdown To A Date in PHP

If you wish a script in PHP that will countdown the time you can use the following code: $dtt_end = new DateTime('January 3, 2030 2:00 PM'); // the date to count down $remain...

Check yours site errors with this tools

Today i am going to show you 5 tools that would help you to check errors on your website.   Running a website is not an easy task, and there’s many aspects...