Go Back   Runner > Coding Corner > Php

Php PHP is a general-purpose scripting language especially suited to web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-16-2021, 02:38 PM
Runner's Avatar
Runner Runner is offline
Administrator
 
Join Date: Nov 2020
Location: Moose Jaw
Posts: 240
Send a message via Skype™ to Runner
Default Php_firewall

Upload php firewall to your root of site server etc



Add this into your index.php

Code:
define('PHP_FIREWALL_REQUEST_URI', strip_tags( $_SERVER['REQUEST_URI'] ) );
define('PHP_FIREWALL_ACTIVATION', true );
if ( is_file( @dirname(__FILE__).'/php-firewall/firewall.php' ) )
    include_once( @dirname(__FILE__).'/php-firewall/firewall.php' );


//Deactive PHP Firewall
define('PHP_FIREWALL_ACTIVATION', false);
Attached Files
File Type: zip php-firewall.zip (8.6 KB, 4 views)
Reply With Quote
  #2  
Old 02-21-2021, 04:44 PM
Spoonman Spoonman is offline
Junior Member
 
Join Date: Feb 2021
Posts: 2
Default

What does PHP firewall do?
Reply With Quote
  #3  
Old 02-21-2021, 05:21 PM
Runner's Avatar
Runner Runner is offline
Administrator
 
Join Date: Nov 2020
Location: Moose Jaw
Posts: 240
Send a message via Skype™ to Runner
Default

Quote:
Originally Posted by Spoonman View Post
What does PHP firewall do?
i use it in my sentora panel extra security
Reply With Quote
  #4  
Old 02-21-2021, 08:25 PM
Spoonman Spoonman is offline
Junior Member
 
Join Date: Feb 2021
Posts: 2
Thumbs up

Quote:
Originally Posted by Runner View Post
i use it in my sentora panel extra security
Nice i us shieldon.io

I noticed the script writer website has been hacked.

Last edited by Spoonman; 02-21-2021 at 08:29 PM.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:22 AM.


Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright ©2020 - 2021, Runner
Ad Management plugin by RedTyger