• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

NEED HELP!! joke but php help.

It's cookie-based. If you visit tibia.com and don't have the cookie, it redirects you to that page and writes a new cookie after which it won't redirect you there anymore. Is that what you wanted for your website?
 
index.php
Code:
<?php
if($_COOKIE['visited']) {
   header("Location: index_a.php"); 
} else { 
   setcookie("visited", true); 
   header("Location: index_u.php"); 
}
?>

index_u.php
Here put this "intro page".

index_a.php
Is renamed oryginal index.php :).
 
Try stealing the source?? It doesn't have to meet Gesior AAC standards.
PHP:
<html>
<head>
  <title>Tibia - Free Massively Multiplayer Online Role-Playing Game - MMORPG</title>
  <meta name="description" content="Tibia is a free massively multiplayer online role-playing game (MMORPG). Join this fascinating game that has thousands of fans from all over the world! - http://www.tibia.com" />
  <meta name="author" content="CipSoft GmbH" />
  <meta http-equiv="content-language" content="en" />
  <meta name="keywords" content="free online game, free multiplayer game, free online rpg, free mmorpg, mmorpg, mmog, mmo, online role playing game, online multiplayer game, internet game, online rpg, rpg" />
  <meta name="verify-v1" content="wEFHPlRoQn+5lWVcK9kyNJfrbNd78Z7dhATobg8WKMI=" />

  <link rel="shortcut icon" href="http://static.tibia.com/images/global/general/favicon.ico" type="image/x-icon">
  <link rel="icon" href="http://static.tibia.com/images/global/general/favicon.ico" type="image/x-icon">

  <link href="http://static.tibia.com/styles/landing.css" rel="stylesheet" type="text/css">
  <style type="text/css">
    * html #BoxBottomImage {
      f\ilter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://static.tibia.com/images/mmorpg/box.png', sizingMethod='scale');
    }
    div[id] #BoxBottomImage {
      background-image: url(http://static.tibia.com/images/mmorpg/box.png);
    }
  </style>

  <script type="text/javascript" >
    var IMAGES="http://static.tibia.com/images";
  </script>
  <script type="text/javascript" src="http://static.tibia.com/javascripts/landing.js"></script>

</head>
<body>
  <div id="ArtworkHelper" style="background-image:url(http://static.tibia.com/images/mmorpg/background-artwork.jpg);" >
    <div id="BodyContainer" >
      <div id="ContentRow" >
        <div id="ContentColumn" >
          <div id="Content" >
            <div id="BoxBottom" >
              <div id="BoxBottomImage" ></div>

              <div id="PlayersOnline" >
                <a id="LinkCommunity" href="http://www.tibia.com/community/?subtopic=whoisonline" ><img alt="free" src="http://static.tibia.com/images/mmorpg/link.gif" /></a>
                41795                <br/>Players Online
              </div>
              <a id="LinkGuide" onMouseOver="MouseOver('1', this);" onMouseOut="MouseOut(this);" href="http://www.tibia.com/gameguides/?subtopic=newcomer" ><img alt="multiplayer" src="http://static.tibia.com/images/mmorpg/link.gif" /></a>
              <a id="LinkNews" onMouseOver="MouseOver('2', this);" onMouseOut="MouseOut(this);" href="http://www.tibia.com/news/?subtopic=latestnews" ><img alt="online" class="QuickLinkImage" src="http://static.tibia.com/images/mmorpg/link.gif" /></a>
              <a id="LinkForum" onMouseOver="MouseOver('3', this);" onMouseOut="MouseOut(this);" href="http://forum.tibia.com/forum/?subtopic=worldboards" ><img alt="role playing" class="QuickLinkImage" src="http://static.tibia.com/images/mmorpg/link.gif" /></a>
              <a id="LinkLogin" onMouseOver="MouseOver('4', this);" onMouseOut="MouseOut(this);" href="https://secure.tibia.com/account/?subtopic=accountmanagement" ><img alt="game" class="QuickLinkImage" src="http://static.tibia.com/images/mmorpg/link.gif" /></a>
              <img alt="mmorpg" id="BoxBottomBeholderShield" src="http://static.tibia.com/images/mmorpg/beholder_shield.gif" />

              <div id="Text" >
                <h1>elcome to Tibia!</h1>
                <p>
                  Choose one of four vocations and join this fascinating <b>free multiplayer online game (MMORPG)</b>.<br/>
                  Take your time to explore the great world of this online role-playing game as it is free of charge as long as you want. Get your FREE ACCOUNT today!
                </p>
              </div>

            </div>
          </div>
        </div>
      </div>
    </div>
    <div id="Footer" >
      Copyright by CipSoft GmbH. All Rights reserved.<br/>
      <a href="http://www.tibia.com/abouttibia/?subtopic=aboutcipsoft">About CipSoft</a> | <a href="http://www.tibia.com/support/?subtopic=legaldocuments&amp;page=agreement">Service Agreement</a> | <a href="http://www.tibia.com/support/?subtopic=legaldocuments&amp;page=privacy">Privacy Policy</a>

    </div>
  </div>
  <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-1287546-1");
pageTracker._setDomainName("tibia.com");
pageTracker._initData();
pageTracker._trackPageview("/LandingPage1");
</script>
</body>
... and modify it to suit your needs.
 
Back
Top