Linux Set Date and Time From a Shell Command Prompt

Q. The time on my server set back 1 hour and all my cron jobs are running 1 hour off. How can I set the server date and time from the shell command prompt? I can only login over ssh session using Putty. Please advice? A. You will use date command to display the current date and time or set the system date / time over ssh session. This is useful if the Linux server date and/or time is wrong, you need to set it…

Continue reading »

An easy way to build data Session for a form

You wonder how data of each field on a form can be refilled after you submit a page. This post will show you how to build an array of sessions that capture the input data of a user after they submit a form. If an anonymous arrive on your web form from the street, there’s no session until they enter some values and hit Submit button to process the form. First, you have to have a form to collect data on your website. When customer submit the…

Continue reading »

Let’s draw a shape to replace pushpin on Virtual Earth Map.

Let me show you how to draw a shape to replace pushpin on Virtual Earth Map. If you develop a map for marketing/sales analysis by using geo codes and place pin points on a map, you may consider to use your customized points. First, it will represent your business professionally. Second, you can define the size you desire. Let’s draw together a shape of a blue ball for example. Open Adobe Photoshop software, you can use any size and any shape such as rectangle or square.…

Continue reading »