I can not figure out how to synchronize my sync.php file, which should be located on the domain (site) of mysite.ru with my other project, which is located at sequrity.ru (for example). Actually the sync.php code itself:
<?php include "http://sequrity.ru/config.php"; include "http://sequrity.ru/modules/core.php"; //Checking if the visitor is in the Whitelist $wtable = $prefix . 'ip-whitelist'; $wquery = mysqli_query($connect, "SELECT ip FROM `$wtable` WHERE ip='$ip'"); $wrow = mysqli_num_rows($wquery); if ($wrow == "0") { //Ban System include "http://sequrity.ru/modules/ban-system.php"; //Checking if Project SECURITY is enabled $table = $prefix . 'settings'; $squery = mysqli_query($connect, "SELECT * FROM `$table`"); $srow = mysqli_fetch_assoc($squery); if ($srow['realtime_protection'] == "Yes") { include "http://sequrity.ru/modules/sqli-protection.php"; include "http://sequrity.ru/modules/massrequests-protection.php"; include "http://sequrity.ru/modules/spam-protection.php"; include "http://sequrity.ru/modules/content-protection.php"; include "http://sequrity.ru/modules/badbots-protection.php"; include "http://sequrity.ru/modules/fakebots-protection.php"; include "http://sequrity.ru/modules/headers-check.php"; include "http://sequrity.ru/modules/tor-detection.php"; } } include "http://sequrity.ru/modules/optimizations.php"; ?>