Securing Your Apache Web Server from attack using ModSecurity
ModSecurity, also known as Modsec, is a free and open-source web application firewall for Apache webserver. ModSecurity is an Apache module that helps you to protect your web server from…
How to Install Odoo 13 on Ubuntu 18.04
Follow the below steps to install Odoo 13 on Ubuntu 18.04 Here is the step by step description to install Odoo into ubuntu, use the commands available in these steps to configure…
Linux 將 BIG5 文字檔轉成 UTF-8 格式 – Nothing but..
自從日常的桌面環境從 Windows 轉到 Linux 後,時常會發現原本的文字檔在 terminal 裡變成亂碼,這是因為以前使用 Windows 沒有養成把檔案存成 unicode 的習慣,因此下面就來說明如何將大量的 BIG5 文字檔轉成 UTF-8 格式的文字檔 將 BIG5 文字檔批次轉成 UTF-8 格式 首先檢查資料夾底下的文字檔格式 file *.txt Bash Copy # 執行結果: a.txt: UTF-8 Unicode…
Image Upload | PHP – Froala
PHP Image Upload The following code example illustrates how to handle image upload on your server using PHP as a server-side language. For step by step explanation of the upload…
How to Add Watermark in Image using PHP | Webslesson
Source Code index.php <?php //index.php $connect = new PDO("mysql:host=localhost;dbname=testing", "root", ""); $message = ''; if(isset($_POST["upload"])) { if(!empty($_FILES["select_image"]["name"])) { $extension = pathinfo($_FILES["select_image"]["name"],PATHINFO_EXTENSION); $allow_extension = array('jpg','png','jpeg'); $file_name = uniqid() . '.' .…
How to Configure ModSecurity on Apache | Linode
Introduction ModSecurity is a web application firewall for the Apache web server. In addition to providing logging capabilities, ModSecurity can monitor HTTP traffic in real time in order to detect…
Magento 2 Multi Website/Store/Store Views Setup
I have migrated a Magento 1 shop to Magento 2. All is working as expected except for the multi website setup. My original M1 installation consisted of 1 website with…
Mass emailer for database marketing
This project is started in 2000 when the new venture established with partner and promoted the newly designed web-based system to local small and medium sized enterprises. The system has…
How to Write Unit Test in Magento 2 (Part 1) – Magento 2 Tutorial
Source: How to Write Unit Test in Magento 2 (Part 1) – Magento 2 Tutorial