Warning: include(.../cache/template/template63867.php): failed to open stream: No such file or directory in /home/codingta/public_html/includes/vb5/template.php on line 328 Warning: include(): Failed opening '.../cache/template/template63867.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/codingta/public_html/includes/vb5/template.php on line 328 hifi and lofi in same indexpage - Coding-Talk

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