This tutorial is on how to install Freeradius and connect it to MariaDB. It also covers setting Billing System and creating virtual server with multiple databases each per customer and with own ports.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * PHPMailer - PHP email creation and transport class. | |
| * PHP Version 5.5. | |
| * | |
| * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project | |
| * | |
| * @author Marcus Bointon (Synchro/coolbru) <[email protected]> | |
| * @author Jim Jagielski (jimjag) <[email protected]> | |
| * @author Andy Prevost (codeworxtech) <[email protected]> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for img in *.png; do | |
| width=$(identify -format %W ${img}) | |
| width=$(( ${width} * 9 / 10 )) | |
| convert \ | |
| -background '#0008' \ | |
| -gravity center \ | |
| -fill white \ | |
| -size ${width}x100 \ |