hifi and lofi in same indexpage

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • hifi and lofi in same indexpage

    hi guys ive came up with a way to have a hifi version and lofi version of your site with out having a sub domain with a copy of everything

    this is simple and self explaining

    PHP Code:
         $site = ($_GET["site"]);
         if(
    $site=="lofi"){
     echo 
    "<a href=\"index.php\">Hifi Version</a><br/>";
    }else{
     echo 
    "<a href=\"index.php?site=lofi\">Lofi Version</a><br/>";

    try it and see how it works
    it was an idea to save on server space
Working...
X