Simple Site Switch (On/Off) PHP script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name:
  • Last update:
  • Platform: Windows / Linux / BSD
  • Language: PHP
  • Price:GPL
  • Company: snippet (View more)

Simple Site Switch (On/Off) script description:




Publisher review:
Simple Site Switch (On/Off) will display a custom message if a variable is set to Off or display your HTML code if it's set to On. This really simple bit of code will display a custom message if a variable is set to Off or display your HTML code if it's set to On./* status.php is simply a variable with On assigned as a default variable, you can change this to Off to make your site offline. Copy the code below and save it to status.php: $status = "On"; // Change to Off to make site offline ?> Before uploading this remove all the comments above */ include("/path/to/status.php"); // Include the file with the status if($status == 'Off') // If the status is Off then show this { echo "Site is currently offline"; } else { ?>

} ?>
Simple Site Switch (On/Off) is a PHP script for Snippets scripts design by snippet. It runs on following operating system: Windows / Linux / BSD.

Operating system:
Windows / Linux / BSD

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5