PHP code example of afsharsafavi / firewall_cidr
1. Go to this page and download the library: Download afsharsafavi/firewall_cidr library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
afsharsafavi / firewall_cidr example snippets
bash
apt update && apt upgrade -y
add-apt-repository ppa:ondrej/php
apt update
apt install php8.2 php8.2-curl
bash
cd Firewall_CIDR
php src/Examples/example1.php