<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Burn A Brain &#187; Articles</title>
	<atom:link href="http://www.burnabrain.com/category/articles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.burnabrain.com</link>
	<description>Burn With Style!</description>
	<lastBuildDate>Wed, 25 Jan 2012 23:32:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Setting up a Home Server With Windows XP</title>
		<link>http://www.burnabrain.com/setting-up-a-home-server-with-windows-xp/</link>
		<comments>http://www.burnabrain.com/setting-up-a-home-server-with-windows-xp/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 07:53:05 +0000</pubDate>
		<dc:creator>Brainiac</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://www.burnabrain.com/?p=23</guid>
		<description><![CDATA[If you are thinking about running a server from your house then performance and cost is probably going to be an issue at some point. Depending on the type of server you are going to run, having good quality and modern hardware is likely to be an essential part of your planning. This article is [...]
Related posts:<ol>
<li><a href='http://www.burnabrain.com/mac-and-windows-users/' rel='bookmark' title='Mac and windows users'>Mac and windows users</a></li>
<li><a href='http://www.burnabrain.com/windows-addiction/' rel='bookmark' title='Windows Addiction: You&#8217;re doing it wrong!'>Windows Addiction: You&#8217;re doing it wrong!</a></li>
<li><a href='http://www.burnabrain.com/protecting-gameserver/' rel='bookmark' title='Protecting your Home Gameserver'>Protecting your Home Gameserver</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-34" title="brainer_chemistry" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/brainer_chemistry.jpg" alt="" width="150" height="110" /><span style="font-size: small;"><strong>If</strong></span> you are thinking about running a server from your house then performance and cost is probably going to be an issue at some point. Depending on the type of server you are going to run, having good quality and modern hardware is likely to be an essential part of your planning.</p>
<p>This article is here to help people running a Windows XP based server improve the performance of their home server, without spending any money.</p>
<p>In this article we will discuss general hints and tips, configuring windows for best performance virtual memory and ensuring that your hardware is set up correctly.<br />
<span class="contentheading">Configuring Windows for Best Performance.</span></p>
<p><span id="more-23"></span></p>
<p><a href="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/desktop_normal.jpg"><img class="alignleft size-thumbnail wp-image-120" title="desktop_normal" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/desktop_normal-150x150.jpg" alt="" width="150" height="150" /></a><strong><span style="font-size: small;">This</span> </strong>is our typical Windows Desktop. Note the rich colours, shadowing and the generally nice appearence. Displaying these rich graphics take vital memory, and will slow our home server down.</p>
<p>The 1st thing we need to do its change how windows looks, with the end result <img class="size-medium wp-image-122 alignright" title="mycomp_rc" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/mycomp_rc.jpg" alt="" width="215" height="255" />being an increases in performance.</p>
<p>To do this we need to right click the My Computer icon, which can be found either on the desktop or in the Start Menu.</p>
<p>Once we have clicked Properties, we are greeted by the following panel.</p>
<p>Click the Advanced tab, then click the uppermost Settings button.<img class="alignleft size-medium wp-image-126" title="syspropgeneral" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/syspropgeneral-258x300.jpg" alt="" width="258" height="300" /></p>
<p><img class="aligncenter size-medium wp-image-125" title="syspropadvanced" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/syspropadvanced-258x300.jpg" alt="" width="258" height="300" /></p>
<p>We are greeted by the following dialog.</p>
<p><img class="alignleft size-medium wp-image-128" title="viseffects" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/viseffects-205x300.jpg" alt="" width="205" height="300" /></p>
<p>The options we are shown are pretty straightforward. We know that we are</p>
<p><img class="size-medium wp-image-129 alignright" title="viseffects2" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/viseffects2-205x300.jpg" alt="" width="205" height="300" /></p>
<p>seeking performance, so lets go ahead and select Adjust for best performance, and hit apply.</p>
<p>Our screen will change, and windows will ask us to wait a moment. When it has finished working you will notice that all the pretty effects have turned into plain grey bars. This is good news as more system resources are now available for our server tasks.<br />
Our desktop should now look a bit like the image below. Note the grey taskbar.</p>
<p><img class="alignleft size-medium wp-image-119" title="bestperformdesktop" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/bestperformdesktop-300x240.jpg" alt="" width="300" height="240" /><br />
The next thing we need to do is get rid of the pretty desktop picture. Again this uses valuable system memory.</p>
<p>To do this right click anywhere on your desktop, and you should see something similar to.</p>
<p>Select the properties option, and be greeted by something like the following.</p>
<p><img class="size-medium wp-image-123 alignleft" title="rcdesktop" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/rcdesktop.jpg" alt="" width="182" height="199" /></p>
<p>Go to the Desktop tab, and select the top option, &#8220;[None]&#8220;, then hit apply.</p>
<p><img class="alignleft size-medium wp-image-118" title="appliedthemenone" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/appliedthemenone-300x240.jpg" alt="" width="300" height="240" /></p>
<p>Notice how the background picture has gone. This agan frees up a bit more memory for our server to use for its tasks.<br />
<span class="contentheading">Virtual Memory.</span></p>
<p><span style="font-size: small;"><strong>Virtual </strong></span>Memory is exactly what you think it is! Windows used the hard disk of a computer to store data that it needs quick</p>
<p>access to, as if it were in the systems memory. By default windows sets the amount of virtual memory it thinks you need, however running an intensive server will soon fill up the default area.</p>
<p>We need to make our Virtual Memory bigger, the more partitions or hard drives you</p>
<p>have the better!</p>
<p>Again we need to go into our adanced settings like we did with the performance options above.</p>
<p>To do this we need to right click the My Computer icon, which can be found either on the desktop or in the Start Menu.<br />
<img class="alignleft size-medium wp-image-122" title="mycomp_rc" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/mycomp_rc.jpg" alt="" width="215" height="255" /></p>
<p>Once we have clicked Properties, we are greeted by the following panel.</p>
<p><img class="aligncenter size-medium wp-image-126" title="syspropgeneral" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/syspropgeneral-258x300.jpg" alt="" width="258" height="300" /></p>
<p>Click the Advanced tab,� then click the uppermost Settings button.</p>
<p><img class="alignleft size-medium wp-image-125" title="syspropadvanced" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/syspropadvanced-258x300.jpg" alt="" width="258" height="300" /></p>
<p>This time however after clicking the upper most settings tab, we need to select the Advanced tab from the dialog.</p>
<p><img class="aligncenter size-medium wp-image-117" title="advvm" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/advvm-208x300.jpg" alt="" width="208" height="300" /></p>
<p>We are not going to change the Processor Scheduling or Memory Useage. Instead click the Change button found in the Virtual Memory section.</p>
<p><img class="alignleft size-medium wp-image-130" title="vmchange" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/vmchange-239x300.jpg" alt="" width="239" height="300" /><br />
As you can see above, all your hard disks are listed, and by default you will have your C drive hosting virtual memory, and it will be managed by windows.</p>
<p>Go through each hard disk in turn. For the C drive set an Initial Size of 1500 and a Maximum size of 2000. If you have multiple drives listed set these to 2000 for both values. Don&#8217;t forger to hit Set after each one though, or it wont remember the settings.</p>
<p>Once this is done, you need to hit OK, exit the dialogs and reboot your PC.</p>
<p><span class="contentheading">General Hints and Tips.</span></p>
<p><strong><span style="font-size: small;">If</span></strong> you are running a server at home then try to use a dedicated server machine. This does not mean you need a state of the art system sat in a corner, it is better to use an older system that is only used as a server &#8211; than to use your new desktop PC that you are running other applications on.</p>
<p>Try to keep installed programs and utilites to a minimum. Every program you run takes up memory and cpu power. Do not install Microsoft Office, MSN or IM programs and other un-needed software on your server.</p>
<p>If you want to check what software is starting up with your PC, hit Start &gt; Run &gt; type in msconfig &gt; hit enter.</p>
<p><img class="alignleft size-medium wp-image-124" title="runmsconfig" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/runmsconfig-300x154.jpg" alt="" width="300" height="154" /></p>
<p>On the dialog that shows up, select the Startup tab.<br />
<img class="alignleft size-medium wp-image-121" title="msconstartuptab" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/msconstartuptab-300x197.jpg" alt="" width="300" height="197" /><br />
All the programs listed here are being executed (i.e stored into memory) when your computer starts. You can stop indivdual programs from starting here, however this can be very dangerous and stop your computer from booting correctly. Unless you feel 100% confident in removing something, then just use this as a guide to what programs to uninstall normally using Control Panels Add/Remove Programs option.</p>
<p>So there are some basics on setting up a regular PC for use as a server. Hopefully you will find inspiration from this guide, and keep an eye out for our other Server and Networking Articles.</p>
<p>Related posts:<ol>
<li><a href='http://www.burnabrain.com/mac-and-windows-users/' rel='bookmark' title='Mac and windows users'>Mac and windows users</a></li>
<li><a href='http://www.burnabrain.com/windows-addiction/' rel='bookmark' title='Windows Addiction: You&#8217;re doing it wrong!'>Windows Addiction: You&#8217;re doing it wrong!</a></li>
<li><a href='http://www.burnabrain.com/protecting-gameserver/' rel='bookmark' title='Protecting your Home Gameserver'>Protecting your Home Gameserver</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.burnabrain.com/setting-up-a-home-server-with-windows-xp/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Submit an Article to Joomla How-To</title>
		<link>http://www.burnabrain.com/submit-an-article-to-joomla-how-to/</link>
		<comments>http://www.burnabrain.com/submit-an-article-to-joomla-how-to/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 07:31:45 +0000</pubDate>
		<dc:creator>Brainiac</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://www.burnabrain.com/?p=25</guid>
		<description><![CDATA[This tutorial is meant for people that want to get involved with the joomla CMS. It is about inserting and editing new content. Warning: To be able to access all the needed information found here, you have to have author access. This is a typical user menu, that every author should be able to see. [...]
]]></description>
			<content:encoded><![CDATA[<p align="center">
<p align="left"><img class="alignleft size-full wp-image-39" title="brainer_internet" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/brainer_internet.jpg" alt="" width="150" height="110" />This tutorial is meant for people that want to get involved with the joomla CMS. It is about inserting and editing new content.</p>
<p align="left">
<p align="left"><span style="color: #000000;"><strong><span style="color: #ff3333;">Warning</span>:</strong> To be able to access all the needed information found here, you have to have author access.</span></p>
<hr />
<p align="left">
<p><img class="alignleft size-full wp-image-77" title="01-user_menu" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/01-user_menu.png" alt="" width="161" height="125" /><strong>T</strong>his is a typical user menu, that every author should be able to see. The most important links are:</p>
<p align="left">
<ul>
<li><strong>S</strong>ubmit <strong>A</strong>rticle: Where you can easilly submit your content.</li>
</ul>
<ul>
<li><strong>E</strong>dit <strong>A</strong>rticle: Where you can make corrections at your old articles.</li>
</ul>
<p align="left">
<p align="left">
<p align="left">
<p align="left">
<p align="left">
<p align="left">
<p align="center"><strong>Click on the Submit Article Link </strong></p>
<p align="center">
<p style="text-align: center">
<p><img class="aligncenter size-full wp-image-78" title="02-edit_main_screen" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/02-edit_main_screen.png" alt="" width="400" height="260" /></p>
<p><span id="more-25"></span></p>
<p style="text-align: center"><strong>T</strong>his is the main page to submit your article, you can distinguish the next important options:</p>
<p align="left"><img class="alignleft size-full wp-image-79" title="03-published_date" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/03-published_date.png" alt="" width="70" height="19" /></p>
<p align="left"><strong>T</strong>he small icon indicates if the article is already published or it is pending approval.</p>
<p><img class="alignleft size-full wp-image-80" title="04-edit_icon" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/04-edit_icon.png" alt="" width="20" height="21" /></p>
<p><strong>C</strong>licking here next to the title, will allow you to edit your article.</p>
<p align="left">
<p align="left">
<p align="center"><strong><span style="text-decoration: underline;"><em>Lets get into the reason we&#8217;re here. Learn how to create new content.</em></span></strong></p>
<p align="left"><img class="alignright size-full wp-image-81" title="05-section_select" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/05-section_select.png" alt="" width="282" height="160" /></p>
<p align="left">To do so, click on the drop down menu named &#8220;New&#8221;. This will allow you to select one <strong>Main </strong>category. If you&#8217;re not able to find the category you want to write for, examine the main page&#8217;s categories and subcategories in order to find the desired one that is proper for your article.</p>
<p align="left">
<ul>
<li> If the category you&#8217;re about to write, does not exist, drop a message to Admin, together with a small summary of the topic and a suggested name for the category.</li>
</ul>
<p align="left">
<p align="left">
<p align="left">
<p align="left">
<p align="center">
<p align="center">
<p align="center"><img class="alignleft size-full wp-image-82" title="06-sub_category" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/06-sub_category.png" alt="" width="296" height="236" />When the new page loads, Select the subcategory you want to write an article for and Write the desired title.</p>
<p align="center"><strong>Now lets move on, to the next big Section, Editing Text</strong>.</p>
<p align="center">
<p align="center">This is the main panel that you will use to Create new content or edit.</p>
<p align="center">Everything you type should be inside the <strong>Intro Text </strong>field and not the Main text.</p>
<p align="center">
<p align="left">
<p style="text-align: left;"><img class="size-full wp-image-83 alignleft" title="07-main_panel" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/07-main_panel.png" alt="" width="320" height="326" />Let us get familiar with the environment.</p>
<p style="text-align: left;"><img class="alignleft size-full wp-image-84" title="08-bullets" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/08-bullets.png" alt="" width="23" height="22" /></p>
<p style="text-align: left;">Bullets are used to create an unsorted list of content, for example to write five things needed to listen to music.</p>
<p style="text-align: left;"><img class="alignleft size-full wp-image-85" title="09-numbering" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/09-numbering.png" alt="" width="23" height="22" /></p>
<p style="text-align: left;">Numbering is used to create a sorted list of content. Mostly used when writing about things that need to be in order one after another.</p>
<p style="text-align: left;"><img class="alignleft size-full wp-image-86" title="10-paste-from_word" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/10-paste-from_word.png" alt="" width="23" height="22" /></p>
<p style="text-align: left;">Paste from Word Feature. A splendid feature enabling us to paste text from word, with ease.</p>
<p style="text-align: left;"><img class="alignleft size-full wp-image-87" title="11-preview" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/11-preview.png" alt="" width="23" height="22" /></p>
<p style="text-align: left;">Preview is one of the most useful features: It creates a pop-up window displaying the outcome of the text you have written so far and how a visitor of the web-page will view it.</p>
<p style="text-align: left;"><img class="alignleft size-full wp-image-88" title="12-image" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/12-image.png" alt="" width="23" height="22" /></p>
<p style="text-align: left;">Inserting images has never been easier with this feature</p>
<p style="text-align: left;"><img class="alignleft size-full wp-image-89" title="13-hyperlink" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/13-hyperlink.png" alt="" width="23" height="22" />Hyper link insertion. Easy feature to help the Authors creating internal and external hyper links.</p>
<p style="text-align: left;"><img class="alignleft size-full wp-image-90" title="14-smileys" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/14-smileys.png" alt="" width="23" height="22" />Smileys! Need to say more? <img src='http://www.burnabrain.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><img class="size-full wp-image-98 alignleft" title="22-options" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/22-options.png" alt="" width="320" height="197" /></p>
<p>This is the last panel at the bottom of the screen. It is useful for publishers and those who correct what authors wrote. An author should only pay attention to the <strong>Save</strong>, <strong>Apply</strong>, <strong>Cancel</strong> Buttons.</p>
<ul>
<li>Save as you can imagine, saves the changes you have made and takes you back to the page you came from.</li>
<li>Apply, saves the changes you have made up to now but lets you continue editing your text. This helps a lot in case of power failure.</li>
<li>Cancel button discards all changes you have made up to now and lets you go back to when you came from. Ps. if you haven&#8217;t saved at least once, no article will be created.</li>
</ul>
<p align="center">Needless to mention that most of the settings of this panel are pre-set and you don&#8217;t have to alter anything <img title="Cool" src="http://www.burnabrain.com/mambots/editors/jce/jscripts/tiny_mce/plugins/emotions/images/smiley-cool.gif" border="0" alt="Cool" /></p>
<p align="center">
<p align="center">Those are the the basics of Submitting and article to the joomla CMS!</p>
<p align="center">
<p align="center">
<p align="center">
<p align="center">
<p align="center">
<p align="center">Thank you for your patience!</p>
<p></p>
<p></p>]]></content:encoded>
			<wfw:commentRss>http://www.burnabrain.com/submit-an-article-to-joomla-how-to/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Protecting your Home Gameserver</title>
		<link>http://www.burnabrain.com/protecting-gameserver/</link>
		<comments>http://www.burnabrain.com/protecting-gameserver/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 07:18:14 +0000</pubDate>
		<dc:creator>Brainiac</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://www.burnabrain.com/?p=22</guid>
		<description><![CDATA[(Or what can go wrong) (Real Case Study) To begin with, this paper could be more like a practical guide than a theoretical one, describing what can go wrong, what are the differences from knowledge and experience and finally, help someone new to understand that security is not only about computers. It involves people, situations [...]
Related posts:<ol>
<li><a href='http://www.burnabrain.com/setting-up-a-home-server-with-windows-xp/' rel='bookmark' title='Setting up a Home Server With Windows XP'>Setting up a Home Server With Windows XP</a></li>
<li><a href='http://www.burnabrain.com/im-going-home/' rel='bookmark' title='I&#8217;m going home!'>I&#8217;m going home!</a></li>
<li><a href='http://www.burnabrain.com/one-thing-at-a-time/' rel='bookmark' title='One thing at a time&#8230;'>One thing at a time&#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p align="center">
<p align="center"><img class="alignleft size-full wp-image-46" title="brainer_operating_system" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/brainer_operating_system.jpg" alt="" width="150" height="110" />(Or what can go wrong)</p>
<p align="center">(Real Case Study)</p>
<p align="center">
<p align="left">To begin with, this paper could be more like a practical guide than a theoretical one, describing what can go wrong, what are the differences from knowledge and experience and finally, help someone new to understand that security is not only about computers. It involves people, situations and numerous factors that we can&#8217;t fully control.</p>
<p align="left">
<p align="left">To begin with, this is a picture of the place of the &#8220;Crime&#8221; most of the computer used for the<br />
server, are present.</p>
<p align="left">
<p align="left">
<p align="center">
<p style="text-align: center"><img class="aligncenter size-full wp-image-106" title="dedicated_server_room" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/dedicated_server_room.jpg" alt="" width="400" height="300" /></p>
<p align="left">
<p align="left"><span id="more-22"></span></p>
<p align="center">
<p align="center"><span style="text-decoration: underline;"><span style="font-size: 20pt; font-family: 'Blackadder ITC';">The idea and early stages of development</span></span></p>
<p align="center">
<p align="left">It all began from an idea, passion for a game that I was playing for some time. Since the company that created the game announced that it will soon be p2p (Pay to play) I started searching for an alternate solution to play without having to pay for a game. I discovered the world of Private servers. This in a few words is the release of the official server files of the specific game (stolen of course) so that people can setup the server at their house and with some modifications to the Client files they would be able to make their home computers gateways for people to play that game.</p>
<p align="left">At the beginning, I started playing at those servers and was glad I was able to enjoy my favourite game free of charge, but then, I started thinking &#8220;why not making my own server?&#8221; since many good private servers existed around but I didn&#8217;t fully like the settings of any of them. And then the whole story starts.</p>
<p align="left">A good server needs money, and I understood that the moment I downloaded the server files. New ram was bought, and then some more, raising my ram to 1.5 Gigabytes total. 2 SATA hard drives were bought @ 1000 RPM to be able to make the game faster (Fast hard drives were needed for log making and processing and general speed of the game server it self.</p>
<p align="left">Then came the web server part. Somehow people should be able to register in order to play the game, and be able to check their status, their ranking and be able to do more game required tasks from the web. As a web server, IIS was chosen as it was the best solution mentioned in the forums that period.</p>
<p align="left">Finally, MSSQL personal edition 2000 was chosen for the database. No other solution could be chosen since the server had already a pre-made schema and many procedures that could not be transferred<br />
to other databases easily.</p>
<p>So given all that (web server, database server, new machine and game server files) everything should be working correctly.</p>
<p align="center"><span style="text-decoration: underline;"><strong><br />
But it didn&#8217;t.</strong></span></p>
<p align="center">
<p>After spending 2 days trying to make a part working with everything else and after trying all different configurations, I came to the point of saying &#8220;I give up&#8221;. It was more than a relief as this whole server thing had become more like a headache than pleasure.</p>
<p align="left">Days passed and finally the server I was playing to, closed. Well that&#8217;s when I said its time to work. And started reading about all the keywords that the &#8220;installation manual&#8221; had. Well I can admit that was the most creative week I have ever had in my computer career. DHCP, Dynamic ip, ODBC, System DSN, Port Forwarding, SQL Server operations and many more terms that until then seemed well not like &#8220;Greek to me&#8221; finally were part of my knowledge. As you can understand I finally did it, the server was online and waiting players to come and start playing. For the web page I used a ready-made template that I found from the forums. It had everything, from template to ranking. So I thought my days of worrying were over and my server was all ready. Well security is something I had never considered as an option, and as you can imagine I was a happy server owner without even a firewall. The happiness as you will soon see didn&#8217;t stay for too long.</p>
<p align="left">Next step was promotion. That was an easy thing to accomplish since some servers closed that period and I had man people I know that played with me some time. So word of mouth was the best promoting solution for the time being. After 2 days I had more than 100 players ready to register and start playing.</p>
<p align="center"><strong>That&#8217;s when the problems started.</strong></p>
<p align="center">
<p align="center"><span style="text-decoration: underline;"><span style="font-size: 20pt; font-family: 'Blackadder ITC';">Problems (what shouldn&#8217;t but did)</span></span></p>
<p align="left">First of all I could never think that there are so many 13-15 years old that have so much free time to try to exploit everything on a server. And when I say everything, I mean it. Suddenly my system started malfunctioning. Accounts were deleted, some accounts went damn high (as those people were playing a year or so), some had administrative privileges, and system was keep crashing.</p>
<p align="center"><strong><br />
So suddenly the need of security came up.</strong></p>
<p align="center">
<p align="left">
<ul>
<li><strong><span style="font-family: verdana,geneva;">First step: Firewall</span></strong></li>
</ul>
<p align="left">Only solution I could think at that time was to install a firewall. But as we already know, things in reality are much more different from theory. After installing it and changing settings like Stealth mode browsing and automatic detection of intruders and ip ban, I thought I was &#8220;stealth&#8221;. But again, this made &#8220;hacker&#8217;s&#8221; life more challenging. Not only successful hacking attempts stopped, but became more frequent and more catastrophic.</p>
<p align="left">My next thought since firewall seemed securing my server but still having intrusions, was MSSQL. Since the database was the one that suffered the most from &#8220;hackers&#8221; that would be the answer to my problems. Reading help files and Microsoft forum posts, I closed all possible connections that could be made from the internet to SQL database, since it didn&#8217;t need any connection open to public because everything that needed it was local (both web server and game server). One step closest to a more<br />
secure environment but still far from it. Successful attacks continued. The bad things were not the attacks because I could recover damn fast but the reputation of the server that was going down and the 5000 subscribed players that started to leave server.</p>
<p align="left">After some more investigation it finally became obvious that either web server or database server were responsible for the attacks so dataserver was my problem. The actual problem was that people were able to inject to the dataserver packets that they had that stats and this in-game money for example and dataserver took it for granted as it was coming from the Game server it self. Using firewall again, I<br />
closed every connection from the internet to dataserver too, as I did with database. Results were amazing, hacking attempts were stopped. And with pleasure I wiped the server once more (deleted all account and start registration from the beginning) and assured players that this was the last one.</p>
<p align="left">
<p align="center"><strong>Wondering what happened?</strong></p>
<p align="center">
<p align="left">All seemed to be working correctly, more than 2000 people re-registered for the server. Until again one sunny day, all accounts were gone, people at forums were cursing heavens and chaos was dominant. Server closed for &#8220;maintenance&#8221;. Didn&#8217;t have much time and had many things to do. The bad thing was that I didn&#8217;t know exactly what needed to be done. Everything I could imagine I already have implemented it. After numerous hours of searching Google (Google and internet are two identical terms as it seems) I came up with two words: SQL Injection. It seemed that after closing all ports that didn&#8217;t need to be open and closing all SQL and dataserver ports, &#8220;hackers&#8221; started to exploit the site it self.</p>
<p align="left">SQL Injection is an exploit where someone in a field of the web page, can insert whole queries (nested ones together with the normal ones that pass the fields themselves to the database) so it executes both. That way, if someone knew the structure of the database (that was known to all) he could with not much effort to modify delete and update everything at my database. Well this had to stop.</p>
<p align="left">So, it was time for me to learn PHP since I heard it was better than ASP and more secure. Downloaded documentation and help files and started learning. Template was made fast and then the time for code came. Within a week, registration was ready. It might seem slow but if registration was ready and carefully written, all other pages could be done easily by changing the SQL statement. (Well not that easy but much easier than<br />
writing them from scratch). Many people helped with the creation of the new page, mostly with ideas that were developed. After a month all the pages together with SQL Injection protection (filters that could understand if the user input was normal one or wanted to modify the contents of the database)</p>
<p align="left">
<p align="left">Wiped server again, promised people that that would be the last one (don&#8217;t know why but they always believed me even though I have made up to 12 wipes until now) and started server again.<br />
Outcome was perfect! 99% of the known hacks for the server were not working, people could not change their level, could not get levels for free, could not wipe the whole character table. Even Administrators from other private servers, came in-game to ask me what I did to create that security.</p>
<p align="left">
<p>Well, even with that security established, maintaining and controlling <strong>a server is not about computer security only</strong>. And many more issues needed to be solved.</p>
<p align="left">
<p align="left"><span style="font-family: verdana,geneva;"><strong><span style="text-decoration: underline;">Special Issue: Mother</span></strong></span></p>
<p align="left">Since computer security was at a very good level, it was time to start thinking about uptime. Since many servers could not compete to the security issues, they started advertising that they are 24/7. At least that&#8217;s what they advertised. Except security needed to accomplish that, many other factors helped in order to prevent me from that goal. First and more important was my mother (external factors). To understand that, you have to see my room. The most untidy thing someone can have. Full of things thrown here and there. So, my mother prefers to clean it herself than telling me to do it every single time she sees me. That created one big problem. Since my mother and technology haven&#8217;t met together, while cleaning the room she pressed keys that she shouldn&#8217;t, she put her hands where she shouldn&#8217;t (open computer cases), she removed cables while cleaning the floor and many more.</p>
<p align="left">
<p align="left">For that, there were 2 options. Either prevent access to it (witch is out of the question since I hate cockroaches) or train the personnel together with some arrangements that had to be made.</p>
<p align="left">
<p align="left">To start with, all computer cases were closed, towers with lock in front were bought so I can at least be sure that she would not be able to reboot the machine, cables were grouped together and lifted up from the floor and I trained her not to touch keyboard mouse and everything that it was green and had pins. So training those who are involved with the server even physically is a must if we want the results to be good.</p>
<p align="left">
<p align="left"><span style="font-family: verdana,geneva;"><strong><span style="text-decoration: underline;">Special Issue: Availability</span></strong></span></p>
<p align="left">As you can already understand, server was taking all my time when I was at home. But what could be done to ensure uptime when I was not at home? First of all a script had to be made so that when Windows start, all 8 servers needed for the Game server to operate will start. Then, changes were made to the start page so when someone tries to access the main page, it will check from what type of browser he/she tries to<br />
access it so it redirects him to the right page. By that I made a very simple page that had the name of the server as title and the people connected at that type. After that, by enabling gprs, I was able to check when I was not at home, if server was up and running. If not, a call was made and my father (who had a key to open the front panel of the tower) rebooted it and it automatically started operating again. Someone has to be at the server place or at least near enough so he can do even simple functions in order for server to work again<br />
after a crash or failure.</p>
<p><strong> With that solution, I could go on summer vacations (thank god).</strong></p>
<p align="left"><span style="font-family: verdana,geneva;"><strong><span style="text-decoration: underline;">Special Issue: Acts of God</span></strong></span></p>
<p align="left">By that I mean all things that we can&#8217;t control and can happen any time, any place. As an example, power failures that started occurring frequently at autumn this year when Electricity Company faced many problems. Since I couldn&#8217;t change that, and power failures lasted not more than five minutes, ups was bought to ensure a better uptime and a much better protection of server&#8217;s hardware.</p>
<p align="left"><span style="font-family: verdana,geneva;"><strong><span style="text-decoration: underline;">Special Issue: Script Kiddies</span></strong></span></p>
<p align="left">After all that were done, what was better to do than eliminating script kiddies? Some people because they wanted to get many levels in no time, used an application that was running on the background and when they hit something, that application sent the same message x times so it was like that player hit the monsters many times at the same time instead of one. That was creating a serious problem to server since one &#8220;Hit Hacker&#8221; used the same bandwidth with almost ten players did at the same time. As a result two to three hit hackers were enough to create lag to the whole server. And of course destroy server economy and balance.</p>
<p align="left">
<p align="left">To solve that, I downloaded that application and a packet sniffer-logger. Since the application multiplied hits, after numerous tests from other computers I understood what packets were sent from a &#8220;normal&#8221; player and what from hit hacker, so I made some &#8220;Rules&#8221; to the packet sniffer in order to be able to<br />
find their ip, delete their character and ip-ban them.</p>
<p class="MsoNormal" style="text-align: center" align="center">
<p class="MsoNormal" style="text-align: center" align="center">
<p class="MsoNormal" style="text-align: center" align="center"><span style="text-decoration: underline;"><span style="font-size: 20pt; font-family: 'Blackadder ITC';">With<br />
fame, comes trouble</span></span></p>
<p class="MsoNormal" style="text-align: center" align="center">
<p align="left">After all this reading and time spent, I can say that the server was the safest it can be. Don&#8217;t forget that nothing is &#8220;unbreakable&#8221;. For example, after all the changes, many people tried to &#8220;hack&#8221; it but not succeeded, so they made a post at a hack forum with title XXX Server is unbreakable. Results were: about ten<br />
posts, yes nothing could be done any suggestions? And the 11<sup>th</sup> post was the passwords of my Admin and the 3 game masters. I was informed very fast about that (public relations help a lot in security) and changed them, e-mailing the poster asking for what backdoor he used to enter. He helped.</p>
<p align="left">
<p align="left">After some time server become famous about his uptime, security and Events that my Game masters did with players, so many people came to play to my server. It was ranked 3rd private server worldwide for that game for some time. Trouble was that my DSL could only hold 60 people at the same time only so server was always full and started complaining.</p>
<p align="left"><span style="font-family: verdana,geneva;"><span style="text-decoration: underline;"><strong><br />
Solution: Outsourcing</strong></span></span></p>
<p align="center">
<p align="left">One of the players in my server worked at an internet cafe in Romania and was responsible about<br />
it&#8217;s server and internet security, so after knowing him for some time, I offered him the opportunity to transfer some of Server&#8217;s workload to the internet cafe that had a much better internet connection. Since all the people at that internet cafe were playing at my server he accepted and not only that, but his boss paid me to do the installation. So still I had control of everything and could hold 250-300 players at the same time. But that created another problem. What would happen if the guy from there started to &#8220;distort&#8221; the server files that he had there for his in-game benefit? Answer was a page at the web server that copied the last backup before an incident and transferred that backup to my ftp so I can ip-ban him from using my database and continuing to server the users from my home. Hopefully that didn&#8217;t happen and i still can say he&#8217;s my favourite ****** (Censored) <img src='http://www.burnabrain.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
<p align="left">Server became full even with the better speed but as the title says, more trouble came. Many server owners (that were loosing subscribers) and many people that wanted better stats in-game, started to attack me with Distributed DOS attacks. At the beginning I was unable to do something since they were using proxy servers and many computers but tracing every time the source of the dos attacks I made a list from the most common ip&#8217;s that attacked and ip-banned them from firewall. That helped a lot since dos attacks were much &#8220;softer&#8221; and server could stand them.</p>
<p class="MsoNormal" style="text-align: center" align="center">
<p class="MsoNormal" style="text-align: center" align="center"><span style="text-decoration: underline;"><span style="font-size: 20pt; font-family: 'Blackadder ITC';">Overall<br />
Evaluation</span></span></p>
<p class="MsoNormal" style="text-align: center" align="center">
<p align="left">Having a server that people other than you use, is a great responsibility. It has to be updated frequently; many new options and enhancements have to be added to keep the players-customers (depending on the situation) happy, and secure. The last part is also the most important and the most difficult. Because no-matter what product or service someone offers, no matter the price or the benefits from using it, having the web server let&#8217;s say hacked very frequently, will unfortunately lead to extinction. People have patience, but the more they pay for something the more professional they expect it to be and more secure.</p>
<p align="left">The benefits from having a server are many, depending on what the server owner aims for. At least for me, server has helped me gain knowledge that otherwise I would never have heard of if I didn&#8217;t have this server. PHP, Database queries, database administration and web server administration, together with security are some of them. A server except from all that can bring money too. Sources of income can be many, from sales of a specific product or service through it or even if it&#8217;s free, targeted advertising can pay a lot of money. At least that&#8217;s what I preferred in my situation. I don&#8217;t like the idea of pay to play.</p>
<p align="left">
<p align="left">What I will never forget about all this experience, even when the server sometime closes, is the interactivity with the players and the different people I&#8217;ve met, and the debug state of many things that I have implemented. To explain my self, it was an awesome experience when I made the first draft of the new PHP page that from the 30.000 of the registered users, a great proportion when I announced the beta, went immediately and started testing the web page about bugs so that they can inform me about them at forum. 1000 are better than one after all. I am sure that this dropped the time that the page needed for debugging of every single problem a page can have to one fifth. Even if someone seeks profits through the creation of a server, knowledge gained and experience would pay much more in long-terms and make him more confident about what someone can accomplish and knowing what he/she can do.</p>
<p class="MsoNormal" style="text-align: center" align="center">
<p class="MsoNormal" style="text-align: center" align="center"><strong>Warning: No Hamsters Were Harmed for the Creation of This Article!</strong></p>
<p class="MsoNormal" style="text-align: center" align="center">
<p></p>
<p>Related posts:<ol>
<li><a href='http://www.burnabrain.com/setting-up-a-home-server-with-windows-xp/' rel='bookmark' title='Setting up a Home Server With Windows XP'>Setting up a Home Server With Windows XP</a></li>
<li><a href='http://www.burnabrain.com/im-going-home/' rel='bookmark' title='I&#8217;m going home!'>I&#8217;m going home!</a></li>
<li><a href='http://www.burnabrain.com/one-thing-at-a-time/' rel='bookmark' title='One thing at a time&#8230;'>One thing at a time&#8230;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.burnabrain.com/protecting-gameserver/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Fallen Sword Web Based RPG Guide</title>
		<link>http://www.burnabrain.com/fallen-sword-guide/</link>
		<comments>http://www.burnabrain.com/fallen-sword-guide/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 06:10:57 +0000</pubDate>
		<dc:creator>Brainiac</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[mmorpg]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.burnabrain.com/?p=20</guid>
		<description><![CDATA[Welcome again, today we&#8217;re going to look into the new trend of rpg&#8217;ing through web based pages. It is common knowledge that Role Playing Games Attract people a lot more than any other type of games. Reasons? Call it thirst for power, thirst for domination call it whatever you want but RPG gaming is here [...]
Related posts:<ol>
<li><a href='http://www.burnabrain.com/how-to-get-the-girl/' rel='bookmark' title='How to get the girl (based on sucessful attempts)'>How to get the girl (based on sucessful attempts)</a></li>
<li><a href='http://www.burnabrain.com/survival-tracking-guide/' rel='bookmark' title='Survival tracking guide'>Survival tracking guide</a></li>
<li><a href='http://www.burnabrain.com/pleasing-women-guide/' rel='bookmark' title='Pleasing women guide'>Pleasing women guide</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/brainer_gamer.jpg"><img class="alignleft size-full wp-image-36" title="brainer_gamer" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/brainer_gamer.jpg" alt="" width="150" height="110" /></a>Welcome again, today we&#8217;re going to look into the new trend of rpg&#8217;ing through web based pages.</p>
<p>It is common knowledge that Role Playing Games Attract people a lot more than any other type of games. Reasons? Call it thirst for power, thirst for domination call it whatever you want but RPG gaming is here to stay. People play them, meet new people and have fun. The problem is that not many people have the required time to devote into games like that. That&#8217;s what web based RPGs come to solve.</p>
<p>Most of them are fast paced and very fun to play, without having to spend many hours per day.</p>
<p align="center"><strong>One of them is the Fallen Sword RPG.</strong></p>
<p align="center"><span id="more-20"></span></p>
<p align="left">Fallen sword is a web based rpg and that&#8217;s here to stay. Has everything an rpg should have and nothing to be jealous from the other ones.</p>
<p align="left">
<p align="left">The story goes on like this:</p>
<p align="left">You&#8217;re a warrior and get ported to the mythical world of fallen sword. Your goal is to get levels from acquiring experience through killing monsters and doing quests and obtain new armors and weapons to make you the ultimate warrior that ever existed in the realm.</p>
<p align="left">Lets see how we can accomplish this through out tips that came out of my personal experience enjoying the game.</p>
<p align="center"><span style="text-decoration: underline;"><strong><br />
First of all you need to register and if you haven&#8217;t done already, click the link below:</strong></span></p>
<p align="center"><a href="http://www.fallensword.com/?ref=189721"><img title="Play Fallen Sword RPG for free now!" src="http://66.7.192.165/banners/button.jpg" alt="" /></a></p>
<p align="left"><strong>Patience</strong></p>
<p align="left">If you&#8217;re thinking that you will sign up for the game and immediately start with everything you ever dreamed (100 level character, awesome weapons) you shouldn&#8217;t go for an rpg game. Games like this make you develop your char with small and steady steps. Equip your self with patience and the idea that this game will accompany you through time.</p>
<p align="left">
<p align="left"><strong>Stamina</strong></p>
<p align="left"><img class="alignleft size-full wp-image-68" title="stamina" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/stamina.gif" alt="" width="92" height="25" />Stamina in this game can be viewed from the top menu and looks exactly like the image on the left. You gain stamina by time. Every 1 hour you obtain 50 stamina that you can use on killing monsters or other players. Stamina max is 500 at least at the start so make sure you play the game every 10 hours for some minutes in order not to waste points that can get you levels and new equipment.</p>
<p align="left">By killing monsters you gain experience, money and equipment and it is essential to your character progress. After a while you&#8217;ll be able to roam through the world easily and find monsters to hunt.</p>
<p align="left">By killing players you gain pvp Rating that you will need in the future and some money. My best advice would be to leave that for the moment.</p>
<p align="left">
<p align="left"><strong><br />
Levels</strong></p>
<p align="left"><img class="alignleft size-full wp-image-69" title="level" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/level.gif" alt="" width="159" height="25" />Leveling your character is one of the most crucial aspects of the game. You can check your level progress bar by looking at the top of the game page that looks exactly like the image on the left. Here you can check how close you are to obtain another level so you can spend the level points and attributes to the skills you want to.</p>
<p align="left">
<p align="left"><strong>Gold</strong></p>
<p align="left"><img class="alignleft size-full wp-image-70" title="gold" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/gold.gif" alt="" width="159" height="26" /> Gold is your wealth, you need gold to repair your broken items and to buy new ones. Make sure you transfer the maximum amount of gold you are allowed each day to the bank to save them from thieves. Gold can be attained from killing monsters, attacking players and selling your fares to the auction house.</p>
<p align="left">
<p align="left"><strong>FSP (Fallen Sword Points)</strong></p>
<p align="left"><img class="alignleft size-full wp-image-71" title="fsp" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/fsp.gif" alt="" width="94" height="27" />Fallen Sword Points are the most essential source of power into the game. Their uses are numerous but the most important ones are:</p>
<p align="left">
<ul>
<li>Buying Armour, Weapon, Accessories from the auction house.</li>
<li>Purchasing guild upgrades for your guild.</li>
<li>Exchange them for money.</li>
<li>Upgrade your equipments at the armoury.</li>
</ul>
<p align="center"><strong>First Things First!</strong></p>
<p align="center">
<p align="left"><strong>Rule number 1!</strong>: Don&#8217;t use the <strong>Hell Forge</strong> and <strong>Crafting</strong> at first levels. <strong>Hell Forge</strong> is the place that takes one of your equipments and enhances it to make it better. At least for the first levels it is a complete waste of money since no matter how much better you make your level 1 dagger it won&#8217;t last long.</p>
<p align="left">
<p align="left"><strong>Rule number 2!</strong>: Don&#8217;t waste your stamina killing other players. Might seem funny and profitable but in the long run you will regret wasting your stamina on others while watching them reach high levels and get better sets and rewards.</p>
<p align="left">
<p align="center"><span style="text-decoration: underline;"><strong>FSP And Donations Explained.</strong></span></p>
<p align="left">Fallen sword points are easy to get and much easier to spend.</p>
<p align="left">Since its your basic exchange for the game, think a lot about spending some points here and there.</p>
<p align="left">
<p align="left">So, lets check our options and see what&#8217;s worthy and what&#8217;s not.</p>
<p align="left">
<p align="left">
<ul>
<li><strong>+25 Current Stamina: </strong>Never use that. No matter how appealing it might seem, its just a waste of FSP. To explain my self, let me do some calculations.</li>
</ul>
<p align="left">In one day, a player can get 50&#215;24= 1200 Stamina. To get that 1200 stamina you should spend 48 FSP. So to lets say win a day you have to pay almost 10$. Is it worth it ? Nope! You&#8217;re here to stay, and not just to play a day. So don&#8217;t use that bonus, not worth it. And as a final notice, most bonuses when you use them, they stay for you forever. That&#8217;s one of the few that is expendable.</p>
<p align="left">
<p align="left">
<ul>
<li><strong>+10 Maximum Stamina:</strong> That is a <strong>VERY</strong> <strong>useful</strong> upgrade for your character if you plan on playing for a long term. That&#8217;s because given the fact that your maximum stamina is 500 and you gain 50 stamina every hour, you have to spend your stamina every 10 hours max in order not to leave stamina get wasted. So if I were you I would donate some points for that according to the maximum amount of time i will be absent.</li>
</ul>
<p align="left">For example: Let&#8217;s say I sleep 10 hours and then i have to go to work without being able to spend my stamina in the morning. Lets give it 18 hours from the time i sleep till I am able to return home and spend my stamina. 18 hours is: 900 stamina and since I already have 500 max stamina as my repository, I have to donate to reach my max stamina to 900. So I need another 400 and given the fact that 2 FSP give +10 max stamina, I need 2&#215;40=80 FSP. This is a very useful upgrade to your character and consider doing it slowly but from the start.</p>
<p align="left">
<p align="left">
<ul>
<li><strong>+1% Experience towards next level</strong>:  Complete crap at least for the first 50 or more levels! I don&#8217;t know if it has any worth at levels bigger than 70-80 but let&#8217;s get real, you can get 1% at starting levels sppending 1 stamina, not 2 FSP!</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>+500 Gold: </strong>Another money waster! 500 gold is close to nothing since 1 FSP can be traded with a player for a lot more!</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>+1 XP Gain (per hour): </strong>I wouldn&#8217;t use it even if they paid me to.</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>+1 Gold Gain (per hour): No comments!</strong></li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>+1 Stamina Gain (per hour):</strong> I wouldn&#8217;t use that one since each stamina at levels close to<br />
30 can give me 20 exp, so why spend 20 FSP for just a +1 to stamina<br />
every hour.</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>+1 Bank Deposits per Day:</strong> Very useful after level 30+ when you keep in your pockets more than 30.000 gold. Since you can put into the bank or guild bank 25% of your gold I would invest in this bonus for an additional one or two times.</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>+1 Inventory (Backpack) Slot:</strong> I can&#8217;t decide if that&#8217;s &#8220;a Must have one&#8221;. For me, if you have many Auction slots that would be ten times better. But its up to you if you want to have more backpack slots so you can change items according to the situation (PVP for example).</li>
</ul>
<p align="left">
<ul>
<li><strong>+1 Max Allies: </strong>I would rather write them on a piece of paper than spending 5FSP for an additional one. Just keep there your closest friends and you&#8217;re done.</li>
</ul>
<p align="left">
<ul>
<li><strong>+1 Max Enemies: </strong>Look above!</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>+1 Max Auctions:</strong> Now, that&#8217;s a very useful one! Not at the starting levels but at 25+<br />
you&#8217;ll need to do some upgrades to it since two auctions at the same time<br />
is close to nothing.</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>Protect XP:</strong> If this skill needed five FSP, I might consider it before starting a war with an enemy or my clan.But now that it costs 25 it&#8217;s not worth spending my points to &#8220;save&#8221; my exp at a current level and never make it drop below that.</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>Reset Skill Points:</strong> Well that is an expensive thing to buy. Even if put everything wrong i would consider using it ONLY after level 70-80, before that it won&#8217;t play an important role. I will explain later on which skills are the most important for the starting levels so you won&#8217;t have to use that.</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>+1 Max Secure Trades: </strong>Unless you are trading FSP and other valuable set items, this is not needed at all. Secure trade can be completed when both parties agree to it, so it can only take a matter of seconds.</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>Refill All Bank Deposits</strong>: I&#8217;d rather pay 50 FSP to have <strong>+1 Bank Deposits per Day </strong>rather than 20 to refill my deposits <strong>just for a day.</strong></li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><strong>Bounty Tickets (100x):</strong> For the first levels in your game experience, this is not needed. Later on when you see a good bounty on someone, grab 100 tickets. They are cheap and you might make much more than you invested on them. Bounty tickets can also be used on placing a bounty for a person. So it&#8217;s cheap, use it at our own will.</li>
</ul>
<p align="left">
<p align="left">
<p align="center"><span style="text-decoration: underline;"><strong>That&#8217;s it ! Now you know where to invest and what you should leave as it is.</strong></span></p>
<p align="center">
<p align="center">
<p align="center">
<p align="center">
<p align="left"><span style="font-size: small;"><span style="text-decoration: underline;"><strong>Skill Allocation</strong></span></span></p>
<p align="left">
<p align="left">
<ul>
<li><span style="text-decoration: underline;"><strong>WARNING:</strong></span> Now that I have your attention, I have to say: DON&#8217;T put skill points everywhere!!!! I see people with 5 skills at rage, 5 at find items, 5 at adept learner&#8230; That is completely wrong! Meaning, you will have to buff those skills to you&#8230; If you have lets say 5 points at adept learner, it will cost more to buff yourself for 10 stamina rather than use those 10 stamina on more monsters. Don&#8217;t take many skills. Concentrate on the ones you will reach to 100.</li>
</ul>
<p align="center">
<p align="left">Next part is the skill allocation. Crucial too cause a small mistake can make you pay 100 FSP just because you didn&#8217;t think about it in the beginning!</p>
<p align="left">
<p align="left">My advice is: Keep you skill points (5 / Level) till you become level 25! Then you can put 100 to the <strong>Adept Learner</strong> so you can get 20% more experience per kill. This is a very crucial part if you want to level up fast and catchup your friends.</p>
<p align="left">
<p align="left">After adept learner you have many options. You can put points to find item skill that is crappy at normal situations but rocks on elite mobs and events that game masters do such as killing legendary monsters. Many have it but personally i think that when it comes to skills you have to have the skills you need and not ask about them all the time, just because buffing costs stamina to the caster of the buff.</p>
<p align="left">
<p align="left">After that or after adept, you can put points to <strong>Enchant Weapon</strong> or to <strong>Enchanted Armor. </strong>Both are a very good place to put your skill points since we all want to hit hard and level 80+ mobs hit hard also. It is a good thing to have those two skills.</p>
<p align="left">
<p align="left">
<p align="left">
<p align="left"><span style="text-decoration: underline;"><strong><span style="font-size: small;">About PVP (Player Versus Player) And bounties.</span></strong></span></p>
<p align="left">
<p align="left">Killing other people is fun sometimes but has three <strong>MAJOR</strong> drawbacks.</p>
<p align="left">
<ul>
<li>You Make many enemies</li>
<li>One of your victims might put a bounty on you. (Will explain later)</li>
<li>You loose valuable stamina that could be spent on monster hunting.</li>
</ul>
<p align="left">
<p align="left">Let&#8217;s face it! Most of the people play this game to have the best set and kill others. That&#8217;s the ultimate goal! But until you get there, my advice would be to wear your serenity belt and move on!</p>
<p align="left">
<p align="left">If you attack someone, he has the right to put a bounty on you within 48 hours. This means that he will put a price on your head so other people will start hunting you. That will make you loose pvp rating and experience. So not only with pvp you stay behind others but sometimes a pissed enemy of yours might make you loose even a level by putting you on bounty.</p>
<p align="left">
<p align="left">If you are being attacked, check the player name and see if he has attacked you in the past. If not it might be because you are carrying a lot of money on you. What I usually do is to buy some items with money that can also be sold with FSP. So in that case i can make some FSP while I maintain my sanity!</p>
<p align="left">
<p align="left"><strong>A VERY good way to save money from thieves,</strong> is to coordinate with other guild members. By that, I mean the following:</p>
<p align="left">
<p align="left">Lets say we&#8217;re 5 people having 10k each&#8230;If we do it alone we&#8217;ll deposit 2.5k each and have 7.5k on us&#8230;If all give money to one person, then that person deposits and passes it to the next, it will go like this:</p>
<ul>
<li> 37500 by First person&#8217;s Deposit</li>
<li>28125 by the Second person&#8217;s Deposit</li>
<li>21093 by the Third Person&#8217;s Deposit</li>
<li>15820 by the fourth and</li>
<li>11865 by the last one.</li>
</ul>
<p align="left">
<p align="center"><span style="text-decoration: underline;"><strong>So instead of having 7500*5=37500 we&#8217;ll have 11865 floating around. Cool huh ?:)</strong></span></p>
<p align="left">
<p align="left">
<p align="left">
<p align="left"><span style="font-size: small;"><span style="text-decoration: underline;"><strong>Guilds and how to contribute to them.</strong></span></span></p>
<p align="left">
<p align="left">
<p align="left">Want to become the ultimate guild member? Want your guild master to love you? Want to see your guild gain fast positions on the top 250 Guilds page? Here is what you have to do in order not only to benefit your guild but yourself too.</p>
<p align="left">
<p align="left">
<p align="left">
<ul>
<li><span style="text-decoration: underline;"><strong>Use your stamina.</strong></span> One of the most crucial and important things to do. Don&#8217;t waste it by killing people but kill monsters. You will level up, guild will level up and both become powerful to defend each other in case of a guild war. That&#8217;s when you pvp, not without a reason. Getting levels for the guild unlocks many new features with most important, being able to create new powerful structures. <strong>So, try not to let stamina go wasted,</strong> every 10 hours log in and spend your stamina on monsters so you won&#8217;t let stamina go 500/500 and just stack up there. In case you normally can&#8217;t be online every 10 hours, try to Upgrade getting the: <strong>+10 Maximum Stamina </strong>until you reach the desired max stamina.</li>
</ul>
<p align="left">
<p align="left">
<ul>
<li><span style="text-decoration: underline;"><strong>Use your Bank Deposit everyday,</strong></span><strong> </strong>so you won&#8217;t get attacked and you will help guild build new structures. It is a good thing to ask before using the deposit in the guild chat so maybe a person can give you more money to donate because he already used his deposit.</li>
</ul>
<p align="left">
<ul>
<li><span style="text-decoration: underline;"><strong>Donate FSP to the guild.</strong></span> If you see that guild master cares about the members and contributes a lot to the guild, try to donate, recruit some people or sign up for some offers and help him make the guild a better place to die for. <img src='http://www.burnabrain.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  FSP is the most crucial part of making a guild huge and powerful.</li>
</ul>
<p><strong>Guilds start with 8 Slots.</strong> So if your guild is at start please help your guild master to add more people by donating FSP (It costs 20 FSP to add one more person) and watch your guild grow day by day and become stronger.:)</p>
<p align="left">
<p align="left">
<ul>
<li><span style="text-decoration: underline;"><strong>Don&#8217;t attack simple monsters with guild attacks.</strong></span> Guild attacks are meant for <strong>Elite</strong> or <strong>Legendary</strong> monsters that give <strong>quest items</strong> and <strong>Set items. </strong>Don&#8217;t spend other people&#8217;s stamina just for fun.</li>
</ul>
<p align="left">
<p align="left"><span style="font-size: small;"><span style="text-decoration: underline;"><strong>Where to level up.</strong></span></span></p>
<p align="left">
<p align="left">It would be a shame if i just copy-paste a very good post that a member in the forums of the Fallen Sword did. So i just Copy-pasted the link for you to check it out and see what place is the best for your level.</p>
<p align="left">
<p align="left"><a href="http://forum.fallensword.com/viewtopic.php?t=8634"><strong>Link</strong></a></p>
<p align="left">
<p align="left">How to use the link ? Click on the area of your level on the post, then click the <span style="text-decoration: underline;"><strong>(see map)</strong></span> link and try to follow the oposite way to reach the place where you are. Then, follow it.</p>
<p align="center">
<p align="left">
<p align="left"><span style="font-size: small;"><span style="text-decoration: underline;"><strong>Tips And Tricks:</strong></span></span></p>
<ul>
<li>When you are hunting monsters, try to look the link from the where to level up section in order for you to find a suitable area for hunting. <strong>The most important thing</strong> from an area is to give good experience from a monster together with the amount of stamina spent. When a monster needs more than 5 stamina ALL the time, leave it and go to an easier one.</li>
</ul>
<ul>
<li>Every area has 3-4 different monsters. When you enter at a specific area, the hardest one would be too tough for you so better leave it alone. At the last level of that area, the easiest one would give very low experience (like 8 or something like that) so leave it alone again. That will help your experience gain a lot.</li>
</ul>
<ul>
<li>If you level, always go in dead corners, there is small number of players<br />
there and usually many monsters. Avoid commonly used routes, there is one or no<br />
mobs there, and you then have to use stamina again for moving . Sometimes in a corner<br />
you can find eight monsters and when you kill some, use refresh and some more might appear, sometimes I kill 10 mobs on<br />
one spot, again, saving stamina for moving. (By PerunNS)</li>
</ul>
<ul>
<li>Use attack and damage items mostly. At the same time don&#8217;t look down to your hit points. Try to have some but the most important thing is attack and damage. Equip items with those two stats and put your level up points there. Also Defence is important, armour is not because if a monster won&#8217;t hit you it won&#8217;t do any damage to you. Later on you will invest on armour too but not at starting levels. (1-40 or more) Attack and damage stats, save you a lot of stamina letting you kill monsters in very few swings.</li>
</ul>
<ul>
<li>Don&#8217;t forget to repair very often. People underestimate repairing but when an item looses some durability, it&#8217;s stats get lower and that makes his character die easily from monsters he could kill very easy before. Don&#8217;t forget to repair very often when fighting. (Remark from <span style="color: #000000;">Krypkill)</span></li>
</ul>
<p align="left">
<p align="left"><span style="font-size: small;"><span style="text-decoration: underline;"><strong>F.A.Q. (Frequently Asked Questions)</strong></span></span></p>
<p align="left">
<ul>
<li> How do I put money to the guild bank?</li>
</ul>
<p align="left">From the main guild screen, you can see the guild bank balance. There click on the manage button that is located a bit up and to the right, and on the next page you can do your deposit.</p>
<ul>
<li>How can I donate FSP to the guild?</li>
</ul>
<p align="left">From the main guild button category on the left of the screen, click the sub-category Upgrades. Then, on the new screen you can deposit FSP for guild use.</p>
<ul>
<li>I am completely lost and can&#8217;t escape this place! What shall I do?</li>
</ul>
<p>Click on Character tab, then preferences and click Instant portal to Krul Island. You will spend 25 stamina but you will be able to travel back to where you want to go. It will teleport you back to the starting point when you started playing the game for the first time.</p>
<ul>
<li> How can I report a Character that violates game rules?</li>
</ul>
<p>Visit: <a href="http://support.huntedcow.com/">http://support.huntedcow.com/</a></p>
<p align="left">
<p align="left">
<p align="center"><span style="font-size: small;"><span style="text-decoration: underline;"><strong>In conclusion&#8230;</strong></span></span></p>
<p align="center">
<p align="center">I hope it helped.</p>
<p align="center">I hope you enjoyed reading it.</p>
<p align="center">Keep in mind that what I wrote is not the only way to do it but a good way.</p>
<p align="center">Have fun.</p>
<p align="center">
<p align="left">Ps. Nr.1) Remember to use the official game forums for more in-depth questions and answers: <a href="http://forum.fallensword.com/">http://forum.fallensword.com/</a></p>
<p align="left">
<p align="left">Ps. Nr.2) <a href="http://www.fallenswordguide.com">http://www.fallenswordguide.com</a> is the place to look for navigation help, set bonuses, monster drops etc. A very helpful guide.</p>
<p align="center">
<p align="center">
<p align="center">
<p align="left">Ps. Nr.3) If you want to make a new char after reading this guide please use my link so i can get some points too <img src='http://www.burnabrain.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thank you very much.  <a href="http://www.fallensword.com/?ref=189721"><img title="Play Fallen Sword RPG for free now!" src="http://66.7.192.165/banners/button.jpg" alt="" width="61" height="28" /></a></p>
<p align="left">
<p align="left">
<p></p>
<p>Related posts:<ol>
<li><a href='http://www.burnabrain.com/how-to-get-the-girl/' rel='bookmark' title='How to get the girl (based on sucessful attempts)'>How to get the girl (based on sucessful attempts)</a></li>
<li><a href='http://www.burnabrain.com/survival-tracking-guide/' rel='bookmark' title='Survival tracking guide'>Survival tracking guide</a></li>
<li><a href='http://www.burnabrain.com/pleasing-women-guide/' rel='bookmark' title='Pleasing women guide'>Pleasing women guide</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.burnabrain.com/fallen-sword-guide/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Computers And Human organisms. Coincidence?</title>
		<link>http://www.burnabrain.com/computers-and-human/</link>
		<comments>http://www.burnabrain.com/computers-and-human/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 05:19:42 +0000</pubDate>
		<dc:creator>Brainiac</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[dna]]></category>
		<category><![CDATA[humans]]></category>

		<guid isPermaLink="false">http://www.burnabrain.com/?p=18</guid>
		<description><![CDATA[Technology is everywhere. We use it to create art, vehicles, food, bombs, and virtually everything. Computers have played the greatest role in technology breakthrough. Nowadays every house has one. In fact a considerable percentage does not know how to use it but they just had to have it just to say that they&#8217;re following the [...]
Related posts:<ol>
<li><a href='http://www.burnabrain.com/level-one-human/' rel='bookmark' title='Level one Human'>Level one Human</a></li>
<li><a href='http://www.burnabrain.com/before-there-were-computers/' rel='bookmark' title='Before there were computers&#8230;'>Before there were computers&#8230;</a></li>
<li><a href='http://www.burnabrain.com/pocket-computers-whats-next/' rel='bookmark' title='Pocket computers: What&#8217;s next?'>Pocket computers: What&#8217;s next?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-33" title="brainer_biology" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/brainer_biology.jpg" alt="" width="150" height="110" />Technology is everywhere. We use it to create art, vehicles, food, bombs, and virtually everything. Computers have played the greatest role in technology breakthrough. Nowadays every house has one. In fact a considerable percentage does not know how to use it but they just had to have it just to say that they&#8217;re following the things happening.</p>
<p align="left">Thinking about it, computers and humans have many things in common. It might not be easy to find many similarities but think about it&#8230; We have created them, shouldn&#8217;t they &#8220;work&#8221; like we do?</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-66" title="computershumans" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/computershumans.jpg" alt="" width="400" height="147" /></p>
<p align="center">Nonsense? Maybe! Let us see&#8230;<strong></strong></p>
<p align="center"><span id="more-18"></span></p>
<p style="text-align: center;"><strong><span style="text-decoration: underline;">Both use electrical signals.</span></strong></p>
<p align="center">
<p align="left">The brain uses chemicals to transmit information; the computer uses electricity. Even though electrical signals travel at high speeds in the nervous system, they travel even faster through the wires in a computer.</p>
<p align="left">
<p style="text-align: center;"><strong><span style="text-decoration: underline;">Both transmit information.</span></strong></p>
<p align="left">A computer uses switches that are either on or off (&#8220;binary&#8221;). In a way, neurons in the brain are either on or off by either firing an action potential or not firing an action potential. However, neurons are more than just on or off because the &#8220;excitability&#8221; of a neuron is always changing. This is because a neuron is constantly getting information from other cells through synaptic contacts. Information travelling across a synapse does NOT always result in a action potential. Rather, this information alters the chance that an action potential will be produced by raising or lowering the threshold of the neuron.</p>
<p align="left">
<p style="text-align: center;"><span style="text-decoration: underline;"><strong>Both have a memory that can grow.</strong></span></p>
<p align="left">Computer memory grows by adding computer chips. Memories in the brain grow by stronger synaptic connections.</p>
<h1><span style="text-decoration: underline;"><br />
</span></h1>
<p style="text-align: center;"><strong><span style="text-decoration: underline;"> Both can adapt and learn.</span></strong></p>
<p align="left">It is much easier and faster for the brain to learn new things. Yet, the computer can do many complex tasks at the same time (&#8220;multitasking&#8221;) that are difficult for the brain. For example, try counting backwards and multiplying 2 numbers at the same time. However, the brain also does some multitasking using the autonomic nervous system. For example, the brain controls breathing, heart rate and blood pressure at the same time it performs a mental task.</p>
<p style="text-align: center;"><strong><span style="text-decoration: underline;">Both need energy.</span></strong></p>
<p align="left">Brain needs nutrients like oxygen and sugar for power; the computer needs electricity to keep working.</p>
<p align="left">
<p style="text-align: center;"><strong><span style="text-decoration: underline;">Both Need &#8220;Rest&#8221;</span></strong></p>
<p align="left">Humans need sleep to recover from a hard day&#8217;s work, computers need a reboot. Reboot takes much less but its also a form of rest for computer memory and chips. Just like human organism&#8217;s do.</p>
<p align="left">
<p style="text-align: center;"><strong><span style="text-decoration: underline;">Cell Membrane &#8211; Firewall</span></strong></p>
<p align="left">The cell membrane acts as a barrier separating the cell&#8217;s external and internal environments. Second, it acts as a filter allowing the entry of wanted elements while keeping out unwanted elements (Barrett et al., 1986). In comparison, network perimeter architectures consist of external routers, intrusion detection systems and firewalls that together define the organization&#8217;s &#8220;point of presence&#8221; demarking the internal network from the public Internet. Like cell membranes, firewalls also filter out unwanted data communications while permitting wanted data to enter. Furthermore, analogies concerning threats exist between firewalls and plasma membranes. Any transport channel that circumvents the plasma membrane endangers the cell (Friedman, 1986) just as an unauthorized modem or a faulty firewall logic rule can endanger an entire organizational network.</p>
<p style="text-align: center;"><strong><span style="text-decoration: underline;">Viruses</span></strong></p>
<p align="left">Viruses cause disease when they enter cells and &#8216;hijack&#8217; the cell&#8217;s own protein-making machinery, causing the cells to STOP production of normal cellular proteins, and START making viral proteins and copying viral DNA or RNA. Once the cell makes enough of the viral proteins and DNA, the cell even assembles these parts to make complete viruses in cells! At this point, when there are up to a few hundred mature viruses in the cell, the virus often bursts out of the cell, causing destruction of that cell, and an avenue of escape to spread to neighbouring cells. Some viruses (like the Herpes viruses) also have the ability to insert their DNA into the DNA of their host, and exist as a &#8220;latent&#8221; virus until environmental conditions are right for the virus to exit cells.</p>
<p align="left">
<p style="text-align: center;"><strong><span style="text-decoration: underline;">Memory &#8211; Programming</span></strong></p>
<p align="left">Human memory works with many similarities with programming. HTML is a computer programming language for the Internet. What it does is that when we store information we create a Hyperlink so when the user clicks on it, he/she is redirected to the information. Humans &#8220;work&#8221; the same way when they use to remember something using an experience (linking).</p>
<p align="left">
<p align="left">
<p align="left"><strong> W</strong>ell, it seems that if we think about it for a minute we can come up with many more similarities. Computers imitate many of our &#8220;functions&#8221; with their own special way, making them a good tool for us to have fun and work.</p>
<p align="left">
<p align="center">Dedicated to all Mothers and Fathers who <strong>Still</strong> are afraid of Computers!</p>
<p></p>
<p>Related posts:<ol>
<li><a href='http://www.burnabrain.com/level-one-human/' rel='bookmark' title='Level one Human'>Level one Human</a></li>
<li><a href='http://www.burnabrain.com/before-there-were-computers/' rel='bookmark' title='Before there were computers&#8230;'>Before there were computers&#8230;</a></li>
<li><a href='http://www.burnabrain.com/pocket-computers-whats-next/' rel='bookmark' title='Pocket computers: What&#8217;s next?'>Pocket computers: What&#8217;s next?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.burnabrain.com/computers-and-human/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A Simple PHP Visitor Counter</title>
		<link>http://www.burnabrain.com/simple-php-visitor-counter/</link>
		<comments>http://www.burnabrain.com/simple-php-visitor-counter/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 04:55:34 +0000</pubDate>
		<dc:creator>Brainiac</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[counter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.burnabrain.com/?p=17</guid>
		<description><![CDATA[This article is designed to help you make a very simple hit counter for your php enabled website. I will talk you through each stage and explain both what is happening and why. There are many ways that we can achieve our goal of creating a visitor counter using PHP. In this article I will [...]
Related posts:<ol>
<li><a href='http://www.burnabrain.com/simple-facts/' rel='bookmark' title='Simple Facts'>Simple Facts</a></li>
<li><a href='http://www.burnabrain.com/create-flat-tv/' rel='bookmark' title='Simple guide on how to create a flat TV'>Simple guide on how to create a flat TV</a></li>
<li><a href='http://www.burnabrain.com/horsepower/' rel='bookmark' title='HorsePower'>HorsePower</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-53 alignleft" title="brainer_sciencestein" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/brainer_sciencestein.jpg" alt="" width="150" height="110" />This article is designed to help you make a very simple hit counter for your php enabled website.  I will talk you through each stage and explain both what is happening and why. There are many ways that we can achieve our goal of creating a visitor counter using PHP.  In this article I will show you how to create one using a text file and how to incorporate it into any page using a simple code snippet.</p>
<p class="componentheading">Requirements</p>
<ul>
<li>A strong grasp of HTML  is reccomended before attempting to tackle PHP.</li>
</ul>
<ul>
<li>A PHP enabled web server running PHP 4.x.x or higher on either a unix or Microsoft Windows platform.</li>
<li>This is a basic article, however some knowledge of PHP is desired, such as what functions are, what variables are and the basics of the syntax in general.</li>
</ul>
<p><span id="more-17"></span></p>
<p class="componentheading">The Basics</p>
<p>The very 1st thing we need to do is decide where the text file we are going to store our visitor count is going to be on the server.  You can choose to place it anywhere you like, in the example we use the path <strong>c:\htdocs</strong> and the file is called <strong>counter.txt.</strong> This means we have a full path for the file that will store our visitor count of<strong> c:\htdocs\counter.txt</strong>.</p>
<p>Open this file up, type in the number &#8217;0&#8242; &#8211; without the quotes &#8211; save it and exit.  We have now set our counter to 0, or zero.  Our script is going to use this file as a reference to see how many people have visited our site and then increment it for every new visitor.</p>
<p>Our second decision is what are we going to call our file.  The file is seperate from the pages you wish to monitor, and as discussed briefly in the Introduction we will cover how to include it in your other pages a bit later.  For the purposes of the tutorial I have named our file <strong>visitorcount.php</strong>.  You need to create this file, again, wherever you like, it does NOT have to be in a directory your webserver can access.</p>
<p>So by now we should have two files:  counter.txt and visitorcount.php</p>
<p class="componentheading">The Code</p>
<p>The first thing we will do is define the name of the file that will record the number of visitors and reference this to a variable. This is the file counter.txt that we created earlier.</p>
<p><!-- PARSE RESULT  --> <span style="color: #000000;"> <span style="color: #ff8000;">//define the file name and its path<br />
</span><span style="color: #0000bb;">$filename </span><span style="color: #007700;">= </span><span style="color: #dd0000;">&#8220;c:\\htdocs\\counter.txt&#8221;</span><span style="color: #007700;">;</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//note we escape the backslashes in the file system path </span></span><br />
Then we need to open the file for reading so we can check the current value, and have this referenced to a variable. <span style="color: #000000;"><span style="color: #ff8000;">//open the file<br />
</span><span style="color: #0000bb;">$handle </span><span style="color: #007700;">= </span><span style="color: #0000bb;">fopen</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$filename</span><span style="color: #007700;">, </span><span style="color: #dd0000;">&#8220;rb&#8221;</span><span style="color: #007700;">) or die (</span><span style="color: #dd0000;">&#8220;Failed to open the file&#8221;</span><span style="color: #007700;">);</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//note we are using this on a windows system and</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//thus use the &#8220;b&#8221; parameter as it is a Binary file system. </span></span><br />
Next we need to read the current value in the file, so we can then add 1 to it to represent our latest visitor. <span style="color: #000000;"><span style="color: #ff8000;">//read the contents of the file, in our case it will be an integer<br />
</span></span><span style="color: #000000;"><span style="color: #0000bb;">$data </span><span style="color: #007700;">= </span><span style="color: #0000bb;">fread</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$handle</span><span style="color: #007700;">, </span><span style="color: #0000bb;">filesize</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$filename</span><span style="color: #007700;">)) or die (</span><span style="color: #dd0000;">&#8220;Failed to read the file&#8221;</span><span style="color: #007700;">); </span></span></p>
<p><span style="color: #000000;"><span style="color: #ff8000;">//lets now add 1 to the number we read, therefore recording our new visitor<br />
</span><span style="color: #0000bb;">$data </span><span style="color: #007700;">= </span><span style="color: #0000bb;">$data </span><span style="color: #007700;">+ </span><span style="color: #0000bb;">1</span><span style="color: #007700;">;</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//note we take the variable $data and simply add one to it, reusing</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//the previously defined variable for ease. </span></span><br />
Then we close the file for now. <span style="color: #000000;"><span style="color: #0000bb;">fclose</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$handle</span><span style="color: #007700;">);</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//and close the file as we dont need it any more </span></span><br />
The next part uses slightly different methods, the reason for this is just to show there are many ways to identical actions using PHP. It is time to write our new value to the file. We check that the file is writeable (i.e has the correct permissions set on the server). The code below is commented and speaks for itself.</p>
<p><span style="color: #000000;"><span style="color: #ff8000;">//lets now write to our file.<br />
//make sure the file exists and is writable first.<br />
</span><span style="color: #007700;">if (</span><span style="color: #0000bb;">is_writable</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$filename</span><span style="color: #007700;">)) {</span></span></p>
<p><span style="color: #ff8000;">//if it isnt then throw up an error and exit the script.<br />
</span><span style="color: #007700;">if (!</span><span style="color: #0000bb;">$handle </span><span style="color: #007700;">= </span><span style="color: #0000bb;">fopen</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$filename</span><span style="color: #007700;">, </span><span style="color: #dd0000;">&#8216;wb&#8217;</span><span style="color: #007700;">)) {</span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//note the useage of &#8220;wb&#8221; in fopen() &#8216;s mode parameter</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//as we are Writing(w) to a binary file system(b).<br />
</span><span style="color: #007700;">echo </span><span style="color: #dd0000;">&#8220;Failed to open the file&#8221;</span><span style="color: #007700;">;</span></span><br />
<span style="color: #ff8000;">//this is the error message it will show if the file is not writeable </span><span style="color: #000000;"><span style="color: #007700;"><br />
exit;<br />
}</span></span></p>
<p><span style="color: #ff8000;">// If it is writeable lets write our new number to our opened file.<br />
</span><span style="color: #007700;">if (</span><span style="color: #0000bb;">fwrite</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$handle</span><span style="color: #007700;">, </span><span style="color: #0000bb;">$data</span><span style="color: #007700;">) === </span><span style="color: #0000bb;">FALSE</span><span style="color: #007700;">) {<br />
echo </span><span style="color: #dd0000;">&#8220;Failed to write to the file&#8221;</span><span style="color: #007700;">; </span><span style="color: #ff8000;">//error and exit if failed.<br />
</span><span style="color: #007700;">exit;<br />
} </span></p>
<p>If all was succesful and we updated the file with the new value, we can then echo out the visitor number, or hit count. If you want to keep this data private just comment the line below out. <span style="color: #000000;"><span style="color: #007700;"><br />
echo </span><span style="color: #dd0000;">&#8220;Welcome visitor number $data&#8221;</span><span style="color: #007700;">; </span></span><br />
Then we close the file. <span style="color: #000000;"><span style="color: #007700;"><br />
</span><span style="color: #0000bb;">fclose</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$handle</span><span style="color: #007700;">); </span><span style="color: #ff8000;">//and close the file as we dont need it any more</span></span></p>
<p><span style="color: #007700;">} else { </span><br />
This is the error we show if we can not access the file. <span style="color: #000000;"><span style="color: #007700;"> echo </span><span style="color: #dd0000;">&#8220;The file is not accessable.&#8221;</span><span style="color: #007700;">; </span><span style="color: #ff8000;">//error and exit if failed<br />
</span><span style="color: #007700;">exit();<br />
} </span></span><br />
Now we need a way to make this work on our website. To include this in any php page on your website simply include the page at the point you wish the counter to be displayed. You can format the number with HTML as normal.</p>
<p><span style="color: #0000bb;">&lt;?php </span><span style="color: #007700;">include_once(</span><span style="color: #dd0000;">&#8220;visitorcount.php&#8221;</span><span style="color: #007700;">);</span><span style="color: #0000bb;">?&gt;<br />
</span><br />
And thats it. A very simple hit counter using php and a text file. The full interupted code is below.</p>
<p>&lt;?php</p>
<p><span style="color: #000000;"><span style="color: #0000bb;"> </span><span style="color: #ff8000;">//define the file name and its path<br />
</span><span style="color: #0000bb;">$filename </span><span style="color: #007700;">= </span><span style="color: #dd0000;">&#8220;c:\\htdocs\\counter.txt&#8221;</span><span style="color: #007700;">;</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//note we escape the backslashes in the file system path</span></span></p>
<p>//open the file<br />
<span style="color: #0000bb;">$handle </span><span style="color: #007700;">= </span><span style="color: #0000bb;">fopen</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$filename</span><span style="color: #007700;">, </span><span style="color: #dd0000;">&#8220;rb&#8221;</span><span style="color: #007700;">) or die (</span><span style="color: #dd0000;">&#8220;Failed to open the file&#8221;</span><span style="color: #007700;">);</span><span style="color: #000000;"><span style="color: #ff8000;"><br />
//note we are using this on a windows system and thus use the</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//&#8221;b&#8221; parameter as it is a Binary file system.</span></span></p>
<p>//read the contents of the file, in our case it will be an integer<br />
<span style="color: #0000bb;">$data </span><span style="color: #007700;">= </span><span style="color: #0000bb;">fread</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$handle</span><span style="color: #007700;">, </span><span style="color: #0000bb;">filesize</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$filename</span><span style="color: #007700;">)) or die (</span><span style="color: #dd0000;">&#8220;Failed to read the file&#8221;</span><span style="color: #007700;">);</span></p>
<p><span style="color: #ff8000;">//lets now add 1 to the number we read, therefore recording our new visitor<br />
</span><span style="color: #0000bb;">$data </span><span style="color: #007700;">= </span><span style="color: #0000bb;">$data </span><span style="color: #007700;">+ </span><span style="color: #0000bb;">1</span><span style="color: #007700;">;</span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//note we take the variable $data and simply add one to it,</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//reusing the previously defined variable for ease.</span></span></p>
<p><span style="color: #0000bb;">fclose</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$handle</span><span style="color: #007700;">); </span><span style="color: #ff8000;">//and close the file as we dont need it any more</span></p>
<p>//lets now write to our file.<br />
//make sure the file exists and is writable first.<br />
<span style="color: #007700;">if (</span><span style="color: #0000bb;">is_writable</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$filename</span><span style="color: #007700;">)) {</span></p>
<p><span style="color: #ff8000;">//if it isnt then throw up an error and exit the script.<br />
</span><span style="color: #007700;">if (!</span><span style="color: #0000bb;">$handle </span><span style="color: #007700;">= </span><span style="color: #0000bb;">fopen</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$filename</span><span style="color: #007700;">, </span><span style="color: #dd0000;">&#8216;wb&#8217;</span><span style="color: #007700;">)) { </span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//note the useage of &#8220;wb&#8221; in fopen() &#8216;s mode parameter as</span></span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//we are Writing(w) to a binary file system(b).<br />
</span><span style="color: #007700;">echo </span><span style="color: #dd0000;">&#8220;Failed to open the file&#8221;</span><span style="color: #007700;">;<br />
exit;<br />
}</span></span></p>
<p><span style="color: #ff8000;">// Write our new number to our opened file.<br />
</span><span style="color: #007700;">if (</span><span style="color: #0000bb;">fwrite</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$handle</span><span style="color: #007700;">, </span><span style="color: #0000bb;">$data</span><span style="color: #007700;">) === </span><span style="color: #0000bb;">FALSE</span><span style="color: #007700;">) {<br />
echo </span><span style="color: #dd0000;">&#8220;Failed to write to the file&#8221;</span><span style="color: #007700;">;</span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//error and exit if failed.<br />
</span><span style="color: #007700;">exit;<br />
}</span></span></p>
<p>echo <span style="color: #dd0000;">&#8220;Welcome visitor number $data&#8221;</span><span style="color: #007700;">;</span></p>
<p><span style="color: #0000bb;">fclose</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$handle</span><span style="color: #007700;">); </span><span style="color: #ff8000;">//and close the file as we dont need it any more</span></p>
<p><span style="color: #007700;">} else {<br />
echo </span><span style="color: #dd0000;">&#8220;The file is not accessable.&#8221;</span><span style="color: #007700;">; </span><span style="color: #ff8000;">//error and exit if failed<br />
</span><span style="color: #007700;">exit();<br />
}</span></p>
<p><span style="color: #0000bb;">?&gt;<br />
</span><br />
<span style="color: #0000bb;">&lt;?php<br />
</span><span style="color: #ff8000;">//THIS IS TO BE USED ON THE PAGE THAT YOU</span><br />
<span style="color: #000000;"><span style="color: #ff8000;">//WANT THE COUNTER TO WORK ON &#8211; NOT AS PART OF THE MAIN CODE!<br />
</span><span style="color: #007700;">include_once(</span><span style="color: #dd0000;">&#8220;visitorcount.php&#8221;</span><span style="color: #007700;">);<br />
</span><span style="color: #0000bb;">?&gt;<br />
</span> </span></p>
<p>Related posts:<ol>
<li><a href='http://www.burnabrain.com/simple-facts/' rel='bookmark' title='Simple Facts'>Simple Facts</a></li>
<li><a href='http://www.burnabrain.com/create-flat-tv/' rel='bookmark' title='Simple guide on how to create a flat TV'>Simple guide on how to create a flat TV</a></li>
<li><a href='http://www.burnabrain.com/horsepower/' rel='bookmark' title='HorsePower'>HorsePower</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.burnabrain.com/simple-php-visitor-counter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Welcome to BurnABrain.com</title>
		<link>http://www.burnabrain.com/welcome-to-burnabraincom/</link>
		<comments>http://www.burnabrain.com/welcome-to-burnabraincom/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 04:32:19 +0000</pubDate>
		<dc:creator>Brainiac</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[burn a brain]]></category>
		<category><![CDATA[join]]></category>
		<category><![CDATA[team]]></category>

		<guid isPermaLink="false">http://www.burnabrain.com/?p=26</guid>
		<description><![CDATA[You might ask your self what is burnabrain? A collective effort of individuals to transfer their thoughts, views, knowledge to others. Information was, is and will be Internet&#8217;s greatest breakthrough. We, as burnabrain like to share it with the rest of the world. It&#8217;s all about things we know, things we care about and things [...]
Related posts:<ol>
<li><a href='http://www.burnabrain.com/chuck-norris-approves-burnabrain/' rel='bookmark' title='Chuck Norris approves Burnabrain!'>Chuck Norris approves Burnabrain!</a></li>
<li><a href='http://www.burnabrain.com/like-it-share-it-with-your-friends/' rel='bookmark' title='Like it? Share it with your friends!'>Like it? Share it with your friends!</a></li>
<li><a href='http://www.burnabrain.com/some-people-are-nice/' rel='bookmark' title='Some people are nice&#8230;'>Some people are nice&#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-48" title="brainer_people" src="http://burnabrain.s3.amazonaws.com/wp-content/uploads/2008/10/brainer_people.jpg" alt="" width="150" height="110" />You might ask your self what is burnabrain? A collective effort of individuals to transfer their thoughts, views, knowledge to others. Information was, is and will be Internet&#8217;s greatest breakthrough. We, as burnabrain like to share it with the rest of the world.<br />
It&#8217;s all about things we know, things we care about and things we&#8217;d like to share with you.<br />
Stay tuned, we&#8217;re here to stay.</p>
<p>Replies to Questions you Might Think, Before you Think About Them!<br />
� Do you know everything and like to share with the rest of the world your god-like knowledge?<br />
� Nope, thats why we&#8217;re a community. If we knew everything, each one of us would create a site of his/her own. That&#8217;s what we bet on. Create a core and make it evolve.</p>
<p>� How many people are involved into this site?<br />
� The core team consists of 7 people. Each one has specific tasks appart from personal content submitting. Editing Front and Back-End functions, Reviewing articles, Programming, are all handled by us. But our biggest reward would be to see more people getting motivated by our work, therefore we would be more that pleased to see those 7 people become more.<br />
It&#8217;s up to You.</p>
<p>� Can i become a part of the team? And how?<br />
� If you have good writting skills, passion to share your knowledge to the world, if you are curious of how many people will find your article helpfull, if you like to know us better, or if you can help our efforts in any that you can think of, drop us an email at: info|at|burnabrain|dot|com or Message me from the site messaging system.<br />
Join the team now</p>
<p>Related posts:<ol>
<li><a href='http://www.burnabrain.com/chuck-norris-approves-burnabrain/' rel='bookmark' title='Chuck Norris approves Burnabrain!'>Chuck Norris approves Burnabrain!</a></li>
<li><a href='http://www.burnabrain.com/like-it-share-it-with-your-friends/' rel='bookmark' title='Like it? Share it with your friends!'>Like it? Share it with your friends!</a></li>
<li><a href='http://www.burnabrain.com/some-people-are-nice/' rel='bookmark' title='Some people are nice&#8230;'>Some people are nice&#8230;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.burnabrain.com/welcome-to-burnabraincom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 3/80 queries in 0.020 seconds using apc
Object Caching 2000/2088 objects using apc
Content Delivery Network via Amazon Web Services: S3: burnabrain.s3.amazonaws.com

Served from: burnabrain.com @ 2012-02-04 20:12:21 -->
