Convert date format

Written by Super User. Posted in Blog

You are trying to convert a date from yyyy-mm-dd to dd-mm-yyyy (but not in SQL); however you don't know how the date function requires a timestamp, and you can't get a timestamp from this string.
Bellow script is the best way for you:
< ?php
$source = '2011-07-21';
$date = new DateTime($source);
echo $date->format('d.m.Y'); // 21.07.2011
echo $date->format('d-m-Y'); // 21-07-2011
? >


Project Management

Written by Super User. Posted in Blog

With EasierTeamworks you will be always able to access up-to-date projects data: tracking progress, forthcoming deadlines, worklogs and costs will be much easier. EasierTeamworks is a project management solution that minimizes the effort of administrative tasks and lets you focus on what’s really important for your company to grow. EasierTeamworks makes your data easier to collect and tracking task progress will become easier too.

Complete Control

The Dashboard gives a quick over-view of all your projects. shows everything you need to know at a glance, keeping you up to date with recent activity on all projects.

  • Quick over view of recent activity.
  • Easy access to all your projects.
  • Clever, informative tabs.

Hide or show div by Javascript

Posted in Blog

Do you want to hide or show a div using javascript inside it?
You want to hide/show the div when i click on the close icon.
The bellow script will help you:
Example html:

<div id="yourid">
<a onclick="hide();">Hide</a>
<a onclick="show();">Show</a>

To hide this div:


Your web site was hacked – What do you do?

Posted in Blog

Please pass this along to anyone you know who has been hacked recently. I provide free email support as well, so if you find any of this confusing just email me, This email address is being protected from spambots. You need JavaScript enabled to view it.

“My website was hacked. How do I fix or repair it?”

1. Change all FTP passwords, email passwords and passwords for any administrative portion of your web site.

It is possible your password has been comprised or stolen from your computer. After changing your FTP password it is important that you do not save your password within your FTP software, web design software, or in email. In other words, write down your password on paper and do not save in your software (at least for the next couple of months).

- If possible use FTPS from now on (if possible).
- Set up SSL for any administrative pages on your web site.

A great percentage of hacked web sites are compromised due to clients not using encryption. And it is also possible your computer may have a virus which monitors keystrokes typed directly into your computer or sniffs passwords as they pass through your network or computer. Network sniffing can be avoided by using FTPS and will help prevent easy access to your passwords.

From our Forum

Please Log In

Only community members can participate in this forum. You must register or log in to contribute.