To illustrate text and graphics in a fixed-layout document, Adobe Systems invented PDF. When downloading information or material from a web application, PDF files are used. Downloading HTML or text content is made a lot easier with the PDF file format. To download the content of web pages as PDF files, HTML must be converted to PDF. This tutorial will show you how to use PHP to create PDF files and convert HTML to PDF.
Dompdf is a PHP package that makes it simple to convert HTML files to PDF files. The Dompdf package makes it simple to generate PDF files in PHP from HTML sites. You can incorporate PDF creation capability into your web application by using the example code provided. Additionally, it makes HTML conversion simple.
You usually get Exchange Rate data from other website through Bank or third party API call, so what you can do to get the same thing without API. As you know, exchange rate is very important for all online POS system and other sale web applications. It must be easy if you are given the ready-to-use API from any exchange rate data provider, but making your own data extraction from the exchange rate website is very hard and not reliable. However, here you will be given the best reliable choice to get exchange rate data from any bank or third party websites. Below is the custom PHP script allowing you to get exchange rate data from Cambodia ACLEDA Bank for Khmer Riel currency.
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!
As most of us have experienced with Facebook, a today-very-popular social network in the world, uses the very user-friendly and most practical features for their social network web system. This tutorial will take a feature, load more data on scroll, which allow users to be able to see more data by just scrolling down. Most of web systems use this feature to display the huge data content or data list with the specific amount of data per scrolling. Doing this will help their website system load data smoothly avoiding of load all data at the first page load.
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.
It's very important to secure your login system which can be attacked by various attacking methode. SQL Injection is the common attacking methode that is used to gain the login authetication of the login system.
One of the most common SQL Injection look like this:
' or '1'='1' --
It's very unsecured to use the simple login verification methode to login in your system while currently most online web login system use the more secured way of login.
This tutorial will help to secure your login sytem by just implementing the mysqli_prepare to your login function.