Grass Island Beach

Posted on: 08/11/2024
26796 views, 0 comments

The salt fields around the international tourist port will be rapidly developed to serve the tourism sector after the port opens. This natural salt production area now plays a new, more important role in attracting tourists. 

In fact, in recent months, the salt fields east of the city, known as Koh Smao, has been attracting more and more tourists, as it has just created more than two kilometers of beaches. Along the mouth of the Kampot canal, accompanied by rows of sesame trees, it is worth noting, especially the delicious food stalls on the streets in the area. 

Do you know Angkor Wat

Posted on: 31/10/2024
25384 views, 0 comments

Angkor Wat is an enormous Buddhist temple complex located in northern Cambodia. It is the largest religious monument in the world and a bucket list attraction for many adventurers.

10 reasons to visit Cambodia now

Posted on: 24/10/2024
29480 views, 0 comments

Naturally, Angkor Wat and the accompanying temple ruins must be revered when visiting Cambodia. A world marvel, the 900-year-old temple is the biggest religious edifice on Earth, yet the nation is much more than its most famous landmark.

Travelers find Cambodia's present and future to be equally alluring as its historic past, especially with the advent of new luxury experiences and places, as evidenced by the Angkor ruins.

Regardless of your preferred mode of transportation, this intriguing country offers a multitude of experiences and destinations. You can take a helicopter to the former Khmer capital of Koh Ker, explore the current capital of Phnom Penh, ride a vintage motorbike sidecar past ancient ruins, or simply relax on tropical white sand beaches.

Here’s why you need to travel to Cambodia!

Read Text File using PHP

Posted on: 25/08/2022
163987 views, 0 comments

Although we have database to work with data, with some circumstances we still need to work directly with files, especially text files. Here in this tutorial, you will know how to read a text file using PHP with a few different functions including fgets()file(), and file_get_contents().

Print Specific DIV Content Using jQuery

Posted on: 30/11/2016
153635 views, 0 comments

Most websites nowadays may need print function for its content like article, report, table, invoice, and other printable contents. With web browser, we can also just simply press the key “Ctrl + p” to have any page printed. The problem is that, using that direct keyboard print keys are printing the whole page including the unwanted areas that normal look really bad or have problem with web layout leading the messy look on the printed document. What if we can print a specific area of your website! What if we want to print only a div content, not anything else!

This tutorial is going to tell you an effective trick to deal with this issue. You may just need to identify a specific DIV to be printed once we click the “Print” button. Please follow this tutorial carefully, we will show you all the things to have it worked.

Facebook New Feed Animating Pre-loader

Posted on: 30/11/2014
150979 views, 0 comments

Pre-loading technique is very convenient for users when the system needs some times to retrieve data from the server. It makes the user understand that the server is still busy or need some times to get the data. The technique is commonly used with Ajax request dealing with database to load new data and to refresh a specific content or block. In this tutorial, we will share about the pre-loading technique used by Facebook web application. When we talk about Facebook, you will notice about something we usually see when scrolling down the page and when we refresh its page. Its new feed/content loads using a pre-loading technique to inform its users that the feeds or text content is still loading and wait until it finish its loading. Some of you may also think Facebook may use image with GIF type for displaying that animated pre-loader. In fact, that’s not! There is a trick you should know because it’s very nice and easy. Let’s see how to make it works without GIF image!

PHP and Ajax Online User for Admin System

Posted on: 31/08/2014
161670 views, 0 comments

Admin Panel or Back-end site is used to manage and monitor the client or front-end side of the web system. Online user system is very useful to monitor the users to know who is being online, what page they are in, how long have they been online, and so on. With this function, the administrators will be able to monitor the activities of their users by just check the use online status. This feature is very important and necessary for advanced web system like Online Trading System, Online Market System, Online Game System, and other online systems. This feature is generally used with Risk Management System of the CRM of the advanced online web system to monitor the users’ activities.

PHP Facebook Time Ago Display

Posted on: 25/07/2014
150835 views, 0 comments

It is a good idea to show your visitor the exact comment, post, chat, message, etc. about it dates, especially exactly how low they are untill current time. Showing such this detail date information, your website will be more professional and attractive regarding to this clear and accurate date information.

You may have much experiences with facebook social network where date time ago is very common and attractive. This function will calculate the datetime passed by display the accurate date and time passed with short description text (ex. just now, a few seconds ago, 10 seconds ago, 1 minute ago, 1 hour ago, 1 day ago, etc.).

You can also change the text label to be displayed directly in the function and add some more condition as your need. The bellow instruction will show you the function script and assist you to use the function correctly.

Similar String Listing

Posted on: 20/07/2014
150285 views, 0 comments

This tutorial can hlep you to display the list of similar articles of the viewing one on your website. This is the important thing that all developers should know in order to standardize their websites which conain bunch of contents or articles. Actually, there are many ways to achieve this job; however, this tutoria is one among them.

PHP Encrypt and Decrypt Code

Posted on: 18/07/2014
161125 views, 0 comments
This PHP functions will help you to encrypt and decrypt your string to the complex code that no one can understand the original string.

For the security reason, this function should be used to encode your secret data to the unreadable string. However, we might know the MD5 or SHA which is the popular PHP built-in encrypting function and cannot be decrypted in the previous time. Now, MD5 is already cracked down with some online website or library that can do that job well.

Now, we introduce you the hand-made functions that is reliable and secured enough to work with your project. So, now let's see how it works.