• 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!

How to host Download Files on Xampp!

Trojoka

Member
Joined
May 9, 2009
Messages
305
Reaction score
9
Location
Germany
Hello i tell you: How to host Download Files on Xampp!

First you make a new Folder in your Xampp Htdocs folder!
And Name it:
Code:
download

Next you make the Client and the Ipchanger.rar in this Folder!

Next you go in the Layout Folder and go on the Layout.php

Now you Scroll down Line 169-177
and you see this:
Code:
if($config['site']['download_page'] == 1)
echo "<a href='?subtopic=downloads'>
  <div id='submenu_downloads' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_downloads' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Downloads</div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";

Change it to:
Code:
if($config['site']['download_page'] == 1)
echo "<a href='/download'>
  <div id='submenu_downloads' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_downloads' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Downloads</div>
    <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div>
  </div>
</a>";

When you FInish it Looks so:
2566xk8.png


//Donator
/Trojoka
 
well.. nice tutorial but without a page it kinda looks nooby >.<
Code:
<html>
<head>
<title>Downloads</title>
</head>
<body bgcolor="black" text="white">
<center>Downloads</center>
<a href="tibia854.exe"><font color="red">Tibia 8.54</font></a>

<a href="javascript:history.go(-1)"><font color="white">Back</font></a>
</body>
</html>
its just that simple.. (might not be simple if you dont know html tho..)
 

Similar threads

Back
Top