<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Hack Community - The Best Ethical Hacking Forums - Web Development]]></title>
		<link>http://www.hackcommunity.com/</link>
		<description><![CDATA[Hack Community - The Best Ethical Hacking Forums - http://www.hackcommunity.com]]></description>
		<pubDate>Wed, 19 Jun 2013 09:25:17 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[HTML help for touch screen devices]]></title>
			<link>http://www.hackcommunity.com/Thread-HTML-help-for-touch-screen-devices</link>
			<pubDate>Sat, 15 Jun 2013 20:28:47 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-HTML-help-for-touch-screen-devices</guid>
			<description><![CDATA[I am building a website and in testing it i find that the when i access it through a ipad the touch feature will not activate the links. Do i need to change the code to get it to work with the touch screen??]]></description>
			<content:encoded><![CDATA[I am building a website and in testing it i find that the when i access it through a ipad the touch feature will not activate the links. Do i need to change the code to get it to work with the touch screen??]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[HackCommunity MyBB Settings?]]></title>
			<link>http://www.hackcommunity.com/Thread-HackCommunity-MyBB-Settings</link>
			<pubDate>Mon, 27 May 2013 13:56:42 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-HackCommunity-MyBB-Settings</guid>
			<description><![CDATA[Hi HC Team!<br />
<br />
I am also running our own MyBB community but it is not security related and to cut things straight, I was inspired by HC's settings (especially when you guys used MyBB as forum provider)<br />
<br />
May I know what plugins or hacks did you used to jumble around things here? I am guessing you installed Tabbed Menu as one of the plugins but I can't seem to pin point if you have another plugin for the dropdown menu.<br />
<br />
Feel free to enlighten me, thank you!]]></description>
			<content:encoded><![CDATA[Hi HC Team!<br />
<br />
I am also running our own MyBB community but it is not security related and to cut things straight, I was inspired by HC's settings (especially when you guys used MyBB as forum provider)<br />
<br />
May I know what plugins or hacks did you used to jumble around things here? I am guessing you installed Tabbed Menu as one of the plugins but I can't seem to pin point if you have another plugin for the dropdown menu.<br />
<br />
Feel free to enlighten me, thank you!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Text To Binary]]></title>
			<link>http://www.hackcommunity.com/Thread-Text-To-Binary</link>
			<pubDate>Thu, 16 May 2013 23:18:09 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Text-To-Binary</guid>
			<description><![CDATA[Here's a quick string to binary converter I wrote using JS:<br />
<img src="http://i.imgur.com/3vmHN0q.png" border="0" alt="[Image: 3vmHN0q.png]" /><br />
<br />
Webpage Code:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;body&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;input id="strInput" type=inputfield onclick="" value=""&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=button onclick="javascript:document.getElementById('binOutput').value = document.getElementById('strInput').value.split('').map(function(n){return(Math.&#8203;pow(10,8)+~~n.charCodeAt(0).toString(2)).toString().substring(1);}).join('')" value="Convert To Binary"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;textarea id="binOutput" style="width: 800px; padding: 5px; height: 300px; display: block; font-family:Sans-serif; font-size:9pt;"&gt;&lt;/textarea&gt;<br />
&lt;/body&gt;</code></div></div>
<br />
*I put the function in directly just because I didn't want to bother making everything on the webpage fancy and organized. If someone wants it better, they can improve it if they want.<br />
<br />
Could be handy for someone to make a collection of these converters and save it to disk for a browser bookmark; convenience purposes. <img src="images/smilies/grin.gif" style="vertical-align: middle;" border="0" alt="Grin" title="Grin" /> Even hashing perhaps, not just conversions. We could come up with a collective bunch of things to put on a single webpage to be used as a tool.<br />
<br />
The way this works is we split the string up into a character array, before passing it to map() which takes the augmented function for performing an action on every subsequent element of the provided array, before joining it all back together. If you want spaces in between each 8 bit binary string, just use <span style="color: #C075FF;">join(' ')</span> at the end instead.<br />
<br />
For the function that is performed on each individual char in the string, we add the value of Math.pow(10,8) to the value of the floored value of the char code of the character in question cast to a base 2 value from the toString(2) function, and then cast this numeric value back to a string and call substring(1) on the result to get rid of the additional front '1' that we don't want. This '1' is essential when casting back to a string because if the number started with a 0, those would all get removed in it's numeric format.<br />
<br />
for instance:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>alert(0001.toString())</code></div></div>
<br />
Would return '1', not '0001'. The value of Math.pow(10,8) is 100000000, meaning it won't affect any of the other values when added to the binary result of the char code because the remaining significant digits are all 0's.<br />
<br />
edit: I guess instead of Math.pow() you could just use the value itself.. Doesn't really matter though much.<br />
enjoy <img src="images/smilies/smoke.gif" style="vertical-align: middle;" border="0" alt="Smoke" title="Smoke" />]]></description>
			<content:encoded><![CDATA[Here's a quick string to binary converter I wrote using JS:<br />
<img src="http://i.imgur.com/3vmHN0q.png" border="0" alt="[Image: 3vmHN0q.png]" /><br />
<br />
Webpage Code:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;body&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;input id="strInput" type=inputfield onclick="" value=""&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=button onclick="javascript:document.getElementById('binOutput').value = document.getElementById('strInput').value.split('').map(function(n){return(Math.&#8203;pow(10,8)+~~n.charCodeAt(0).toString(2)).toString().substring(1);}).join('')" value="Convert To Binary"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;textarea id="binOutput" style="width: 800px; padding: 5px; height: 300px; display: block; font-family:Sans-serif; font-size:9pt;"&gt;&lt;/textarea&gt;<br />
&lt;/body&gt;</code></div></div>
<br />
*I put the function in directly just because I didn't want to bother making everything on the webpage fancy and organized. If someone wants it better, they can improve it if they want.<br />
<br />
Could be handy for someone to make a collection of these converters and save it to disk for a browser bookmark; convenience purposes. <img src="images/smilies/grin.gif" style="vertical-align: middle;" border="0" alt="Grin" title="Grin" /> Even hashing perhaps, not just conversions. We could come up with a collective bunch of things to put on a single webpage to be used as a tool.<br />
<br />
The way this works is we split the string up into a character array, before passing it to map() which takes the augmented function for performing an action on every subsequent element of the provided array, before joining it all back together. If you want spaces in between each 8 bit binary string, just use <span style="color: #C075FF;">join(' ')</span> at the end instead.<br />
<br />
For the function that is performed on each individual char in the string, we add the value of Math.pow(10,8) to the value of the floored value of the char code of the character in question cast to a base 2 value from the toString(2) function, and then cast this numeric value back to a string and call substring(1) on the result to get rid of the additional front '1' that we don't want. This '1' is essential when casting back to a string because if the number started with a 0, those would all get removed in it's numeric format.<br />
<br />
for instance:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>alert(0001.toString())</code></div></div>
<br />
Would return '1', not '0001'. The value of Math.pow(10,8) is 100000000, meaning it won't affect any of the other values when added to the binary result of the char code because the remaining significant digits are all 0's.<br />
<br />
edit: I guess instead of Math.pow() you could just use the value itself.. Doesn't really matter though much.<br />
enjoy <img src="images/smilies/smoke.gif" style="vertical-align: middle;" border="0" alt="Smoke" title="Smoke" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Anyone with free time on their hands?]]></title>
			<link>http://www.hackcommunity.com/Thread-Anyone-with-free-time-on-their-hands</link>
			<pubDate>Wed, 15 May 2013 20:39:51 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Anyone-with-free-time-on-their-hands</guid>
			<description><![CDATA[Comic shop just opened around here and the owner needs a website done. A friend of mine works there and asked me to build it and I could charge him but I only know HTML basics. Would I at least need JavaScript or PHP? But even then I grade my work on HTML as awful.<br />
<br />
Would anyone be willing to help out or even create the site for this man as I arrange payment through PayPal? Or if anyone has good sources to learn basics for the other 2 languages. Send a PM if you're free and to set it all up. It shouldn't be a magnificent, heavy coded site only something simple - it's a comic shop.]]></description>
			<content:encoded><![CDATA[Comic shop just opened around here and the owner needs a website done. A friend of mine works there and asked me to build it and I could charge him but I only know HTML basics. Would I at least need JavaScript or PHP? But even then I grade my work on HTML as awful.<br />
<br />
Would anyone be willing to help out or even create the site for this man as I arrange payment through PayPal? Or if anyone has good sources to learn basics for the other 2 languages. Send a PM if you're free and to set it all up. It shouldn't be a magnificent, heavy coded site only something simple - it's a comic shop.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What you think?]]></title>
			<link>http://www.hackcommunity.com/Thread-What-you-think</link>
			<pubDate>Tue, 14 May 2013 20:32:41 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-What-you-think</guid>
			<description><![CDATA[Has been a long time since i updated my webiste.What you think of<br />
<br />
 <a href="http://hackarchives.org" target="_blank">http://hackarchives.org</a> <br />
<br />
Please give reviews in terms of content,challenges, design and features.<br />
<br />
All type of reviews are welcome <img src="images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" />]]></description>
			<content:encoded><![CDATA[Has been a long time since i updated my webiste.What you think of<br />
<br />
 <a href="http://hackarchives.org" target="_blank">http://hackarchives.org</a> <br />
<br />
Please give reviews in terms of content,challenges, design and features.<br />
<br />
All type of reviews are welcome <img src="images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help me get themeforest]]></title>
			<link>http://www.hackcommunity.com/Thread-Help-me-get-themeforest</link>
			<pubDate>Tue, 14 May 2013 14:31:36 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Help-me-get-themeforest</guid>
			<description><![CDATA[Hi.<br />
Can anybody help me get themeforest at address <a href="http://themeforest.net/item/academy-learning-management-theme/full_screen_preview/4169073" target="_blank">http://themeforest.net/item/academy-lear...ew/4169073</a>     ?<br />
I need it but i can't have money order that buy it.<br />
<br />
Thank.]]></description>
			<content:encoded><![CDATA[Hi.<br />
Can anybody help me get themeforest at address <a href="http://themeforest.net/item/academy-learning-management-theme/full_screen_preview/4169073" target="_blank">http://themeforest.net/item/academy-lear...ew/4169073</a>     ?<br />
I need it but i can't have money order that buy it.<br />
<br />
Thank.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Setting Up Mybb On 000webhost]]></title>
			<link>http://www.hackcommunity.com/Thread-Tutorial-Setting-Up-Mybb-On-000webhost</link>
			<pubDate>Mon, 13 May 2013 14:09:07 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Tutorial-Setting-Up-Mybb-On-000webhost</guid>
			<description><![CDATA[<img src="http://i.imgur.com/gBCMUWW.png" border="0" alt="[Image: gBCMUWW.png]" /><br />
<br />
<img src="http://i.imgur.com/DsHrSr3.png" border="0" alt="[Image: DsHrSr3.png]" /><br />
<br />
<img src="http://i.imgur.com/r2heMaB.png" border="0" alt="[Image: r2heMaB.png]" /><br />
<br />
<span style="font-weight: bold;"><span style="color: #FFFFFF;">MyBB, originally MyBulletinBoard, is a free and open source forum software which is developed by the MyBB Group. It is written in PHP, supports MySQL, PostgreSQL and SQLite as database systems and has database failover support. It is licensed under the LGPL.It is extremely easy to use.Infact this forum is made with mybb.<br />
For additional information , <a href="http://en.wikipedia.org/wiki/MyBB" target="_blank">click me</a></span></span><br />
<br />
<img src="http://i.imgur.com/KNWA568.png" border="0" alt="[Image: KNWA568.png]" /><br />
<br />
000webhost.com lets you host your website for free. It provide you 1500 mb storage without any ads.<br />
Best of all , it allows you to host your own ads in your website. In other words , its 'better than paid hosting'.<br />
<div><div class="quote_header">More Features <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='<button>Click to View</button>';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='<button>Click to Hide</button>';}"><button>Click to View</button></a></div><div class="quote_body" style="display: none;"><img src="http://i.imgur.com/TG67xvq.png" border="0" alt="[Image: TG67xvq.png]" /><br />
<img src="http://i.imgur.com/4hqU9Az.png" border="0" alt="[Image: 4hqU9Az.png]" /><br />
<img src="http://i.imgur.com/Bma0DKh.png" border="0" alt="[Image: Bma0DKh.png]" /></div></div>
<img src="http://i.imgur.com/zgbvhTX.png" border="0" alt="[Image: zgbvhTX.png]" /><br />
First of all , we need to download mybb 1.6.10. So go to -&gt; <a href="http://www.mybb.com/downloads" target="_blank">http://www.mybb.com/downloads</a> and click on download now button on the right side. Open and extract the zip file to your desktop [ or elsewhere that suits you ].<br />
Just ignore the documentation file. What we will be using basically is the upload folder.<br />
<br />
Open up the upload folder and add all the files to a zip archive. We need to do this so that we can upload it to 000webhost without using a ftp software.<br />
Here's the Gif animation for those who don't get it-<br />
<br />
<img src="http://i.imgur.com/JBq7RpQ.gif" border="0" alt="[Image: JBq7RpQ.gif]" /><br />
<br />
Now we need to create an account at <a href="http://www.000webhost.com" target="_blank">http://www.000webhost.com</a>. So head up there and make an account. I believe that you don't require a tutorial on how to register an account. Or do you? If so , give me a pm and I'll modify the thread.<br />
Now login to your account.<br />
You should have something like this-<br />
<img src="http://i.imgur.com/5hxtHSr.png" border="0" alt="[Image: 5hxtHSr.png]" /><br />
<br />
Click on create new button at the top. In the 2nd textbox [ sub domain ] , enter the url you wish to have.<br />
Enter a good password and click on 'setup new account'. Now open up the cpanel of your domain, which in my case is <br />
testforums.hostei.com. Then go to file manager.<br />
If you dont know which is the file manager , here it is-<br />
<img src="http://i.imgur.com/IJz7poD.png" border="0" alt="[Image: IJz7poD.png]" /><br />
<span style="color: #FF4500;">Note: Sometimes your session may expire and you will have to re-enter your password.</span><br />
After the file manager is loaded click on 'public html' folder.Always remember that the websites content [ whatever it is ] should be uploaded to the public folder.<br />
The file manager should look something like this-<br />
<img src="http://i.imgur.com/QWfDCdz.png" border="0" alt="[Image: QWfDCdz.png]" /><br />
<br />
Now click on upload button at the top. <br />
<img src="http://i.imgur.com/WGlXQ8r.png" border="0" alt="[Image: WGlXQ8r.png]" /><br />
<br />
Click on 'choose file' button on  the right side [ i.e the archive section ].<br />
Browse and choose the the zip archive containing the upload files.<br />
After selecting the file , click on the <img src="http://i.imgur.com/DpSKtkn.png" border="0" alt="[Image: DpSKtkn.png]" /> icon at the top.<br />
Click on <img src="http://i.imgur.com/DpSKtkn.png" border="0" alt="[Image: DpSKtkn.png]" /> button , again after upload.<br />
Now click on <img src="http://i.imgur.com/ZiKmnhU.png" border="0" alt="[Image: ZiKmnhU.png]" /> button to go back to the  file manager.<br />
Now you should have something like this-<br />
<img src="http://i.imgur.com/LhlEjoc.png" border="0" alt="[Image: LhlEjoc.png]" /><br />
The next thing we have to do is rename the config.default.php to config.php.<br />
So click on the 'inc' folder. Select the config.default.php file and click on rename from the top right section.<br />
In the new textbox enter - 'config.php'. It should look like this-<br />
<img src="http://i.imgur.com/2LIDEpr.png" border="0" alt="[Image: 2LIDEpr.png]" /><br />
<br />
Click on the green tick [ submit ]. It will show that the file was renamed successfully. Click the back button [ an arrow ].<br />
<br />
Now we're done with setting up the installer. But we still need to install Mybb.<br />
So go to yourwebsite/install<br />
For eg- my website is - <a href="http://testforums.hostei.com/." target="_blank">http://testforums.hostei.com/.</a><br />
Therefore I need to browse to <a href="http://testforums.hostei.com/install" target="_blank">http://testforums.hostei.com/install</a><br />
<br />
Now you should see the setup menu ( or so i like to call it xD ) which would look like this -<br />
<img src="http://i.imgur.com/kreFYJE.png" border="0" alt="[Image: kreFYJE.png]" /><br />
Click Next.<br />
Click Next again.<br />
Click Next again [ If you meet the minimum requirements ].<br />
Finally , we have arrived at the Database Configuration part of the setup.<br />
So, we need to create a database for the users.<br />
Head up to your 000Webhost Cpanel and select "MySql" from "Software / Services".<br />
Enter any text [ something related ] for mysql_database name and mysql_database username.<br />
Enter a good password.<br />
Heres me doing it-<br />
<img src="http://i.imgur.com/TRfUBVD.gif" border="0" alt="[Image: TRfUBVD.gif]" /><br />
<br />
Now you should have something like this -<br />
<img src="http://i.imgur.com/Oi9gYIw.png" border="0" alt="[Image: Oi9gYIw.png]" /><br />
Go the setup and fill up everything. Choose database engine as 'MySql'.<br />
Heres how you fill it [ #SpoonFeeding ]<br />
<img src="http://i.imgur.com/EIyi0tJ.png" border="0" alt="[Image: EIyi0tJ.png]" /><br />
Now keep on pressing 'next' until you reach Board Configuration. <br />
Use your common sense to fill it up. Leave Cookie Settings and Website url as such.<br />
It should look somewhat like this -<br />
<img src="http://i.imgur.com/FUf1qEY.png" border="0" alt="[Image: FUf1qEY.png]" /><br />
Click Next.Again , use your common sense to fill it up.<br />
Finally , click the last next button.Now you should see a message , telling you that your forum was successfully<br />
created. Browse to your website / forum , login to the admin account and customize your forum. <br />
Heres how your forum should look-<br />
<img src="http://i.imgur.com/q0qyB9S.png" border="0" alt="[Image: q0qyB9S.png]" /><br />
<br />
<img src="http://i.imgur.com/DsHrSr3.png" border="0" alt="[Image: DsHrSr3.png]" /><br />
<br />
More tutorials.<br />
These videos do not belong to me , credits goes to the ones who made them.<br />
<br />
<span style="color: #32CD32;"><span style="font-weight: bold;">#1 - How to install themes on Mybb</span></span><br />
<!-- start: video_youtube_embed --><br />
<object type="application/x-shockwave-flash" class="video_embed" style="width: 450px; height: 366px;" data="http://www.youtube.com/v/u0Ut5GA2a8A"><param name="movie" value="http://www.youtube.com/v/u0Ut5GA2a8A" /></object><br />
<!-- end: video_youtube_embed --><br />
<span style="color: #32CD32;"><span style="font-weight: bold;">#1 - How to install plugins on Mybb</span></span><br />
<!-- start: video_youtube_embed --><br />
<object type="application/x-shockwave-flash" class="video_embed" style="width: 450px; height: 366px;" data="http://www.youtube.com/v/DHV5pozeU_8"><param name="movie" value="http://www.youtube.com/v/DHV5pozeU_8" /></object><br />
<!-- end: video_youtube_embed --><br />
<br />
<img src="http://i.imgur.com/DsHrSr3.png" border="0" alt="[Image: DsHrSr3.png]" /><br />
<br />
So with this , Guest , we reach the end of the tutorial.<br />
<br />
<span style="font-weight: bold;">Credits:-<br />
<br />
Tutorial -</span> <span style="color: #32CD32;"><span style="font-weight: bold;">XxGreenLanternxX</span></span><br />
<br />
<span style="color: #32CD32;"><span style="font-style: italic;"><span style="font-weight: bold;">Thanks to Mybb Team for their free and open source Forum Software</span></span></span><br />
<br />
<span style="color: #C71585;"><span style="font-weight: bold;">I took 2 hours to make this tutorial , it would take you 5 seconds to thank me ( if i've helped ).<br />
I hope you will at least show the courtesy to comment.</span></span>]]></description>
			<content:encoded><![CDATA[<img src="http://i.imgur.com/gBCMUWW.png" border="0" alt="[Image: gBCMUWW.png]" /><br />
<br />
<img src="http://i.imgur.com/DsHrSr3.png" border="0" alt="[Image: DsHrSr3.png]" /><br />
<br />
<img src="http://i.imgur.com/r2heMaB.png" border="0" alt="[Image: r2heMaB.png]" /><br />
<br />
<span style="font-weight: bold;"><span style="color: #FFFFFF;">MyBB, originally MyBulletinBoard, is a free and open source forum software which is developed by the MyBB Group. It is written in PHP, supports MySQL, PostgreSQL and SQLite as database systems and has database failover support. It is licensed under the LGPL.It is extremely easy to use.Infact this forum is made with mybb.<br />
For additional information , <a href="http://en.wikipedia.org/wiki/MyBB" target="_blank">click me</a></span></span><br />
<br />
<img src="http://i.imgur.com/KNWA568.png" border="0" alt="[Image: KNWA568.png]" /><br />
<br />
000webhost.com lets you host your website for free. It provide you 1500 mb storage without any ads.<br />
Best of all , it allows you to host your own ads in your website. In other words , its 'better than paid hosting'.<br />
<div><div class="quote_header">More Features <a href="javascript:void(0);" onclick="javascript:if(parentNode.parentNode.getElementsByTagName('div')[1].style.display=='block'){parentNode.parentNode.getElementsByTagName('div')[1].style.display='none';this.innerHTML='<button>Click to View</button>';}else {parentNode.parentNode.getElementsByTagName('div')[1].style.display='block';this.innerHTML='<button>Click to Hide</button>';}"><button>Click to View</button></a></div><div class="quote_body" style="display: none;"><img src="http://i.imgur.com/TG67xvq.png" border="0" alt="[Image: TG67xvq.png]" /><br />
<img src="http://i.imgur.com/4hqU9Az.png" border="0" alt="[Image: 4hqU9Az.png]" /><br />
<img src="http://i.imgur.com/Bma0DKh.png" border="0" alt="[Image: Bma0DKh.png]" /></div></div>
<img src="http://i.imgur.com/zgbvhTX.png" border="0" alt="[Image: zgbvhTX.png]" /><br />
First of all , we need to download mybb 1.6.10. So go to -&gt; <a href="http://www.mybb.com/downloads" target="_blank">http://www.mybb.com/downloads</a> and click on download now button on the right side. Open and extract the zip file to your desktop [ or elsewhere that suits you ].<br />
Just ignore the documentation file. What we will be using basically is the upload folder.<br />
<br />
Open up the upload folder and add all the files to a zip archive. We need to do this so that we can upload it to 000webhost without using a ftp software.<br />
Here's the Gif animation for those who don't get it-<br />
<br />
<img src="http://i.imgur.com/JBq7RpQ.gif" border="0" alt="[Image: JBq7RpQ.gif]" /><br />
<br />
Now we need to create an account at <a href="http://www.000webhost.com" target="_blank">http://www.000webhost.com</a>. So head up there and make an account. I believe that you don't require a tutorial on how to register an account. Or do you? If so , give me a pm and I'll modify the thread.<br />
Now login to your account.<br />
You should have something like this-<br />
<img src="http://i.imgur.com/5hxtHSr.png" border="0" alt="[Image: 5hxtHSr.png]" /><br />
<br />
Click on create new button at the top. In the 2nd textbox [ sub domain ] , enter the url you wish to have.<br />
Enter a good password and click on 'setup new account'. Now open up the cpanel of your domain, which in my case is <br />
testforums.hostei.com. Then go to file manager.<br />
If you dont know which is the file manager , here it is-<br />
<img src="http://i.imgur.com/IJz7poD.png" border="0" alt="[Image: IJz7poD.png]" /><br />
<span style="color: #FF4500;">Note: Sometimes your session may expire and you will have to re-enter your password.</span><br />
After the file manager is loaded click on 'public html' folder.Always remember that the websites content [ whatever it is ] should be uploaded to the public folder.<br />
The file manager should look something like this-<br />
<img src="http://i.imgur.com/QWfDCdz.png" border="0" alt="[Image: QWfDCdz.png]" /><br />
<br />
Now click on upload button at the top. <br />
<img src="http://i.imgur.com/WGlXQ8r.png" border="0" alt="[Image: WGlXQ8r.png]" /><br />
<br />
Click on 'choose file' button on  the right side [ i.e the archive section ].<br />
Browse and choose the the zip archive containing the upload files.<br />
After selecting the file , click on the <img src="http://i.imgur.com/DpSKtkn.png" border="0" alt="[Image: DpSKtkn.png]" /> icon at the top.<br />
Click on <img src="http://i.imgur.com/DpSKtkn.png" border="0" alt="[Image: DpSKtkn.png]" /> button , again after upload.<br />
Now click on <img src="http://i.imgur.com/ZiKmnhU.png" border="0" alt="[Image: ZiKmnhU.png]" /> button to go back to the  file manager.<br />
Now you should have something like this-<br />
<img src="http://i.imgur.com/LhlEjoc.png" border="0" alt="[Image: LhlEjoc.png]" /><br />
The next thing we have to do is rename the config.default.php to config.php.<br />
So click on the 'inc' folder. Select the config.default.php file and click on rename from the top right section.<br />
In the new textbox enter - 'config.php'. It should look like this-<br />
<img src="http://i.imgur.com/2LIDEpr.png" border="0" alt="[Image: 2LIDEpr.png]" /><br />
<br />
Click on the green tick [ submit ]. It will show that the file was renamed successfully. Click the back button [ an arrow ].<br />
<br />
Now we're done with setting up the installer. But we still need to install Mybb.<br />
So go to yourwebsite/install<br />
For eg- my website is - <a href="http://testforums.hostei.com/." target="_blank">http://testforums.hostei.com/.</a><br />
Therefore I need to browse to <a href="http://testforums.hostei.com/install" target="_blank">http://testforums.hostei.com/install</a><br />
<br />
Now you should see the setup menu ( or so i like to call it xD ) which would look like this -<br />
<img src="http://i.imgur.com/kreFYJE.png" border="0" alt="[Image: kreFYJE.png]" /><br />
Click Next.<br />
Click Next again.<br />
Click Next again [ If you meet the minimum requirements ].<br />
Finally , we have arrived at the Database Configuration part of the setup.<br />
So, we need to create a database for the users.<br />
Head up to your 000Webhost Cpanel and select "MySql" from "Software / Services".<br />
Enter any text [ something related ] for mysql_database name and mysql_database username.<br />
Enter a good password.<br />
Heres me doing it-<br />
<img src="http://i.imgur.com/TRfUBVD.gif" border="0" alt="[Image: TRfUBVD.gif]" /><br />
<br />
Now you should have something like this -<br />
<img src="http://i.imgur.com/Oi9gYIw.png" border="0" alt="[Image: Oi9gYIw.png]" /><br />
Go the setup and fill up everything. Choose database engine as 'MySql'.<br />
Heres how you fill it [ #SpoonFeeding ]<br />
<img src="http://i.imgur.com/EIyi0tJ.png" border="0" alt="[Image: EIyi0tJ.png]" /><br />
Now keep on pressing 'next' until you reach Board Configuration. <br />
Use your common sense to fill it up. Leave Cookie Settings and Website url as such.<br />
It should look somewhat like this -<br />
<img src="http://i.imgur.com/FUf1qEY.png" border="0" alt="[Image: FUf1qEY.png]" /><br />
Click Next.Again , use your common sense to fill it up.<br />
Finally , click the last next button.Now you should see a message , telling you that your forum was successfully<br />
created. Browse to your website / forum , login to the admin account and customize your forum. <br />
Heres how your forum should look-<br />
<img src="http://i.imgur.com/q0qyB9S.png" border="0" alt="[Image: q0qyB9S.png]" /><br />
<br />
<img src="http://i.imgur.com/DsHrSr3.png" border="0" alt="[Image: DsHrSr3.png]" /><br />
<br />
More tutorials.<br />
These videos do not belong to me , credits goes to the ones who made them.<br />
<br />
<span style="color: #32CD32;"><span style="font-weight: bold;">#1 - How to install themes on Mybb</span></span><br />
<!-- start: video_youtube_embed --><br />
<object type="application/x-shockwave-flash" class="video_embed" style="width: 450px; height: 366px;" data="http://www.youtube.com/v/u0Ut5GA2a8A"><param name="movie" value="http://www.youtube.com/v/u0Ut5GA2a8A" /></object><br />
<!-- end: video_youtube_embed --><br />
<span style="color: #32CD32;"><span style="font-weight: bold;">#1 - How to install plugins on Mybb</span></span><br />
<!-- start: video_youtube_embed --><br />
<object type="application/x-shockwave-flash" class="video_embed" style="width: 450px; height: 366px;" data="http://www.youtube.com/v/DHV5pozeU_8"><param name="movie" value="http://www.youtube.com/v/DHV5pozeU_8" /></object><br />
<!-- end: video_youtube_embed --><br />
<br />
<img src="http://i.imgur.com/DsHrSr3.png" border="0" alt="[Image: DsHrSr3.png]" /><br />
<br />
So with this , Guest , we reach the end of the tutorial.<br />
<br />
<span style="font-weight: bold;">Credits:-<br />
<br />
Tutorial -</span> <span style="color: #32CD32;"><span style="font-weight: bold;">XxGreenLanternxX</span></span><br />
<br />
<span style="color: #32CD32;"><span style="font-style: italic;"><span style="font-weight: bold;">Thanks to Mybb Team for their free and open source Forum Software</span></span></span><br />
<br />
<span style="color: #C71585;"><span style="font-weight: bold;">I took 2 hours to make this tutorial , it would take you 5 seconds to thank me ( if i've helped ).<br />
I hope you will at least show the courtesy to comment.</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Custom MyCode for "contents"]]></title>
			<link>http://www.hackcommunity.com/Thread-Custom-MyCode-for-contents</link>
			<pubDate>Fri, 03 May 2013 20:24:11 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Custom-MyCode-for-contents</guid>
			<description><![CDATA[I made 2 MyCodes for this <span style="font-weight: bold;">ID</span> and <span style="font-weight: bold;">A</span>.<br />
It works exactly like the contents in a Wiki page.<br />
<br />
RegEx<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#92;[id=(.*?)&#92;](.*?)&#92;[/id&#92;]</code></div></div>
<br />
Replacement<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;span id=&#36;1&gt;&#36;2&lt;/span&gt;</code></div></div>
<br />
<a href="http://vinit.site90.com/showthread.php?tid=1" target="_blank"><span style="color: #3366FF;">Demo</span></a><br />
<br />
I really want to use <span style="font-style: italic;">URL</span> and not the <span style="font-style: italic;">A</span>, because there is no filter in A's regex but <span style="font-style: italic;">URL</span> is not working with <span style="font-style: italic;">ID</span>.]]></description>
			<content:encoded><![CDATA[I made 2 MyCodes for this <span style="font-weight: bold;">ID</span> and <span style="font-weight: bold;">A</span>.<br />
It works exactly like the contents in a Wiki page.<br />
<br />
RegEx<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#92;[id=(.*?)&#92;](.*?)&#92;[/id&#92;]</code></div></div>
<br />
Replacement<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;span id=&#36;1&gt;&#36;2&lt;/span&gt;</code></div></div>
<br />
<a href="http://vinit.site90.com/showthread.php?tid=1" target="_blank"><span style="color: #3366FF;">Demo</span></a><br />
<br />
I really want to use <span style="font-style: italic;">URL</span> and not the <span style="font-style: italic;">A</span>, because there is no filter in A's regex but <span style="font-style: italic;">URL</span> is not working with <span style="font-style: italic;">ID</span>.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[css Login Form and a button like googles sign up button]]></title>
			<link>http://www.hackcommunity.com/Thread-Tutorial-css-Login-Form-and-a-button-like-googles-sign-up-button</link>
			<pubDate>Wed, 01 May 2013 12:20:31 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Tutorial-css-Login-Form-and-a-button-like-googles-sign-up-button</guid>
			<description><![CDATA[<span style="font-size: medium;"><span style="color: #1E90FF;">How to make a red button like goggles Sign In button.Feel free to see the working version <a href="http://backend-web-developer.tk/Login/" target="_blank">http://backend-web-developer.tk/Login/</a><br />
<br />
This is what the finished project should look like:<br />
<img src="http://i42.tinypic.com/1y06qe.png" border="0" alt="[Image: 1y06qe.png]" /><br />
<br />
Make a form with the input type with submit,Then proceed to name the class red-btn<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;form&gt;<br />
&lt;input type="submit" class="btn-red" value="Login"&gt;<br />
&lt;/form&gt;</code></div></div>
<br />
The css.btn-red is the class.We have set the height and width to 30px and width to 100px  this field is pretty self explanatory to know what these options do.We then remove the border with border:none; to remove the border from the button.We then set the background to webkit gradient. <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>.btn-red{height:30px;width:100px;border: none;color:white;weight:300;background: -webkit-gradient(linear, left top, left bottom, from(#DF0101), to(#B40404));}</code></div></div>
For the hover we just add a one pixel small drop shadow<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>.btn-red:hover {box-shadow: 1px 1px 1px #888888;}</code></div></div>
</span></span><br />
<br />
<span style="color: #FF0000;"><span style="font-size: large;">This will only work for chrome i edited it to make the post look better but if you want to make it work one all browsers visit <a href="http://www.colorzilla.com/gradient-editor/" target="_blank">http://www.colorzilla.com/gradient-editor/</a>  and replace background with the code it gives you</span></span>]]></description>
			<content:encoded><![CDATA[<span style="font-size: medium;"><span style="color: #1E90FF;">How to make a red button like goggles Sign In button.Feel free to see the working version <a href="http://backend-web-developer.tk/Login/" target="_blank">http://backend-web-developer.tk/Login/</a><br />
<br />
This is what the finished project should look like:<br />
<img src="http://i42.tinypic.com/1y06qe.png" border="0" alt="[Image: 1y06qe.png]" /><br />
<br />
Make a form with the input type with submit,Then proceed to name the class red-btn<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;form&gt;<br />
&lt;input type="submit" class="btn-red" value="Login"&gt;<br />
&lt;/form&gt;</code></div></div>
<br />
The css.btn-red is the class.We have set the height and width to 30px and width to 100px  this field is pretty self explanatory to know what these options do.We then remove the border with border:none; to remove the border from the button.We then set the background to webkit gradient. <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>.btn-red{height:30px;width:100px;border: none;color:white;weight:300;background: -webkit-gradient(linear, left top, left bottom, from(#DF0101), to(#B40404));}</code></div></div>
For the hover we just add a one pixel small drop shadow<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>.btn-red:hover {box-shadow: 1px 1px 1px #888888;}</code></div></div>
</span></span><br />
<br />
<span style="color: #FF0000;"><span style="font-size: large;">This will only work for chrome i edited it to make the post look better but if you want to make it work one all browsers visit <a href="http://www.colorzilla.com/gradient-editor/" target="_blank">http://www.colorzilla.com/gradient-editor/</a>  and replace background with the code it gives you</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[HTTP Header Methods Quick Tutorial]]></title>
			<link>http://www.hackcommunity.com/Thread-Tutorial-HTTP-Header-Methods-Quick-Tutorial</link>
			<pubDate>Fri, 19 Apr 2013 22:31:36 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Tutorial-HTTP-Header-Methods-Quick-Tutorial</guid>
			<description><![CDATA[Hi All, <img src="images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Biggrin" title="Biggrin" /> I am back with another "sleep destroyer" okay.. forget that term <img src="images/twist-sd/smiley/huh.png" style="vertical-align: middle;" border="0" alt="Huh" title="Huh" /><br />
<br />
Today I will cover a very important topic that many people tend to overlook. Very important for Web Development/Web Hacking-Cracking/Pentesting/Bruteforcing.<br />
<br />
This topic is <span style="font-weight: bold;">HTTP Header Methods</span>.<br />
<br />
Every web browser sends to a web server (of the website whose address you accessing) some well-formatted data and receives some data in response. The data sent and received is not a random text. It has a rule-bound format that every web-browser and web server is to follow. This set of rules and the system of data transfer through internet is called Hyper Text Transfer Protocol (HTTP). The current version of it is HTTP 1.1.<br />
<br />
Suppose, you are on abc.com and you clicked the link def.com. The browser will send this kind of text to the web server of def.com:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>GET / HTTP/1.1<br />
Host: def.com</code></div></div>
<br />
The def.com sends a response of this kind to your browser:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>HTTP/1.1 200 OK<br />
Server: nginx<br />
Date: Fri, 20 Apr 2013 22:05:16 GMT<br />
Content-Type: text/html<br />
Content-Length: 148<br />
Connection: close<br />
<br />
&lt;html&gt;<br />
&nbsp;&nbsp;&lt;head&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This Website is S**t<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/title&gt;<br />
&nbsp;&nbsp;&lt;/head&gt;<br />
&nbsp;&nbsp;&lt;body&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Welcome to the Worst Website on the Internet!<br />
&nbsp;&nbsp;&lt;/body&gt;<br />
&lt;/html&gt;</code></div></div>
<br />
Wow! That's a great response! But looks ugly with those HTTP Headers. What does the browser do now?<br />
It strips the header part and renders just this HTML part on the browser window:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;html&gt;<br />
&nbsp;&nbsp;&lt;head&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This Website is S**t<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/title&gt;<br />
&nbsp;&nbsp;&lt;/head&gt;<br />
&nbsp;&nbsp;&lt;body&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Welcome to the Worst Website on the Internet!<br />
&nbsp;&nbsp;&lt;/body&gt;<br />
&lt;/html&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Test Scenario:</span><br />
<table class="sr_mybbcoder_table"><tr><td>
So now I think you got the point. We can simulate this with a small tool (that hopefully most of you know) is <span style="font-weight: bold;">netcat</span>. Lets send the above GET Request to def.com using netcat! <img src="images/twist-sd/smiley/happy.png" style="vertical-align: middle;" border="0" alt="Happy" title="Happy" /><br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>nc -v def.com 80</code></div></div>
<br />
Now netcat expects you to type something. Type this request as used in example above: (write accordingly the part in &lt;&gt; that is for your help!)<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>GET / HTTP/1.1 &lt;Press Enter Once&gt;<br />
Host: def.com&nbsp;&nbsp;&lt;Press Enter Twice&gt;</code></div></div>
<br />
Check out the response you got from web server. Cool right? <img src="images/twist-sd/smiley/cool.png" style="vertical-align: middle;" border="0" alt="Cool" title="Cool" /> Hmm.. so that's the very basics.<br />
</td></tr></table>
<br />
There is LOADS of stuff you can do with this info! To give you a good head-on for this topic I am also posting this HTTP Methods Reference table that you can take a copy of if you want. Please note that this is for HTTP 1.1 only.<br />
<br />
I will be happy if you like this little post and is useful to you. Please comment if you want to ask or confirm anything. I am sorry if I made any typo/other error here, plz let me know! <img src="images/twist-sd/smiley/smiling.png" style="vertical-align: middle;" border="0" alt="Smiling" title="Smiling" /><br />
<br />
Thanks!<br />
<br />
<span style="font-size: large;"><span style="font-weight: bold;">HTTP Methods</span></span><br />
<table class="sr_mybbcoder_table">
	<tr>
		<td><span style="font-weight: bold;">Method</span></td>
		<td><span style="font-weight: bold;">Request</span></td>
		<td><span style="font-weight: bold;">Definition</span></td>
	</tr>
	<tr>
		<td>GET</td>
		<td><span style="font-family: Courier;">GET &lt;Request-URI&gt;?query_string HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\</span><br />
</td>
		<td>The GET method is used to retrieve whatever is stored or produced by the resource located at the specified Request-URI. The GET method can be used to request files, to invoke server-side scripts, to interact with server-side CGI programs, and more. When HTML form variables are submitted with the form action set to GET, the form parameters are encoded in a query string and submitted to the HTTP server as part of the Request-URI using the GET request method.<br />
</td>
	</tr>
	<tr>
		<td>POST</td>
		<td><span style="font-family: Courier;">POST &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n<br />
<br />
Content-Length: &lt;length in bytes&gt;\r\n<br />
<br />
Content-Type: &lt;content type&gt;\r\n\r\n<br />
<br />
&lt;query_string or other data to post to Request-URI&gt;</span><br />
</td>
		<td>The POST method is used to submit data to the resource located at the specified Request-URI. Typically, the resource located at the specified Request-URI is a server-side script or CGI program designed to processes form data. When HTML form variables are submitted with the form action set to POST, the form parameters are encoded and submitted to the HTTP server as the body of the POST request message.</td>
	</tr>
	<tr>
		<td>HEAD</td>
		<td><span style="font-family: Courier;">HEAD &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>"The HEAD method is identical to the GET method except that an HTTP 1.1 server should not return a message-body in the response. The meta-information contained in the HTTP headers in response to a HEAD request should be identical to the information sent in response to a GET request. This method can be used for obtaining meta-information about the entity implied by the request without transferring the entity-body itself. This method is often used for testing hypertext links for validity, accessibility, and recent modification."—Section 9.4, RFC 2616.</td>
	</tr>
	<tr>
		<td>PUT</td>
		<td><span style="font-family: Courier;">PUT &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n<br />
<br />
Content-Length: &lt;length in bytes&gt;\r\n<br />
<br />
Content-Type: &lt;content type&gt;\r\n\r\n<br />
<br />
&lt;data to put to file&gt;</span><br />
</td>
		<td>The PUT method allows for data to be transferred to an HTTP server and stored at the location identified by the Request-URI.</td>
	</tr>
	<tr>
		<td>OPTIONS</td>
		<td><span style="font-family: Courier;">OPTIONS &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>"The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI." —Section 9.2, RFC 2616.</td>
	</tr>
	<tr>
		<td>DELETE</td>
		<td><span style="font-family: Courier;">DELETE &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>"The DELETE method requests that the origin server delete the resource identified by the Request-URI."—Section 9.7, RFC 2616.</td>
	</tr>
	<tr>
		<td>TRACE</td>
		<td><span style="font-family: Courier;">TRACE &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>"The TRACE method is used to invoke a remote, application-layer loop-back of the request message…. TRACE allows the client to see what is being received at the other end of the request chain and use that data for testing and diagnostic information."—Section 9.8, RFC 2616.</td>
	</tr>
	<tr>
		<td>CONNECT</td>
		<td><span style="font-family: Courier;">CONNECT &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>The CONNECT message type is used to specify a proxy connection to the resource identified by the Request-URI.</td>
	</tr>
</table>]]></description>
			<content:encoded><![CDATA[Hi All, <img src="images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Biggrin" title="Biggrin" /> I am back with another "sleep destroyer" okay.. forget that term <img src="images/twist-sd/smiley/huh.png" style="vertical-align: middle;" border="0" alt="Huh" title="Huh" /><br />
<br />
Today I will cover a very important topic that many people tend to overlook. Very important for Web Development/Web Hacking-Cracking/Pentesting/Bruteforcing.<br />
<br />
This topic is <span style="font-weight: bold;">HTTP Header Methods</span>.<br />
<br />
Every web browser sends to a web server (of the website whose address you accessing) some well-formatted data and receives some data in response. The data sent and received is not a random text. It has a rule-bound format that every web-browser and web server is to follow. This set of rules and the system of data transfer through internet is called Hyper Text Transfer Protocol (HTTP). The current version of it is HTTP 1.1.<br />
<br />
Suppose, you are on abc.com and you clicked the link def.com. The browser will send this kind of text to the web server of def.com:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>GET / HTTP/1.1<br />
Host: def.com</code></div></div>
<br />
The def.com sends a response of this kind to your browser:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>HTTP/1.1 200 OK<br />
Server: nginx<br />
Date: Fri, 20 Apr 2013 22:05:16 GMT<br />
Content-Type: text/html<br />
Content-Length: 148<br />
Connection: close<br />
<br />
&lt;html&gt;<br />
&nbsp;&nbsp;&lt;head&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This Website is S**t<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/title&gt;<br />
&nbsp;&nbsp;&lt;/head&gt;<br />
&nbsp;&nbsp;&lt;body&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Welcome to the Worst Website on the Internet!<br />
&nbsp;&nbsp;&lt;/body&gt;<br />
&lt;/html&gt;</code></div></div>
<br />
Wow! That's a great response! But looks ugly with those HTTP Headers. What does the browser do now?<br />
It strips the header part and renders just this HTML part on the browser window:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;html&gt;<br />
&nbsp;&nbsp;&lt;head&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This Website is S**t<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/title&gt;<br />
&nbsp;&nbsp;&lt;/head&gt;<br />
&nbsp;&nbsp;&lt;body&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Welcome to the Worst Website on the Internet!<br />
&nbsp;&nbsp;&lt;/body&gt;<br />
&lt;/html&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Test Scenario:</span><br />
<table class="sr_mybbcoder_table"><tr><td>
So now I think you got the point. We can simulate this with a small tool (that hopefully most of you know) is <span style="font-weight: bold;">netcat</span>. Lets send the above GET Request to def.com using netcat! <img src="images/twist-sd/smiley/happy.png" style="vertical-align: middle;" border="0" alt="Happy" title="Happy" /><br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>nc -v def.com 80</code></div></div>
<br />
Now netcat expects you to type something. Type this request as used in example above: (write accordingly the part in &lt;&gt; that is for your help!)<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>GET / HTTP/1.1 &lt;Press Enter Once&gt;<br />
Host: def.com&nbsp;&nbsp;&lt;Press Enter Twice&gt;</code></div></div>
<br />
Check out the response you got from web server. Cool right? <img src="images/twist-sd/smiley/cool.png" style="vertical-align: middle;" border="0" alt="Cool" title="Cool" /> Hmm.. so that's the very basics.<br />
</td></tr></table>
<br />
There is LOADS of stuff you can do with this info! To give you a good head-on for this topic I am also posting this HTTP Methods Reference table that you can take a copy of if you want. Please note that this is for HTTP 1.1 only.<br />
<br />
I will be happy if you like this little post and is useful to you. Please comment if you want to ask or confirm anything. I am sorry if I made any typo/other error here, plz let me know! <img src="images/twist-sd/smiley/smiling.png" style="vertical-align: middle;" border="0" alt="Smiling" title="Smiling" /><br />
<br />
Thanks!<br />
<br />
<span style="font-size: large;"><span style="font-weight: bold;">HTTP Methods</span></span><br />
<table class="sr_mybbcoder_table">
	<tr>
		<td><span style="font-weight: bold;">Method</span></td>
		<td><span style="font-weight: bold;">Request</span></td>
		<td><span style="font-weight: bold;">Definition</span></td>
	</tr>
	<tr>
		<td>GET</td>
		<td><span style="font-family: Courier;">GET &lt;Request-URI&gt;?query_string HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\</span><br />
</td>
		<td>The GET method is used to retrieve whatever is stored or produced by the resource located at the specified Request-URI. The GET method can be used to request files, to invoke server-side scripts, to interact with server-side CGI programs, and more. When HTML form variables are submitted with the form action set to GET, the form parameters are encoded in a query string and submitted to the HTTP server as part of the Request-URI using the GET request method.<br />
</td>
	</tr>
	<tr>
		<td>POST</td>
		<td><span style="font-family: Courier;">POST &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n<br />
<br />
Content-Length: &lt;length in bytes&gt;\r\n<br />
<br />
Content-Type: &lt;content type&gt;\r\n\r\n<br />
<br />
&lt;query_string or other data to post to Request-URI&gt;</span><br />
</td>
		<td>The POST method is used to submit data to the resource located at the specified Request-URI. Typically, the resource located at the specified Request-URI is a server-side script or CGI program designed to processes form data. When HTML form variables are submitted with the form action set to POST, the form parameters are encoded and submitted to the HTTP server as the body of the POST request message.</td>
	</tr>
	<tr>
		<td>HEAD</td>
		<td><span style="font-family: Courier;">HEAD &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>"The HEAD method is identical to the GET method except that an HTTP 1.1 server should not return a message-body in the response. The meta-information contained in the HTTP headers in response to a HEAD request should be identical to the information sent in response to a GET request. This method can be used for obtaining meta-information about the entity implied by the request without transferring the entity-body itself. This method is often used for testing hypertext links for validity, accessibility, and recent modification."—Section 9.4, RFC 2616.</td>
	</tr>
	<tr>
		<td>PUT</td>
		<td><span style="font-family: Courier;">PUT &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n<br />
<br />
Content-Length: &lt;length in bytes&gt;\r\n<br />
<br />
Content-Type: &lt;content type&gt;\r\n\r\n<br />
<br />
&lt;data to put to file&gt;</span><br />
</td>
		<td>The PUT method allows for data to be transferred to an HTTP server and stored at the location identified by the Request-URI.</td>
	</tr>
	<tr>
		<td>OPTIONS</td>
		<td><span style="font-family: Courier;">OPTIONS &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>"The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI." —Section 9.2, RFC 2616.</td>
	</tr>
	<tr>
		<td>DELETE</td>
		<td><span style="font-family: Courier;">DELETE &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>"The DELETE method requests that the origin server delete the resource identified by the Request-URI."—Section 9.7, RFC 2616.</td>
	</tr>
	<tr>
		<td>TRACE</td>
		<td><span style="font-family: Courier;">TRACE &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>"The TRACE method is used to invoke a remote, application-layer loop-back of the request message…. TRACE allows the client to see what is being received at the other end of the request chain and use that data for testing and diagnostic information."—Section 9.8, RFC 2616.</td>
	</tr>
	<tr>
		<td>CONNECT</td>
		<td><span style="font-family: Courier;">CONNECT &lt;Request-URI&gt; HTTP/1.1\r\n<br />
<br />
Host: &lt;hostname or IP address of host&gt;\r\n\r\n</span><br />
</td>
		<td>The CONNECT message type is used to specify a proxy connection to the resource identified by the Request-URI.</td>
	</tr>
</table>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SimpleSite v1.1 (Template System/CMS)]]></title>
			<link>http://www.hackcommunity.com/Thread-SimpleSite-v1-1-Template-System-CMS</link>
			<pubDate>Thu, 18 Apr 2013 22:11:45 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-SimpleSite-v1-1-Template-System-CMS</guid>
			<description><![CDATA[I've been developing SimpleSite for quite some time and would like for people to try it out.  You can download the zip from <a href="http://simplesite1416.x10.mx/Releases/SimpleSite_v1.1.zip" target="_blank">http://simplesite1416.x10.mx/Releases/Si...e_v1.1.zip</a>, for instructions you should look in docs and any questions you have may be asked here.  I'm also trying to find out what people will want added as far as modules go and for anyone who wishes to create a module.  Thanks for reading and testing the code, I hope to hear your feedback.]]></description>
			<content:encoded><![CDATA[I've been developing SimpleSite for quite some time and would like for people to try it out.  You can download the zip from <a href="http://simplesite1416.x10.mx/Releases/SimpleSite_v1.1.zip" target="_blank">http://simplesite1416.x10.mx/Releases/Si...e_v1.1.zip</a>, for instructions you should look in docs and any questions you have may be asked here.  I'm also trying to find out what people will want added as far as modules go and for anyone who wishes to create a module.  Thanks for reading and testing the code, I hope to hear your feedback.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CSS 3 Animations]]></title>
			<link>http://www.hackcommunity.com/Thread-Tutorial-CSS-3-Animations</link>
			<pubDate>Thu, 18 Apr 2013 11:44:59 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Tutorial-CSS-3-Animations</guid>
			<description><![CDATA[<span style="color: red;"><span style="font-weight: bold;">///\\\ Ain't this face too cool?<br />
_|_</span></span><br />
<br />
You'll probably often see animations on line. Most common types are *.gif images and flash animations. But now have been introduced also CSS animations.<br />
<br />
Let's see an example first.<br />
Here is an animation to change background color graduating.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;style&gt;<br />
/* We're going to set "background" animation for<br />
* all browsers but Chrome and Safari (@keyframes background)<br />
* and for Chrome and Safari (@-webkit-keyframes background)<br />
*/<br />
<br />
@keyframes background background {<br />
0%&nbsp;&nbsp; {background: #cd0000;}<br />
15%&nbsp;&nbsp;{background: #dc0000;}<br />
30%&nbsp;&nbsp;{background: red;}<br />
100% {background: #0000cd;}<br />
}<br />
<br />
@-webkit-keyframes background {<br />
0%&nbsp;&nbsp; {background: #cd0000;}<br />
15%&nbsp;&nbsp;{background: #dc0000;}<br />
30%&nbsp;&nbsp;{background: red;}<br />
100% {background: #0000cd;}<br />
}<br />
<br />
@-moz-keyframes background {<br />
0%&nbsp;&nbsp; {background: #cd0000;}<br />
15%&nbsp;&nbsp;{background: #dc0000;}<br />
30%&nbsp;&nbsp;{background: red;}<br />
100% {background: #0000cd;}<br />
}<br />
<br />
@-o-keyframes background {<br />
0%&nbsp;&nbsp; {background: #cd0000;}<br />
15%&nbsp;&nbsp;{background: #dc0000;}<br />
30%&nbsp;&nbsp;{background: red;}<br />
100% {background: #0000cd;}<br />
}<br />
<br />
body {<br />
/* Internet Explorer */<br />
animation-name: background;<br />
animation-duration: 5s;<br />
animation-timing-function: linear;<br />
animation-delay: 0s;<br />
animation-iteration-count: infinite;<br />
animation-direction: alternate;<br />
animation-play-state: running;<br />
<br />
/* Safari and Chrome: */<br />
-webkit-animation-name: background;<br />
-webkit-animation-duration: 5s;<br />
-webkit-animation-timing-function: linear;<br />
-webkit-animation-delay: 0s;<br />
-webkit-animation-iteration-count: infinite;<br />
-webkit-animation-direction: alternate;<br />
-webkit-animation-play-state: running;<br />
<br />
/* Mozilla Firefox */<br />
-moz-animation-name: background;<br />
-moz-animation-duration: 5s;<br />
-moz-animation-timing-function: linear;<br />
-moz-animation-delay: 0s;<br />
-moz-animation-iteration-count: infinite;<br />
-moz-animation-direction: alternate;<br />
-moz-animation-play-state: running;<br />
<br />
/* Opera */<br />
-o-animation-name: background;<br />
-o-animation-duration: 5s;<br />
-o-animation-timing-function: linear;<br />
-o-animation-delay: 0s;<br />
-o-animation-iteration-count: infinite;<br />
-o-animation-direction: alternate;<br />
-o-animation-play-state: running;<br />
}<br />
&lt;/style&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></div></div>
<br />
The first part of the code is easy to understand, assuming you already know CSS.<br />
Let's take a look at the second part.<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: white;">&lt;?php&nbsp;<br />animation</span><span style="color: red;">-</span><span style="color: white;">name</span><span style="color: red;">:&nbsp;</span><span style="color: white;">background</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;we're&nbsp;recalling&nbsp;our&nbsp;animation&nbsp;set&nbsp;above<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">duration</span><span style="color: red;">:&nbsp;</span><span style="color: white;">5s</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;duration:&nbsp;you&nbsp;can&nbsp;make&nbsp;it&nbsp;slower&nbsp;by&nbsp;using&nbsp;a&nbsp;larger&nbsp;number&nbsp;or&nbsp;faster&nbsp;with&nbsp;a&nbsp;smaller&nbsp;one<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">timing</span><span style="color: red;">-function:&nbsp;</span><span style="color: white;">linear</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;after&nbsp;first&nbsp;loop&nbsp;goes&nbsp;on&nbsp;normally<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">delay</span><span style="color: red;">:&nbsp;</span><span style="color: white;">0s</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;starts&nbsp;with&nbsp;no&nbsp;delay&nbsp;on&nbsp;page-load<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">iteration</span><span style="color: red;">-</span><span style="color: white;">count</span><span style="color: red;">:&nbsp;</span><span style="color: white;">infinite</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;endlessly&nbsp;looped,&nbsp;default&nbsp;is&nbsp;1<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">direction</span><span style="color: red;">:&nbsp;</span><span style="color: white;">alternate</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;one&nbsp;cycle&nbsp;normal,&nbsp;one&nbsp;reversed<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">play</span><span style="color: red;">-</span><span style="color: white;">state</span><span style="color: red;">:&nbsp;</span><span style="color: white;">running</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;default&nbsp;is&nbsp;running,&nbsp;else&nbsp;can&nbsp;be&nbsp;paused&nbsp;<br /></span><span style="color: white;"></span></code></div></div></div>
<br />
(For noobies: don't run the above code as the comment syntax is wrong and you'd have nothing right. Run the most above one.)<br />
<br />
You should have now understood about the properties. There's also an handshort property for animation:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>animation: background 5s linear 0s infinite alternate;</code></div></div>
<br />
Now, let's try to make a spinning image using transform.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;html&gt;<br />
&lt;style&gt; <br />
#animated_div<br />
{<br />
width:60px;<br />
height:40px;<br />
background:#92B901;<br />
color:#ffffff;<br />
position:relative;<br />
font-weight:bold;<br />
font-size:20px;<br />
padding:10px;<br />
animation:animated_div 5s 1;<br />
-moz-animation:animated_div 5s 1;<br />
-webkit-animation:animated_div 5s 1;<br />
-o-animation:animated_div 5s 1;<br />
border-radius:5px;<br />
-webkit-border-radius:5px;<br />
<br />
}<br />
<br />
@keyframes animated_div<br />
{<br />
0%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(0deg);left:0px;}<br />
25%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(20deg);left:0px;}<br />
50%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
55%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
70%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(0deg);left:500px;background:#1ec7e6;}<br />
100%&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(-360deg);left:0px;}<br />
}<br />
<br />
@-webkit-keyframes animated_div<br />
{<br />
0%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(0deg);left:0px;}<br />
25%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(20deg);left:0px;}<br />
50%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(0deg);left:500px;}<br />
55%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(0deg);left:500px;}<br />
70%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(0deg);left:500px;background:#1ec7e6;}<br />
100%&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(-360deg);left:0px;}<br />
}<br />
<br />
@-moz-keyframes animated_div<br />
{<br />
0%&nbsp;&nbsp; {-moz-transform: rotate(0deg);left:0px;}<br />
25%&nbsp;&nbsp;{-moz-transform: rotate(20deg);left:0px;}<br />
50%&nbsp;&nbsp;{-moz-transform: rotate(0deg);left:500px;}<br />
55%&nbsp;&nbsp;{-moz-transform: rotate(0deg);left:500px;}<br />
70%&nbsp;&nbsp;{-moz-transform: rotate(0deg);left:500px;background:#1ec7e6;}<br />
100% {-moz-transform: rotate(-360deg);left:0px;}<br />
}<br />
<br />
@-o-keyframes animated_div<br />
{<br />
0%&nbsp;&nbsp; {transform: rotate(0deg);left:0px;}<br />
25%&nbsp;&nbsp;{transform: rotate(20deg);left:0px;}<br />
50%&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
55%&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
70%&nbsp;&nbsp;{transform: rotate(0deg);left:500px;background:#1ec7e6;}<br />
100% {transform: rotate(-360deg);left:0px;}<br />
}<br />
&lt;/style&gt;<br />
&lt;body&gt;<br />
&lt;div id="animated_div"&gt;<br />
CSS3&lt;br&gt;&lt;span style="font-size:10px;"&gt;Animation&lt;/span&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></div></div>
<br />
The above, is the spinning animation you can see here: <a href="http://www.w3schools.com/css3/css3_animations.asp" target="_blank">http://www.w3schools.com/css3/css3_animations.asp</a> .<br />
<br />
After all, that's not an hard issue to comprehend.<br />
<br />
Hope I've been useful.<br />
<br />
Please, note that from and to can replace 0% and 100%.<br />
Example code:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>@-keyframes animated_div<br />
{<br />
from&nbsp;&nbsp; {transform: rotate(0deg);left:0px;}<br />
50%&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
to {transform: rotate(-360deg);left:0px;}<br />
}</code></div></div>
<br />
A tutorial inspired on the true story of my friend <a href="http://www.hackcommunity.com/User-asitkumar" target="_blank"><span style="font-weight: bold;">asitkumar</span></a>. <img src="images/smilies/grin.gif" style="vertical-align: middle;" border="0" alt="Grin" title="Grin" />]]></description>
			<content:encoded><![CDATA[<span style="color: red;"><span style="font-weight: bold;">///\\\ Ain't this face too cool?<br />
_|_</span></span><br />
<br />
You'll probably often see animations on line. Most common types are *.gif images and flash animations. But now have been introduced also CSS animations.<br />
<br />
Let's see an example first.<br />
Here is an animation to change background color graduating.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;style&gt;<br />
/* We're going to set "background" animation for<br />
* all browsers but Chrome and Safari (@keyframes background)<br />
* and for Chrome and Safari (@-webkit-keyframes background)<br />
*/<br />
<br />
@keyframes background background {<br />
0%&nbsp;&nbsp; {background: #cd0000;}<br />
15%&nbsp;&nbsp;{background: #dc0000;}<br />
30%&nbsp;&nbsp;{background: red;}<br />
100% {background: #0000cd;}<br />
}<br />
<br />
@-webkit-keyframes background {<br />
0%&nbsp;&nbsp; {background: #cd0000;}<br />
15%&nbsp;&nbsp;{background: #dc0000;}<br />
30%&nbsp;&nbsp;{background: red;}<br />
100% {background: #0000cd;}<br />
}<br />
<br />
@-moz-keyframes background {<br />
0%&nbsp;&nbsp; {background: #cd0000;}<br />
15%&nbsp;&nbsp;{background: #dc0000;}<br />
30%&nbsp;&nbsp;{background: red;}<br />
100% {background: #0000cd;}<br />
}<br />
<br />
@-o-keyframes background {<br />
0%&nbsp;&nbsp; {background: #cd0000;}<br />
15%&nbsp;&nbsp;{background: #dc0000;}<br />
30%&nbsp;&nbsp;{background: red;}<br />
100% {background: #0000cd;}<br />
}<br />
<br />
body {<br />
/* Internet Explorer */<br />
animation-name: background;<br />
animation-duration: 5s;<br />
animation-timing-function: linear;<br />
animation-delay: 0s;<br />
animation-iteration-count: infinite;<br />
animation-direction: alternate;<br />
animation-play-state: running;<br />
<br />
/* Safari and Chrome: */<br />
-webkit-animation-name: background;<br />
-webkit-animation-duration: 5s;<br />
-webkit-animation-timing-function: linear;<br />
-webkit-animation-delay: 0s;<br />
-webkit-animation-iteration-count: infinite;<br />
-webkit-animation-direction: alternate;<br />
-webkit-animation-play-state: running;<br />
<br />
/* Mozilla Firefox */<br />
-moz-animation-name: background;<br />
-moz-animation-duration: 5s;<br />
-moz-animation-timing-function: linear;<br />
-moz-animation-delay: 0s;<br />
-moz-animation-iteration-count: infinite;<br />
-moz-animation-direction: alternate;<br />
-moz-animation-play-state: running;<br />
<br />
/* Opera */<br />
-o-animation-name: background;<br />
-o-animation-duration: 5s;<br />
-o-animation-timing-function: linear;<br />
-o-animation-delay: 0s;<br />
-o-animation-iteration-count: infinite;<br />
-o-animation-direction: alternate;<br />
-o-animation-play-state: running;<br />
}<br />
&lt;/style&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></div></div>
<br />
The first part of the code is easy to understand, assuming you already know CSS.<br />
Let's take a look at the second part.<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: white;">&lt;?php&nbsp;<br />animation</span><span style="color: red;">-</span><span style="color: white;">name</span><span style="color: red;">:&nbsp;</span><span style="color: white;">background</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;we're&nbsp;recalling&nbsp;our&nbsp;animation&nbsp;set&nbsp;above<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">duration</span><span style="color: red;">:&nbsp;</span><span style="color: white;">5s</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;duration:&nbsp;you&nbsp;can&nbsp;make&nbsp;it&nbsp;slower&nbsp;by&nbsp;using&nbsp;a&nbsp;larger&nbsp;number&nbsp;or&nbsp;faster&nbsp;with&nbsp;a&nbsp;smaller&nbsp;one<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">timing</span><span style="color: red;">-function:&nbsp;</span><span style="color: white;">linear</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;after&nbsp;first&nbsp;loop&nbsp;goes&nbsp;on&nbsp;normally<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">delay</span><span style="color: red;">:&nbsp;</span><span style="color: white;">0s</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;starts&nbsp;with&nbsp;no&nbsp;delay&nbsp;on&nbsp;page-load<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">iteration</span><span style="color: red;">-</span><span style="color: white;">count</span><span style="color: red;">:&nbsp;</span><span style="color: white;">infinite</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;endlessly&nbsp;looped,&nbsp;default&nbsp;is&nbsp;1<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">direction</span><span style="color: red;">:&nbsp;</span><span style="color: white;">alternate</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;one&nbsp;cycle&nbsp;normal,&nbsp;one&nbsp;reversed<br /></span><span style="color: white;">animation</span><span style="color: red;">-</span><span style="color: white;">play</span><span style="color: red;">-</span><span style="color: white;">state</span><span style="color: red;">:&nbsp;</span><span style="color: white;">running</span><span style="color: red;">;&nbsp;</span><span style="color: orange;">//&nbsp;default&nbsp;is&nbsp;running,&nbsp;else&nbsp;can&nbsp;be&nbsp;paused&nbsp;<br /></span><span style="color: white;"></span></code></div></div></div>
<br />
(For noobies: don't run the above code as the comment syntax is wrong and you'd have nothing right. Run the most above one.)<br />
<br />
You should have now understood about the properties. There's also an handshort property for animation:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>animation: background 5s linear 0s infinite alternate;</code></div></div>
<br />
Now, let's try to make a spinning image using transform.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;html&gt;<br />
&lt;style&gt; <br />
#animated_div<br />
{<br />
width:60px;<br />
height:40px;<br />
background:#92B901;<br />
color:#ffffff;<br />
position:relative;<br />
font-weight:bold;<br />
font-size:20px;<br />
padding:10px;<br />
animation:animated_div 5s 1;<br />
-moz-animation:animated_div 5s 1;<br />
-webkit-animation:animated_div 5s 1;<br />
-o-animation:animated_div 5s 1;<br />
border-radius:5px;<br />
-webkit-border-radius:5px;<br />
<br />
}<br />
<br />
@keyframes animated_div<br />
{<br />
0%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(0deg);left:0px;}<br />
25%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(20deg);left:0px;}<br />
50%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
55%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
70%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(0deg);left:500px;background:#1ec7e6;}<br />
100%&nbsp;&nbsp;&nbsp;&nbsp;{transform: rotate(-360deg);left:0px;}<br />
}<br />
<br />
@-webkit-keyframes animated_div<br />
{<br />
0%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(0deg);left:0px;}<br />
25%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(20deg);left:0px;}<br />
50%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(0deg);left:500px;}<br />
55%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(0deg);left:500px;}<br />
70%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(0deg);left:500px;background:#1ec7e6;}<br />
100%&nbsp;&nbsp;&nbsp;&nbsp;{-webkit-transform: rotate(-360deg);left:0px;}<br />
}<br />
<br />
@-moz-keyframes animated_div<br />
{<br />
0%&nbsp;&nbsp; {-moz-transform: rotate(0deg);left:0px;}<br />
25%&nbsp;&nbsp;{-moz-transform: rotate(20deg);left:0px;}<br />
50%&nbsp;&nbsp;{-moz-transform: rotate(0deg);left:500px;}<br />
55%&nbsp;&nbsp;{-moz-transform: rotate(0deg);left:500px;}<br />
70%&nbsp;&nbsp;{-moz-transform: rotate(0deg);left:500px;background:#1ec7e6;}<br />
100% {-moz-transform: rotate(-360deg);left:0px;}<br />
}<br />
<br />
@-o-keyframes animated_div<br />
{<br />
0%&nbsp;&nbsp; {transform: rotate(0deg);left:0px;}<br />
25%&nbsp;&nbsp;{transform: rotate(20deg);left:0px;}<br />
50%&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
55%&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
70%&nbsp;&nbsp;{transform: rotate(0deg);left:500px;background:#1ec7e6;}<br />
100% {transform: rotate(-360deg);left:0px;}<br />
}<br />
&lt;/style&gt;<br />
&lt;body&gt;<br />
&lt;div id="animated_div"&gt;<br />
CSS3&lt;br&gt;&lt;span style="font-size:10px;"&gt;Animation&lt;/span&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></div></div>
<br />
The above, is the spinning animation you can see here: <a href="http://www.w3schools.com/css3/css3_animations.asp" target="_blank">http://www.w3schools.com/css3/css3_animations.asp</a> .<br />
<br />
After all, that's not an hard issue to comprehend.<br />
<br />
Hope I've been useful.<br />
<br />
Please, note that from and to can replace 0% and 100%.<br />
Example code:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>@-keyframes animated_div<br />
{<br />
from&nbsp;&nbsp; {transform: rotate(0deg);left:0px;}<br />
50%&nbsp;&nbsp;{transform: rotate(0deg);left:500px;}<br />
to {transform: rotate(-360deg);left:0px;}<br />
}</code></div></div>
<br />
A tutorial inspired on the true story of my friend <a href="http://www.hackcommunity.com/User-asitkumar" target="_blank"><span style="font-weight: bold;">asitkumar</span></a>. <img src="images/smilies/grin.gif" style="vertical-align: middle;" border="0" alt="Grin" title="Grin" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CSS Beginner Tutorial]]></title>
			<link>http://www.hackcommunity.com/Thread-Tutorial-CSS-Beginner-Tutorial</link>
			<pubDate>Sun, 14 Apr 2013 11:00:31 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Tutorial-CSS-Beginner-Tutorial</guid>
			<description><![CDATA[<img src="http://i.imgur.com/mkaHR6z.png" border="0" alt="[Image: mkaHR6z.png]" /><br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<br />
<span style="font-size: medium;"><span style="color: #FFFFFF;"><div style="text-align: justify;">Css [ Cascading Style Sheets ] is basically a website styling language which can be used for creating amazing effects.<br />
For eg :- The website you are currently on uses css [ with other languages such as - HTML and PHP ] to create effects<br />
such as the text which glows on hover event. The greatest advantage of css is that you just need to edit the .css file <br />
instead of editing all the individual html files.<br />
<br />
CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design).<br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
Let me remind you of something. Before you can learn css you need pre-knowledge of -<br />
<ol type="1">
<li>Html [ Hyper Text Markup Language ]</li>
<li>Basic Web Knowledge</li>
<li>Interest to learn css syntax.</li>
<li>A brain [ Hope you have it ].<br />
</li></ol>
<br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
Ok so lets get started with the tutorial. To make this easier , create a folder and add a *.html and *.css file.<br />
As shown below.<br />
<img src="http://i.imgur.com/jhupEbt.png" border="0" alt="[Image: jhupEbt.png]" /><br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
Now open up your .html file in notepad and add the usual html code. [ which you should already be knowing ]<br />
Now your html file should look like this:-<br />
<img src="http://i.imgur.com/Iaznbjm.png" border="0" alt="[Image: Iaznbjm.png]" /><br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
Now lets learn the different ways in which you can apply css to a website.<br />
There are basically 3 methods :<ul>
<li>In-line</li>
<li>Internal</li>
<li>External<br />
</li></ul>
Now I will explain how to use them.<br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<span style="font-size: large;">In-line</span><br />
In the in-line method the css is used inside the html tags. <br />
Lets take a look at an example in which we turn the font color of a paragraph to red.<br />
<br />
As we all know the the html tag for paragraph is &lt;p&gt;.<br />
So the code for a paragraph would be :-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;p&gt; This is my paragraph &lt;/p&gt;</code></div></div>
To add the css to this tag we use - <span style="font-style: italic;">&lt;p style="property:value"&gt;text&lt;/p&gt;</span><br />
So the code for making a specific paragraph red  would be:-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;p style="color: red"&gt; this is my paragraph &lt;/p&gt;</code></div></div>
Make the specific changes to the html file. It should now look like:<br />
<img src="http://i.imgur.com/ebKDtq0.png" border="0" alt="[Image: ebKDtq0.png]" /><br />
Another example for inline css is shown below. This makes the heading have blue background color.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;h1 style="background:blue"&gt;Lol this is blue&lt;/h1&gt;</code></div></div>
<a href="http://www.blooberry.com/indexdot/css/examples/cssinline.htm" target="_blank">Click me to see more examples.</a><br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<br />
<span style="font-size: large;">Internal</span><br />
For this we use the style tag.Always remember to keep the style tag inside the &lt;head&gt; tag.<br />
The code for style tag would be:-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;head&gt;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;style&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; css code...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; css code...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; css code...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/style&gt;<br />
&lt;/head&gt;</code></div></div>
The syntax for css code would be:-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>p<br />
{<br />
color:red<br />
}</code></div></div>
If you have more than one css code a semicolon should be added to the first code . Like shown below.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>p<br />
{<br />
color:red;<br />
text-align:center;<br />
}</code></div></div>
Now you might be thinking what is the 'p' at the beginning of the code. When you are using css you enter the <br />
text or other data in divisions using the div tags. As shown below:<br />
<br />
&lt;div id="anytext"&gt; &lt;/div&gt;<br />
<br />
So if the id is "p" as in :-<br />
<br />
&lt;div id="p"&gt; This is my text and the whole bla bla bla bla.... &lt;/div&gt;<br />
<br />
Then the css code [ internal ] would be:<br />
<br />
&lt;style&gt;<br />
p<br />
{<br />
property:value<br />
}<br />
&lt;/style&gt;<br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<br />
<span style="font-size: large;">External</span><br />
This is the best way to implement css in your website. For this you need to create an external .css file.<br />
But we already did it. So open up your .css file and add the normal css code for any section.<br />
<br />
<span style="color: #FF0000;">NOTE: DO NOT ADD THE &lt;STYLE&gt; TAG IN .CSS FILE</span><br />
<br />
So for eg. i have add this code into my style.css :-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#example<br />
{<br />
color:red<br />
}</code></div></div>
Now save the css file, [cntrl + s].<br />
Then , open up the .html file and add the content inside a div tag with the id as example. As shown below:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;div id="example"&gt;<br />
Test test test test<br />
&lt;/div&gt;</code></div></div>
Now save it and open it.<br />
The final look would be:-<br />
<img src="http://i.imgur.com/esOz7jq.png" border="0" alt="[Image: esOz7jq.png]" /><br />
The font is not red?<br />
Of course No!. How can the font be red if there is no relation between the 2 files [ namely index.html and style.css ] ?<br />
So now you have to add the relation with the code-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;link ref="stylesheet" href="style.css"&gt;</code></div></div>
The above code should be placed inside the &lt;head&gt; &lt;/head&gt; tags. [ Otherwise it won't work ]<br />
<br />
Now save the index.html and open it up in a browser. The text should be red.<br />
<br />
The web page would look similar to :-<br />
<br />
Remember to separate the css properties with a semicolon -[ ; ]-. Like shown below:-<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#blablabla<br />
{<br />
property1:value;<br />
property2:value<br />
}</code></div></div>
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<br />
Today we have learned the basics of CSS. You can use google to search for advanced tutorials.<br />
<a href="http://www.htmldog.com/reference/cssproperties/" target="_blank">Click me to see more css properties.</a><br />
Credits:-<br />
Tutorial - By XxGreenLanternxX<br />
Reference- <a href="http://www.htmldog.com/" target="_blank">http://www.htmldog.com/</a> &amp; <a href="http://www.w3schools.com/" target="_blank">http://www.w3schools.com/</a><br />
<br />
Please say thanks if i have helped you.</div>
</span></span>]]></description>
			<content:encoded><![CDATA[<img src="http://i.imgur.com/mkaHR6z.png" border="0" alt="[Image: mkaHR6z.png]" /><br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<br />
<span style="font-size: medium;"><span style="color: #FFFFFF;"><div style="text-align: justify;">Css [ Cascading Style Sheets ] is basically a website styling language which can be used for creating amazing effects.<br />
For eg :- The website you are currently on uses css [ with other languages such as - HTML and PHP ] to create effects<br />
such as the text which glows on hover event. The greatest advantage of css is that you just need to edit the .css file <br />
instead of editing all the individual html files.<br />
<br />
CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design).<br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
Let me remind you of something. Before you can learn css you need pre-knowledge of -<br />
<ol type="1">
<li>Html [ Hyper Text Markup Language ]</li>
<li>Basic Web Knowledge</li>
<li>Interest to learn css syntax.</li>
<li>A brain [ Hope you have it ].<br />
</li></ol>
<br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
Ok so lets get started with the tutorial. To make this easier , create a folder and add a *.html and *.css file.<br />
As shown below.<br />
<img src="http://i.imgur.com/jhupEbt.png" border="0" alt="[Image: jhupEbt.png]" /><br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
Now open up your .html file in notepad and add the usual html code. [ which you should already be knowing ]<br />
Now your html file should look like this:-<br />
<img src="http://i.imgur.com/Iaznbjm.png" border="0" alt="[Image: Iaznbjm.png]" /><br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
Now lets learn the different ways in which you can apply css to a website.<br />
There are basically 3 methods :<ul>
<li>In-line</li>
<li>Internal</li>
<li>External<br />
</li></ul>
Now I will explain how to use them.<br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<span style="font-size: large;">In-line</span><br />
In the in-line method the css is used inside the html tags. <br />
Lets take a look at an example in which we turn the font color of a paragraph to red.<br />
<br />
As we all know the the html tag for paragraph is &lt;p&gt;.<br />
So the code for a paragraph would be :-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;p&gt; This is my paragraph &lt;/p&gt;</code></div></div>
To add the css to this tag we use - <span style="font-style: italic;">&lt;p style="property:value"&gt;text&lt;/p&gt;</span><br />
So the code for making a specific paragraph red  would be:-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;p style="color: red"&gt; this is my paragraph &lt;/p&gt;</code></div></div>
Make the specific changes to the html file. It should now look like:<br />
<img src="http://i.imgur.com/ebKDtq0.png" border="0" alt="[Image: ebKDtq0.png]" /><br />
Another example for inline css is shown below. This makes the heading have blue background color.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;h1 style="background:blue"&gt;Lol this is blue&lt;/h1&gt;</code></div></div>
<a href="http://www.blooberry.com/indexdot/css/examples/cssinline.htm" target="_blank">Click me to see more examples.</a><br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<br />
<span style="font-size: large;">Internal</span><br />
For this we use the style tag.Always remember to keep the style tag inside the &lt;head&gt; tag.<br />
The code for style tag would be:-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;head&gt;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;style&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; css code...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; css code...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; css code...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/style&gt;<br />
&lt;/head&gt;</code></div></div>
The syntax for css code would be:-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>p<br />
{<br />
color:red<br />
}</code></div></div>
If you have more than one css code a semicolon should be added to the first code . Like shown below.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>p<br />
{<br />
color:red;<br />
text-align:center;<br />
}</code></div></div>
Now you might be thinking what is the 'p' at the beginning of the code. When you are using css you enter the <br />
text or other data in divisions using the div tags. As shown below:<br />
<br />
&lt;div id="anytext"&gt; &lt;/div&gt;<br />
<br />
So if the id is "p" as in :-<br />
<br />
&lt;div id="p"&gt; This is my text and the whole bla bla bla bla.... &lt;/div&gt;<br />
<br />
Then the css code [ internal ] would be:<br />
<br />
&lt;style&gt;<br />
p<br />
{<br />
property:value<br />
}<br />
&lt;/style&gt;<br />
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<br />
<span style="font-size: large;">External</span><br />
This is the best way to implement css in your website. For this you need to create an external .css file.<br />
But we already did it. So open up your .css file and add the normal css code for any section.<br />
<br />
<span style="color: #FF0000;">NOTE: DO NOT ADD THE &lt;STYLE&gt; TAG IN .CSS FILE</span><br />
<br />
So for eg. i have add this code into my style.css :-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#example<br />
{<br />
color:red<br />
}</code></div></div>
Now save the css file, [cntrl + s].<br />
Then , open up the .html file and add the content inside a div tag with the id as example. As shown below:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;div id="example"&gt;<br />
Test test test test<br />
&lt;/div&gt;</code></div></div>
Now save it and open it.<br />
The final look would be:-<br />
<img src="http://i.imgur.com/esOz7jq.png" border="0" alt="[Image: esOz7jq.png]" /><br />
The font is not red?<br />
Of course No!. How can the font be red if there is no relation between the 2 files [ namely index.html and style.css ] ?<br />
So now you have to add the relation with the code-<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;link ref="stylesheet" href="style.css"&gt;</code></div></div>
The above code should be placed inside the &lt;head&gt; &lt;/head&gt; tags. [ Otherwise it won't work ]<br />
<br />
Now save the index.html and open it up in a browser. The text should be red.<br />
<br />
The web page would look similar to :-<br />
<br />
Remember to separate the css properties with a semicolon -[ ; ]-. Like shown below:-<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#blablabla<br />
{<br />
property1:value;<br />
property2:value<br />
}</code></div></div>
<img src="http://i.imgur.com/QqG79cU.png" border="0" alt="[Image: QqG79cU.png]" /><br />
<br />
Today we have learned the basics of CSS. You can use google to search for advanced tutorials.<br />
<a href="http://www.htmldog.com/reference/cssproperties/" target="_blank">Click me to see more css properties.</a><br />
Credits:-<br />
Tutorial - By XxGreenLanternxX<br />
Reference- <a href="http://www.htmldog.com/" target="_blank">http://www.htmldog.com/</a> &amp; <a href="http://www.w3schools.com/" target="_blank">http://www.w3schools.com/</a><br />
<br />
Please say thanks if i have helped you.</div>
</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Protecting the Admin CP with HTTP Basic Auth]]></title>
			<link>http://www.hackcommunity.com/Thread-Protecting-the-Admin-CP-with-HTTP-Basic-Auth</link>
			<pubDate>Thu, 28 Mar 2013 01:22:02 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Protecting-the-Admin-CP-with-HTTP-Basic-Auth</guid>
			<description><![CDATA[Before I start this tutorial, please read a little about HTTP Basic Auth so you can understand how it works and what it's used for.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>In the context of an HTTP transaction, basic access authentication is a method for a web browser or other client program to provide a user name and password when making a request.<br />
<br />
Before transmission, the user name is appended with a colon and concatenated with the password. The resulting string is encoded with the Base64 algorithm. For example, given the user name 'Aladdin' and password 'open sesame', the string 'Aladdin:open sesame' is Base64 encoded, resulting in 'QWxhZGRpbjpvcGVuIHNlc2FtZQ=='. The Base64-encoded string is transmitted in the HTTP header and decoded by the receiver, resulting in the colon-separated user name and password string.<br />
<br />
While encoding the user name and password with the Base64 algorithm makes them unreadable to the unaided eye, they are as easily decoded as they are encoded. Security is not the intent of the encoding step. Rather, the intent of the encoding is to encode non-HTTP-compatible characters that may be in the user name or password into those that are HTTP-compatible.</code></div></div>
<br />
The above has been taken from Wikipedia.<br />
<br />
This tutorial is specific for the Apache web server, but other variants exist for web servers such as NGINX.<br />
<br />
With the knowledge that Apache has been configured to allow .htaccess files, we will continue.<br />
<br />
Firstly you need to create a new file in the Admin CP directory named .htaccess. Apache will interpret the file as a local configuration file.<br />
<br />
Within this file, you need to add the following.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>AuthUserFile /path/to/.htpasswd<br />
AuthGroupFile /dev/null<br />
AuthName Restricted<br />
AuthType Basic<br />
require user username</code></div></div>
<br />
We'll get to the .htpasswd in a minute. Apart from that, there are two values what are variable.<br />
<br />
For increased security you should change require user username to something unique such as require user admin_cp_access, something which is known only to the administrators.<br />
<br />
AuthName Restricted is used to provide a title for the login form. This can be anything you want. For example: 'Admin CP' or 'Private'.<br />
<br />
Now on to the .htpasswd. A .htpasswd file is used to store the username and password of the required user. The password isn't stored in plain text, so you'll have to use a tool to do this for you.<br />
<br />
If you use linux, there should be a binary called htpasswd installed. To generate the .htpasswd file via the command line, SSH into your account, cd into your Admin CP directory, and run the following command.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>htpasswd -c -b .htpasswd username password</code></div></div>
<br />
Replace username with the username you used in the .htaccess file, and replacepassword with a secure password. Make sure to note it down in case you can't remember it.<br />
<br />
In the above method isn't possible, then you can use an online tool to generate the .htpasswd file for you.<br />
<br />
Lastly, you need to change the path of the .htpasswd file in the .htaccess file to the path on the server.<br />
<br />
For example, if your Admin CP location if at /home/username/public_html/forum/admin/, then you'd change the value in the .htaccess file to /home/username/public_html/forum/admin/.htpasswd<br />
<br />
This was just a quick tutorial, and I haven't covered every aspect of HTTP Basic Auth, but this will be sufficient for protecting the Admin CP. <br />
<br />
<span style="font-size: xx-large;">Credit of MyBBSecurity.com / Nathan Malcolm </span>]]></description>
			<content:encoded><![CDATA[Before I start this tutorial, please read a little about HTTP Basic Auth so you can understand how it works and what it's used for.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>In the context of an HTTP transaction, basic access authentication is a method for a web browser or other client program to provide a user name and password when making a request.<br />
<br />
Before transmission, the user name is appended with a colon and concatenated with the password. The resulting string is encoded with the Base64 algorithm. For example, given the user name 'Aladdin' and password 'open sesame', the string 'Aladdin:open sesame' is Base64 encoded, resulting in 'QWxhZGRpbjpvcGVuIHNlc2FtZQ=='. The Base64-encoded string is transmitted in the HTTP header and decoded by the receiver, resulting in the colon-separated user name and password string.<br />
<br />
While encoding the user name and password with the Base64 algorithm makes them unreadable to the unaided eye, they are as easily decoded as they are encoded. Security is not the intent of the encoding step. Rather, the intent of the encoding is to encode non-HTTP-compatible characters that may be in the user name or password into those that are HTTP-compatible.</code></div></div>
<br />
The above has been taken from Wikipedia.<br />
<br />
This tutorial is specific for the Apache web server, but other variants exist for web servers such as NGINX.<br />
<br />
With the knowledge that Apache has been configured to allow .htaccess files, we will continue.<br />
<br />
Firstly you need to create a new file in the Admin CP directory named .htaccess. Apache will interpret the file as a local configuration file.<br />
<br />
Within this file, you need to add the following.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>AuthUserFile /path/to/.htpasswd<br />
AuthGroupFile /dev/null<br />
AuthName Restricted<br />
AuthType Basic<br />
require user username</code></div></div>
<br />
We'll get to the .htpasswd in a minute. Apart from that, there are two values what are variable.<br />
<br />
For increased security you should change require user username to something unique such as require user admin_cp_access, something which is known only to the administrators.<br />
<br />
AuthName Restricted is used to provide a title for the login form. This can be anything you want. For example: 'Admin CP' or 'Private'.<br />
<br />
Now on to the .htpasswd. A .htpasswd file is used to store the username and password of the required user. The password isn't stored in plain text, so you'll have to use a tool to do this for you.<br />
<br />
If you use linux, there should be a binary called htpasswd installed. To generate the .htpasswd file via the command line, SSH into your account, cd into your Admin CP directory, and run the following command.<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>htpasswd -c -b .htpasswd username password</code></div></div>
<br />
Replace username with the username you used in the .htaccess file, and replacepassword with a secure password. Make sure to note it down in case you can't remember it.<br />
<br />
In the above method isn't possible, then you can use an online tool to generate the .htpasswd file for you.<br />
<br />
Lastly, you need to change the path of the .htpasswd file in the .htaccess file to the path on the server.<br />
<br />
For example, if your Admin CP location if at /home/username/public_html/forum/admin/, then you'd change the value in the .htaccess file to /home/username/public_html/forum/admin/.htpasswd<br />
<br />
This was just a quick tutorial, and I haven't covered every aspect of HTTP Basic Auth, but this will be sufficient for protecting the Admin CP. <br />
<br />
<span style="font-size: xx-large;">Credit of MyBBSecurity.com / Nathan Malcolm </span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Need some help with responsive images]]></title>
			<link>http://www.hackcommunity.com/Thread-Need-some-help-with-responsive-images</link>
			<pubDate>Tue, 26 Mar 2013 15:35:53 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Need-some-help-with-responsive-images</guid>
			<description><![CDATA[So heres the deal, i run a website called <a href="http://droidboss.com" target="_blank">DroidBoss</a> it all woks and displays fine but when the browser shrinks the images get narrower but stay the same height. Any idea on how i can reduce them to keep the ratio?]]></description>
			<content:encoded><![CDATA[So heres the deal, i run a website called <a href="http://droidboss.com" target="_blank">DroidBoss</a> it all woks and displays fine but when the browser shrinks the images get narrower but stay the same height. Any idea on how i can reduce them to keep the ratio?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Which PL?]]></title>
			<link>http://www.hackcommunity.com/Thread-Question-Which-PL</link>
			<pubDate>Wed, 20 Mar 2013 05:43:10 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Question-Which-PL</guid>
			<description><![CDATA[Hey HC, well I'm interested in learning a programming language. I'm not sure which one though. I have a couple of questions if anyone is willing to answer. What's the difference between "web developing" and "web programming" and... "web designing"? Also which programming language should I start with?]]></description>
			<content:encoded><![CDATA[Hey HC, well I'm interested in learning a programming language. I'm not sure which one though. I have a couple of questions if anyone is willing to answer. What's the difference between "web developing" and "web programming" and... "web designing"? Also which programming language should I start with?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[MoneyTalkers.net - NEW MONETIZING FORUM ( CUSTOM THEME )]]></title>
			<link>http://www.hackcommunity.com/Thread-MoneyTalkers-net-NEW-MONETIZING-FORUM-CUSTOM-THEME</link>
			<pubDate>Sun, 17 Mar 2013 00:54:08 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-MoneyTalkers-net-NEW-MONETIZING-FORUM-CUSTOM-THEME</guid>
			<description><![CDATA[<a href="http://www.MoneyTalkers.net" target="_blank">http://www.MoneyTalkers.net</a><br />
<br />
We are a brand new community that is focused on online monetizing and marketing.<br />
<br />
I have new users joining everyday.<br />
<br />
Please check out my website as soon as you can.<br />
<br />
* I'm doing giveaways every week *]]></description>
			<content:encoded><![CDATA[<a href="http://www.MoneyTalkers.net" target="_blank">http://www.MoneyTalkers.net</a><br />
<br />
We are a brand new community that is focused on online monetizing and marketing.<br />
<br />
I have new users joining everyday.<br />
<br />
Please check out my website as soon as you can.<br />
<br />
* I'm doing giveaways every week *]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help - Good VPS Host? (DDoSing)]]></title>
			<link>http://www.hackcommunity.com/Thread-Help-Good-VPS-Host-DDoSing</link>
			<pubDate>Sat, 16 Mar 2013 18:54:49 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-Help-Good-VPS-Host-DDoSing</guid>
			<description><![CDATA[Hey guys, I'm looking for a good VPS host. I will be running DDoS forms on it with many shells. I ran one before buy it I got suspended. So what host will have the strongest hit, unlimited bandwidth, easy to set up a site, and no chance of getting me banned or suspended again? Please let me know! Thanks,<br />
<br />
-Kevin]]></description>
			<content:encoded><![CDATA[Hey guys, I'm looking for a good VPS host. I will be running DDoS forms on it with many shells. I ran one before buy it I got suspended. So what host will have the strongest hit, unlimited bandwidth, easy to set up a site, and no chance of getting me banned or suspended again? Please let me know! Thanks,<br />
<br />
-Kevin]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[vBulletin - Images problem]]></title>
			<link>http://www.hackcommunity.com/Thread-vBulletin-Images-problem</link>
			<pubDate>Sat, 16 Mar 2013 13:12:51 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-vBulletin-Images-problem</guid>
			<description><![CDATA[I need an admin who understands vbulletin security and install themes<br />
<br />
<br />
<br />
for this will be asked hc staff.for help<br />
<br />
<br />
I have this theme<br />
<br />
DARK_VB GREEN<br />
<br />
<br />
but the problem is how to install image<br />
<br />
<br />
I have upload Image to diraktory image in host!<br />
<br />
<br />
<br />
staff can help me about this<br />
<br />
thanks Hoxy!]]></description>
			<content:encoded><![CDATA[I need an admin who understands vbulletin security and install themes<br />
<br />
<br />
<br />
for this will be asked hc staff.for help<br />
<br />
<br />
I have this theme<br />
<br />
DARK_VB GREEN<br />
<br />
<br />
but the problem is how to install image<br />
<br />
<br />
I have upload Image to diraktory image in host!<br />
<br />
<br />
<br />
staff can help me about this<br />
<br />
thanks Hoxy!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[phpMyAdmin User Database and Login - Help]]></title>
			<link>http://www.hackcommunity.com/Thread-phpMyAdmin-User-Database-and-Login-Help</link>
			<pubDate>Sat, 16 Mar 2013 05:03:34 +0000</pubDate>
			<guid isPermaLink="false">http://www.hackcommunity.com/Thread-phpMyAdmin-User-Database-and-Login-Help</guid>
			<description><![CDATA[Hey guys, just a question, because I seem to be stuck on this and no tutorials really explain this in depth.<br />
<br />
I have a login form that I want to use. All it consists of is a username and password. There is no registering. All accounts will be created by me on my site in the MySql Database. <br />
<br />
Now, I have a table in my phpMyAdmin with 2 columns: <br />
username<br />
password<br />
<br />
Now, how do I integrate all of this so that when I use my login form, it will refer to my users that are listed in the MySQL database. (Don't know if I said that right, but in simpler terms, let people login to the account I created for them, on this login page)?<br />
<br />
Thanks if you guys can help,<br />
<br />
-Kevin]]></description>
			<content:encoded><![CDATA[Hey guys, just a question, because I seem to be stuck on this and no tutorials really explain this in depth.<br />
<br />
I have a login form that I want to use. All it consists of is a username and password. There is no registering. All accounts will be created by me on my site in the MySql Database. <br />
<br />
Now, I have a table in my phpMyAdmin with 2 columns: <br />
username<br />
password<br />
<br />
Now, how do I integrate all of this so that when I use my login form, it will refer to my users that are listed in the MySQL database. (Don't know if I said that right, but in simpler terms, let people login to the account I created for them, on this login page)?<br />
<br />
Thanks if you guys can help,<br />
<br />
-Kevin]]></content:encoded>
		</item>
	</channel>
</rss>