SHARE
TWEET

Untitled

a guest May 30th, 2013 1,120 Never
  1. switch($_SERVER['SERVER_ADDR']){
  2.     case '192.168.130.171':
  3.         echo '<h1>TPS Alpha</h1>';
  4.         break;
  5.    
  6.     case '192.168.130.172':
  7.         echo '<h1>TPS Beta</h1>';
  8.         break;
  9. }
RAW Paste Data
Top