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

<channel>
	<title>miligraf.com</title>
	<atom:link href="http://www.miligraf.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.miligraf.com</link>
	<description>Graphic and Web Design</description>
	<pubDate>Wed, 20 Aug 2008 23:17:14 +0000</pubDate>
	
	<language>en</language>
			<item>
		<title>The making of: Marijuana Man</title>
		<link>http://www.miligraf.com/photoshop-tutorials/the-making-of-marijuana-man/</link>
		<comments>http://www.miligraf.com/photoshop-tutorials/the-making-of-marijuana-man/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 23:06:42 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[Photoshop Tutorials]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/?p=92</guid>
		<description><![CDATA[With this tutorial you will learn how to create Marijuana Man in just 10 minutes.
Open up your Photoshop and copy this image:

Then create a new document and it will have the dimensions of the image you copied, paste the image. Now we will need an image of a marijuana plant (it&#8217;s a fake plant so [...]]]></description>
			<content:encoded><![CDATA[<p>With this tutorial you will learn how to create Marijuana Man in just 10 minutes.</p>
<p>Open up your Photoshop and copy this image:</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman1.jpg"><img class="aligncenter size-full wp-image-93" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman1.jpg" alt="" width="457" height="457" /></a></p>
<p>Then create a new document and it will have the dimensions of the image you copied, paste the image. Now we will need an image of a marijuana plant (it&#8217;s a fake plant so don&#8217;t worry) so we can create our hero, use this one:</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman2.jpg"><img class="aligncenter size-full wp-image-94" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman2.jpg" alt="" width="400" height="400" /></a></p>
<p>And paste it in a new layer. Duplicate the man layer and chop the man&#8217;s head in the duplicated layer and you should end with something like this, don&#8217;t worry about all the hair just make a simple work, not detailed.</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman3.jpg"><img class="aligncenter size-full wp-image-95" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman3.jpg" alt="" width="457" height="457" /></a></p>
<p>Now duplicate the original man layer again (you should have the new duplicate under the chopped one) and move it a little to the right so the man looks like if it had invisible superpowers:</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman4.jpg"><img class="aligncenter size-full wp-image-96" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman4.jpg" alt="" width="457" height="457" /></a></p>
<p>Now lets go to the marijuana image layer and with the Background Eraser Tool (right-click Eraser Tool), click once in the white background of the plant image (so that the Background Eraser has the white color setted -white will be you Backgound Color in the tool window-) and then right-click and use this settings:</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman5.jpg"><img class="aligncenter size-full wp-image-97" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman5.jpg" alt="" width="457" height="457" /></a></p>
<p>Now click in the white background and you should end with this:</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman6.jpg"><img class="aligncenter size-full wp-image-98" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman6.jpg" alt="" width="457" height="457" /></a></p>
<p>But there are some white areas between the leaves, so click on them so you get a fully transparent background but be careful because if you click on a leaf the Background Eraser will erase that color the next time you click. After you are done with that, select the Elliptical Marquee Tool (right-click Rectangular Marquee Tool) and make a selection like this one and press Delete on your keyboard:</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman7.jpg"><img class="aligncenter size-full wp-image-99" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman7.jpg" alt="" width="457" height="457" /></a></p>
<p>Now press Control + J to duplicate the plant image with the transparent background and press Control + T to transform it like you want and erase some parts of the duplicated one, do this like 3 times until you end like something like this:</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman8.jpg"><img class="aligncenter size-full wp-image-100" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman8.jpg" alt="" width="457" height="457" /></a></p>
<p>Next, merge the duplications with the plant layer and place them where the head used to be:</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman9.jpg"><img class="aligncenter size-full wp-image-101" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman9.jpg" alt="" width="457" height="457" /></a></p>
<p>Make a round cut at the bottom of the new marijuana head to make it look like if it comes from inside the shirt.<br />
Do the same with the hands and you will finally have your Marijuana Man!</p>
<p><a href="http://www.miligraf.com/wp-content/uploads/2008/08/mman10.jpg"><img class="aligncenter size-full wp-image-102" title="The making of: Marijuana Man" src="http://www.miligraf.com/wp-content/uploads/2008/08/mman10.jpg" alt="" width="457" height="457" /></a></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fphotoshop-tutorials%2Fthe-making-of-marijuana-man%2F';
  addthis_title  = 'The+making+of%3A+Marijuana+Man';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/photoshop-tutorials/the-making-of-marijuana-man/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Keyword Benchmarking with Google Adwords</title>
		<link>http://www.miligraf.com/web-development/keyword-benchmarking-with-google-adwords/</link>
		<comments>http://www.miligraf.com/web-development/keyword-benchmarking-with-google-adwords/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 21:34:34 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/?p=84</guid>
		<description><![CDATA[First, let&#8217;s define benchmarking: the process where you compare something of yours against something better and try to improve the standard of your something to improve the quality.
Before we start I just want to tell you that I did this with an ad campaign in Google Adwords and the effect was amazing, I got my [...]]]></description>
			<content:encoded><![CDATA[<p>First, let&#8217;s define <em>benchmarking: the process where you compare something of yours against something better and try to improve the standard of your something to improve the quality.</em></p>
<p>Before we start I just want to tell you that I did this with an ad campaign in Google Adwords and the effect was amazing, I got my unique visits duplicated from one day to another.</p>
<p>So, this post is to help you improve the quality of your keywords, comparing yourself against the best site in your same category, in order to increase your visitors quantity.</p>
<p>First, let&#8217;s Google a keyword (the first thing you want to get listed for in search results) and check the site thats first listed. Visit the site and copy the URL.</p>
<p>In my case I will use <strong>cowboy boots</strong>, I get the amazing number of <strong>3,750,000 </strong>results and my first result is <strong>www.bootcity.com</strong>.</p>
<p>Go to <a title="Google Adwords" href="https://adwords.google.com/select/KeywordToolExternal" target="_blank">https://adwords.google.com/select/KeywordToolExternal</a> and select the <strong>Website Content</strong> and type the URL of the first result you had in your Google search.</p>
<p>You will get a list of keywords with their respective information, the most important information besides the keywords is the <strong>Search Volume</strong> column. This tells you how many times the keyword was searched in Google.</p>
<p>At the bottom of the page you can download the keyword list, do it for <strong>.csv (Excel)</strong>. Open the list in Excel and order by the lowest to highest number in the <strong>Search Volume</strong> column (select the column, click the A-Z button and click Order when you get a warning message, don&#8217;t change anything).</p>
<p>We are done, copy and place the keywords on your website and give it some time to do it&#8217;s stuff.</p>
<p>Results may vary depending on your site category, also try getting keywords from other known sites.</p>
<p>Happy keyword hunting!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fweb-development%2Fkeyword-benchmarking-with-google-adwords%2F';
  addthis_title  = 'Keyword+Benchmarking+with+Google+Adwords';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/web-development/keyword-benchmarking-with-google-adwords/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XHTML and CSS standards</title>
		<link>http://www.miligraf.com/web-development/xhtml-and-css-standards/</link>
		<comments>http://www.miligraf.com/web-development/xhtml-and-css-standards/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 21:32:16 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/?p=85</guid>
		<description><![CDATA[These web standards are established by the W3C (World Wide Web Consortium), so you should consider having a link to validate the XHTML and CSS of your website (for each page). The advantage of having the links -so people can click em- and of course to have both XHTML and CSS validated it&#8217;s like if [...]]]></description>
			<content:encoded><![CDATA[<p>These web standards are established by the W3C (World Wide Web Consortium), so you should consider having a link to validate the XHTML and CSS of your website (for each page). The advantage of having the links -so people can click em- and of course to have both XHTML and CSS validated it&#8217;s like if they (the W3C) were &#8220;approving&#8221; your design and this will give you some extra points.</p>
<p>The links you should include are (paste them as they are):<br />
XHTML: http://validator.w3.org/check?uri=referer<br />
CSS: http://jigsaw.w3.org/css-validator/check/referer</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fweb-development%2Fxhtml-and-css-standards%2F';
  addthis_title  = 'XHTML+and+CSS+standards';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/web-development/xhtml-and-css-standards/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WAMP - Work faster</title>
		<link>http://www.miligraf.com/web-development/wamp-work-faster/</link>
		<comments>http://www.miligraf.com/web-development/wamp-work-faster/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 17:54:21 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/?p=73</guid>
		<description><![CDATA[WAMP stands for Windows version (also available for Mac, Linux and Solaris families) of Apache, MySQL and PHP (or Perl or Python) all in one!
Having this installed will let you have your own server (offline) on your computer, so you wont need to keep uploading those files in order to see the changes that you&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>WAMP stands for Windows version (also available for Mac, Linux and Solaris families) of Apache, MySQL and PHP (or Perl or Python) all in one!</p>
<p>Having this installed will let you have your own server (offline) on your computer, so you wont need to keep uploading those files in order to see the changes that you&#8217;ve made on the website.</p>
<p>After being installed, you will just need to place your sites in <strong>C:\wamp\www</strong> and as soon as you hit Save on a file, you can see the changes&#8230;as fast as that.</p>
<p>You can get it from: http://www.wampserver.com/en/download.php</p>
<p>The lastest version is WAMP 2, this includes: Apache 2.2.8, PHP 5.2.6 + PECL, SQLitemanager, MySQL 5.0.51b and Phpmyadmin.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fweb-development%2Fwamp-work-faster%2F';
  addthis_title  = 'WAMP+-+Work+faster';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/web-development/wamp-work-faster/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Black and white vector with highlights</title>
		<link>http://www.miligraf.com/photoshop-tutorials/black-and-white-vector-with-highlights/</link>
		<comments>http://www.miligraf.com/photoshop-tutorials/black-and-white-vector-with-highlights/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 00:04:35 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[Photoshop Tutorials]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/?p=68</guid>
		<description><![CDATA[In this tutorial you will learn how to easily create a black and white vector with highlights from a photograph. Let&#8217;s start!
Open up the image from what you want to make a vector. I will use this one i took some weeks ago:

Next, duplicate (Control + J) Background layer and save the PSD with a [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial you will learn how to easily create a black and white vector with highlights from a photograph. Let&#8217;s start!</p>
<p>Open up the image from what you want to make a vector. I will use this one i took some weeks ago:</p>
<p><img title="Black and white vector with highlights" src="http://www.miligraf.com/images/ouragan1.jpg" alt="Black and white vector with highlights" width="500" height="375" /></p>
<p>Next, duplicate (Control + J) Background layer and save the PSD with a different name than the photo. Change the name of the new layer to: &#8220;vector&#8221;.</p>
<p>Now go to Filter &gt; Artistic &gt; Cutout, play with the settings being (the lowest setting):<br />
Number of levels: 3.<br />
Edge simplicity: 0.<br />
Edge fidelity: 3.</p>
<p>You should get something like this, as for the details (remember you need the mayor highlights).</p>
<p><img title="Black and white vector with highlights" src="http://www.miligraf.com/images/ouragan2.jpg" alt="Black and white vector with highlights" width="500" height="375" /></p>
<p>Now, you must extract the object from the rest of the photograph. Do this with the Pen Tool and help yourself with lowering the opacity of the &#8220;vector layer&#8221; so you can see through it and have the Backgound layer as a guide.</p>
<p>When you finally have the selection, make a new layer with the extracted object and name it &#8220;object&#8221;, you should get something like this.</p>
<p><img title="Black and white vector with highlights" src="http://www.miligraf.com/images/ouragan3.jpg" alt="Black and white vector with highlights" width="500" height="375" /></p>
<p>I changed the object&#8217;s (airplane) color to white (with Blending Options &gt; Color Overlay) so you could see it but change it to black. In the &#8220;vector&#8221; layer you can see the highlights of the object, now put &#8220;object&#8221; layer over &#8220;vector&#8221; if you dont have it like this and with the Pen Tool select the highlighted parts of the object that appear in the &#8220;vector&#8221; layer. Start selecting the highlighted parts of the object and fill one by one in a new layer, after this you should get something like this:</p>
<p><img title="Black and white vector with highlights" src="http://www.miligraf.com/images/ouragan4.jpg" alt="Black and white vector with highlights" width="500" height="375" /></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fphotoshop-tutorials%2Fblack-and-white-vector-with-highlights%2F';
  addthis_title  = 'Black+and+white+vector+with+highlights';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/photoshop-tutorials/black-and-white-vector-with-highlights/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Page title changer</title>
		<link>http://www.miligraf.com/php-tutorials/page-title-changer/</link>
		<comments>http://www.miligraf.com/php-tutorials/page-title-changer/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 22:34:25 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[PHP Tutorials]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/?p=59</guid>
		<description><![CDATA[Have you ever wondered how sites (like this one) have a different page title for each page?
Here is how you do it:
Lets say you have 3 pages: index.php, about.php and contact.php. You need to have the page include system working so we can use the same variable for the page title changer.

&#60; !DOCTYPE html PUBLIC [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how sites (like this one) have a different page title for each page?</p>
<p>Here is how you do it:</p>
<p>Lets say you have 3 pages: index.php, about.php and contact.php. You need to have the page include system working so we can use the same variable for the page title changer.</p>
<pre class="syntax-highlight:php">
&lt; !DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;My website &gt; &lt; ? 	$page=$_GET[&#039;page&#039;]; //page title changer
						if ($page==&quot;about&quot;){ //if the page you are viewing is about.php it shows &quot;About me&quot; text in the page title
							echo &quot;About me&quot;; //shows &quot;About me&quot; text on page title
						}elseif($page==&quot;contact&quot;){ //same as above but with contact.php
							echo &quot;Contact me&quot;; //same as above but with &quot;Contact me&quot; text on page title
						}else{
							echo &quot;Home&quot;; //shows &quot;Home&quot; text on page title
						}
					?&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;a href=&quot;http://www.mywebsite.com&quot;&gt;home&lt;/a&gt; &lt;!-- Menu link --&gt;
&lt;a href=&quot;?page=about&quot;&gt;about me&lt;/a&gt; &lt;!-- Menu link for about page --&gt;
&lt;a href=&quot;?page=contact&quot;&gt;contact me&lt;/a&gt; &lt;!-- Menu link for contact page--&gt;
&lt; ? 	$page=$_GET[&#039;page&#039;]; //include system. loads the file when you click the link
	if ($page==&quot;about&quot;){ //if you click the about link it will load about.php
		include(&#039;about.php&#039;); //it loads about.php inside the index.php
	}elseif($page==&quot;contact&quot;){ //same as above but with contact
		include(&#039;contact&#039;); //same as above but with contact.php
	}else{
		include(&#039;home.php&#039;); //loads home.php if no link is clicked or if did not find any of the links/files above
	}
?&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fphp-tutorials%2Fpage-title-changer%2F';
  addthis_title  = 'Page+title+changer';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/php-tutorials/page-title-changer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Page include system for newbies</title>
		<link>http://www.miligraf.com/php-tutorials/navigation-for-newbies/</link>
		<comments>http://www.miligraf.com/php-tutorials/navigation-for-newbies/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 21:57:58 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[PHP Tutorials]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/?p=56</guid>
		<description><![CDATA[This system pretends to have one file (index.php) and run the others (about.php, contact.php, ect.) inside of it
I read a lot of tutorials but later on, when my site had months running, i found about the PHP Switch Statement and this is the easiest way to have your PHP Navigation.
Copy and paste the code, you [...]]]></description>
			<content:encoded><![CDATA[<p>This system pretends to have one file (index.php) and run the others (about.php, contact.php, ect.) inside of it</p>
<p>I read a lot of tutorials but later on, when my site had months running, i found about the PHP Switch Statement and this is the easiest way to have your PHP Navigation.</p>
<p>Copy and paste the code, you will find the explanaition in it.</p>
<pre class="syntax-highlight:php">
&lt; ?php
//First of all, let me tell you that you need to have a file with this code placed where you want the files to load and that if you include anyother file in the ones you are calling, you have to include them as if they were in the main folder.
//You can change $navigation to anything you want, like $page or $section but remember to change the 3 &quot;navigation&quot; words to your new one.
$navigation=$_GET[&#039;navigation&#039;];
switch ($navigation) {

//You have to use it like this, when the file is in the same folder with the index. You can put any name in case and have the file in any folder at your site. http://www.yoursite.com/?navigation=section1
case &quot;section1&quot;:
include(&#039;section1_file.php&#039;);
break;

//Another example, the file is in a subfolder but people wont know it, they will only see http://www.yoursite.com/?navigation=section2
case &quot;section2&quot;:
include(&#039;section/section2_file.php&#039;);
break;

//As you can see in this last example, you can have your file in any place and put any name in your &quot;case&quot;. http://www.yoursite.com/?navigation=lastsection
case &quot;lastsection&quot;:
include(&#039;folder1/folder2/section3.php&#039;);
break;

//This will be your index or default page you want to show when people has just landed on your site and this will be the page it will show when people try to access any page that you havent declared here.
default:
include(&#039;home.php&#039;);

}
?&gt;
</pre>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fphp-tutorials%2Fnavigation-for-newbies%2F';
  addthis_title  = 'Page+include+system+for+newbies';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/php-tutorials/navigation-for-newbies/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mail form for newbies</title>
		<link>http://www.miligraf.com/php-tutorials/mail-form-for-newbies/</link>
		<comments>http://www.miligraf.com/php-tutorials/mail-form-for-newbies/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 21:38:56 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[PHP Tutorials]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/?p=44</guid>
		<description><![CDATA[When i started my site i read a lot of tutorials looking for the best email form, but my problem was that i was a PHP newbie, in other words, i didnt know ANYTHING about PHP so it was really hard to understand the tutorials even if they tried to explain it.
So let me explain [...]]]></description>
			<content:encoded><![CDATA[<p>When i started my site i read a lot of tutorials looking for the best email form, but my problem was that i was a PHP newbie, in other words, i didnt know ANYTHING about PHP so it was really hard to understand the tutorials even if they tried to explain it.</p>
<p>So let me explain it to you as i would have liked that someone explained it to me.</p>
<p>If you are a copy-paste kind of guy, then just copy the PHP code below, in it there are the explanaition of each thing you need to know.</p>
<pre class="syntax-highlight:php">//sendemail is our button name, and if it is clicked, we will run this PHP code
if($_POST[&#039;sendemail&#039;]){
//do you remember all those name=&quot;something&quot; and id=&quot;something&quot; that we had to use before? then, here is why
//it will get all those variables (text typed in the fields) and use them for the email
$name =&quot;$name&quot;;
$email=&quot;$email&quot;;
//lets say you want a default subject, then just change $subject=&quot;$subject&quot;; to $subject=&quot;Default Subject&quot;;
$subject=&quot;$subject&quot;;
//or maybe you want a default message, than just do the same as before.
$body=&quot;$message&quot;;
$header=&quot;from: $name &lt; $email&gt;&quot;;
//if you want the email to be sent to other people, then just add them seperated by a comma (,)
$for =&#039;miligraf@miligraf.com&#039;;
//this is how it works mail(receiver&#039;s email, the email&#039;s subject, the email&#039;s message, name and email that was typed in the form)
$send=mail($for,$subject,$body,$header);
if($send){
echo &quot;The email has been sent, thanks for contacting me.&quot;;
}else{
echo &quot;The email could not be sent, try later.&quot;;
}
}else{?&gt;
&lt;!-- Comments in HTML go grey <img src='http://www.miligraf.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> --&gt;
&lt;!-- since we are in a new era we wont use any tables, instead we will have some div&#039;s to tell them where to go --&gt;

&lt;form method=&quot;post&quot;&gt; &lt;!-- your first field, Name, you will need it if you want to have the sender&#039;s Name or you can have a default Name made by you but i will let you know where to put it later --&gt;
&lt;!-- remember that the values of name and id must be name, like this name=&quot;name&quot; id=&quot;name&quot; --&gt;
Name:
&lt;div&gt;&lt;input id=&quot;name&quot; name=&quot;name&quot; size=&quot;40&quot; type=&quot;text&quot; /&gt;&lt;/div&gt;
&lt;!-- remember that the values of name and id must be subject, like this name=&quot;subject&quot; id=&quot;subject&quot; --&gt;
Subject:
&lt;div&gt;&lt;input id=&quot;subject&quot; name=&quot;subject&quot; size=&quot;40&quot; type=&quot;text&quot; /&gt;&lt;/div&gt;
&lt;!-- remember that the values of name and id must be email, like this name=&quot;email&quot; id=&quot;email&quot; --&gt;
E-mail:
&lt;div&gt;&lt;input id=&quot;email&quot; name=&quot;email&quot; size=&quot;40&quot; type=&quot;text&quot; /&gt;&lt;/div&gt;
&lt;!-- remember that the values of name and id must be message, like this name=&quot;message&quot; id=&quot;message&quot; --&gt;
Message:
&lt;div&gt;&lt;textarea id=&quot;message&quot; cols=&quot;40&quot; rows=&quot;10&quot; name=&quot;message&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div&gt;&lt;!-- this is the button and we give it a name that we will use in the next part --&gt;

&lt;input name=&quot;sendemail&quot; type=&quot;submit&quot; value=&quot;Send&quot; /&gt;&lt;/div&gt;
&lt;/form&gt;</pre>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fphp-tutorials%2Fmail-form-for-newbies%2F';
  addthis_title  = 'Mail+form+for+newbies';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/php-tutorials/mail-form-for-newbies/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Browser detection</title>
		<link>http://www.miligraf.com/css-tutorials/css-browser-detection/</link>
		<comments>http://www.miligraf.com/css-tutorials/css-browser-detection/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 23:53:53 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[CSS Tutorials]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/?p=37</guid>
		<description><![CDATA[Some days ago I finished a site but it was only coded (CSS) for a perfect view in Firefox 3 and IE 6. I&#8217;ve neer had a CSS file for IE 7 since I dont use it but when viewing the site on a computer that had IE 7, it had some minor problems&#8230;so I [...]]]></description>
			<content:encoded><![CDATA[<p>Some days ago I finished a site but it was only coded (CSS) for a perfect view in Firefox 3 and IE 6. I&#8217;ve neer had a CSS file for IE 7 since I dont use it but when viewing the site on a computer that had IE 7, it had some minor problems&#8230;so I decided it was time to create the IE 7 CSS file.</p>
<p>Searching the web, this is what I ended up with:</p>
<pre class="syntax-highlight:html">
&lt;!--[if lte IE 7]&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;ie7.css&quot; /&gt;
&lt; ![endif]--&gt;
&lt;!--[if lte IE 6]&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;ie6.css&quot; /&gt;
&lt; ![endif]--&gt;
&lt; ![if !IE]&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;firefox.css&quot; /&gt;
&lt; ![endif]&gt;
</pre>
<p>The only problem is that it is not XHTML standard&#8230;</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fcss-tutorials%2Fcss-browser-detection%2F';
  addthis_title  = 'Browser+detection';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/css-tutorials/css-browser-detection/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Alexa rank updated/changed</title>
		<link>http://www.miligraf.com/web-development/alexa-rank-updatedchanged/</link>
		<comments>http://www.miligraf.com/web-development/alexa-rank-updatedchanged/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 22:35:40 +0000</pubDate>
		<dc:creator>miligraf</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.miligraf.com/blog/?p=30</guid>
		<description><![CDATA[Today I noticed that Alexa rank was updated/changed. So congratulations if your Alexa rank was lowered or keep pushing your site traffic if didnt move or got higher.
What is Alexa rank?
Is a rank that measures mainly your site traffic. If you have a low rank, lets say 350,000 then you receive like 1,000 unique visits [...]]]></description>
			<content:encoded><![CDATA[<p>Today I noticed that Alexa rank was updated/changed. So congratulations if your Alexa rank was lowered or keep pushing your site traffic if didnt move or got higher.</p>
<p><strong>What is Alexa rank?</strong></p>
<p>Is a rank that measures mainly your site traffic. If you have a low rank, lets say 350,000 then you receive like 1,000 unique visits per day and so on, if you have a high rank like 6,000,000 then you receive around 40 unique visits per day.</p>
<p><strong>How do I know the Alexa rank from a site?</strong></p>
<p>There are two ways:</p>
<p>First way, you can head to http://www.alexa.com/data/details/main/miligraf.com (change miligraf.com for the site you cant).</p>
<p>Second way, you can install their toolbar at http://www.alexa.com/site/download/</p>
<p>I recommend the second way because while you are navigating the internet and visiting different sites, the toolbar loads their rank and show it (like the PR tollbar).</p>
<p><strong>Whats the use I can give to this rank?</strong></p>
<p>When you are looking for a site to affiliate, you can know how many unique visits per day (aprox.) they have and that will help you decide with which site you affiliate. It also helps when you want to advertise on a site and the most important thing&#8230;to know how many unique visits per day your competitor has.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.miligraf.com%2Fweb-development%2Falexa-rank-updatedchanged%2F';
  addthis_title  = 'Alexa+rank+updated%2Fchanged';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.miligraf.com/web-development/alexa-rank-updatedchanged/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4017437-3");
pageTracker._trackPageview();
</script>