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

<channel>
	<title>Peep in my mind &#187; Web</title>
	<atom:link href="http://peepinmymind.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://peepinmymind.com</link>
	<description>...</description>
	<lastBuildDate>Sun, 30 May 2010 16:13:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Numbers</title>
		<link>http://peepinmymind.com/web/2009/06/numbers/</link>
		<comments>http://peepinmymind.com/web/2009/06/numbers/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 05:07:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[numbers]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Doing math in php $variable = value * value $variable = value + value $variable = value &#8211; value $variable = value / value Formatting Numbers Rounding numbers &#8211; rounds values to specified decimal places. It can be number or variables. There is an option that allow users to round too the number of decimal [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-139" title="php101" src="http://peepinmymind.com/wp-content/uploads/2009/04/php101.gif" alt="php101" width="550" height="270" /><br />
Doing math in php</p>
<p>$variable = value * value<br />
$variable = value + value<br />
$variable = value &#8211; value<br />
$variable = value / value</p>
<p><strong>Formatting Numbers</strong></p>
<p>Rounding numbers &#8211; rounds values to specified decimal places. It  can be number or variables.  There is an option that allow users to round too the number of decimal places.</p>
<p>Example:<br />
round (6.20); = 6<br />
round (6.369, 2); = 6.37<br />
$number = 694.2783;<br />
round ($number); = 694</p>
<p>Number format &#8211; works like round but adds commas in the to numbers.<br />
number_format (6.2243, 2); = 6.22<br />
number_format (69, 2); = 69.00<br />
number_format (123456789); = 123,456,789</p>
<p><strong>Precedence </strong>- the order in which calculations are made.</p>
<p>8 &#8211; 4 / 2 = 6 and not 2 because division comes first.</p>
<p>To avoid this use ()<br />
(8 &#8211; 4) /2 ) = 2<br />
8 &#8211; (4 / 2 ) = 6</p>
<p>Incrementing and decrementing a number add or subtracts 1 value<br />
$var++; or $var&#8211;; this will give the value +1 or -1 effect.</p>
<p><strong>Creating random numbers</strong></p>
<p>rand()</p>
<p>$n = rand();- this generate random number<br />
$n = rand(0,100); &#8211; this generate random number 0 to 100</p>
<p>Other types are getrandmax() &#8211; get height random number<br />
mt_rand() &#8211; it suppose to work better then rand and great for cryptography.</p>
<p>These notes are from  <a href="http://www.amazon.com/gp/product/0321442490?ie=UTF8&amp;tag=booofdea-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0321442490">PHP for the World Wide Web, Third Edition (Visual QuickStart Guide)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=booofdea-20&amp;l=as2&amp;o=1&amp;a=0321442490" border="0" alt="" width="1" height="1" /> written by Larry Ullman. In order to make sense of my notes you should pruchase the PHP book its very well written and easy to follow.</p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/2009/06/numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress won&#8217;t Upload my image fix</title>
		<link>http://peepinmymind.com/web/wordpress-tips/2009/06/wordpress-wont-upload-my-image-fix/</link>
		<comments>http://peepinmymind.com/web/wordpress-tips/2009/06/wordpress-wont-upload-my-image-fix/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 22:21:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[So I recently moved one of my wordpress site from one spot to another.  Well that no biggy but the problem was I couldn&#8217;t upload images.  I was baffled for half an hour why my image wouldn&#8217;t upload to the upload folder.  Or why my image wasn&#8217;t being displayed.  So after a little bit of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-165" title="wordpress-logo" src="http://peepinmymind.com/wp-content/uploads/2009/05/wordpress-logo.jpg" alt="wordpress-logo" width="550" height="270" /></p>
<p>So I recently moved one of my wordpress site from one spot to another.  Well that no biggy but the problem was I couldn&#8217;t upload images.  I was baffled for half an hour why my image wouldn&#8217;t upload to the upload folder.  Or why my image wasn&#8217;t being displayed.  So after a little bit of playing I found out the problem and here how I fixed it.</p>
<p>Go to WordPress backend and go to Settings\Miscellaneous.  The go to the Store uploads in this folder and edit the directory to the proper lockation.</p>
<p>A simple fix but lots of hair pulling!</p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/wordpress-tips/2009/06/wordpress-wont-upload-my-image-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Forms with HTML and PHP</title>
		<link>http://peepinmymind.com/web/2009/06/creating-forms-with-html-and-php/</link>
		<comments>http://peepinmymind.com/web/2009/06/creating-forms-with-html-and-php/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 21:06:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[notes]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Forms Code to generate forms goes between &#60;form&#62; data &#60;/form&#62; tags.  In the opening form tag also contains an action attribute.  This indicates which page the form data should submit. &#60;form action=&#8221;submit.php&#8221;&#62; There are two methods of transmitting data from the form to the handling script. They are GET and POST.  The GET method sends [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-139" title="php101" src="http://peepinmymind.com/wp-content/uploads/2009/04/php101.gif" alt="php101" width="550" height="270" /></p>
<p><strong>Forms</strong></p>
<p>Code to generate forms goes between &lt;form&gt; data &lt;/form&gt; tags.  In the opening form tag also contains an action attribute.  This indicates which page the form data should submit.<br />
&lt;form action=&#8221;submit.php&#8221;&gt;</p>
<p>There are two methods of transmitting data from the form to the handling script. They are GET and POST.  The GET method sends all the gathered information along as part of the url. The Post method sends the data invisibly.</p>
<p>Example of the GET method.</p>
<p>http://www.blah.com/page.php?var=value&amp;blah&#8230;</p>
<p>Example of the POST method.</p>
<p>http://www.blah.com/page.php</p>
<p>Notes to keep in mind about GET method.</p>
<ul>
<li>GET method is limited amount of data that can be transferred.</li>
<li>Data can be view publicly which may cause security risk.</li>
<li>A page created by GET method can be bookmarked.</li>
<li>GET pages can be reloaded POST pages will have a confirmation box</li>
</ul>
<p>To used the form data submitted users need to use predefined variables.  They are $_GET and $_POST they are used based on which type of method is picked when generating the form.  If the method was post then use $_POST if the method was GET then use $_GET.  Also the variable must be typed with all caps cause it is case sensitive.</p>
<p>Sample code form.html</p>
<blockquote><p>&lt;body&gt;<br />
&lt;form action=&#8221;display_form.php&#8221; method=&#8221;post&#8221;&gt;<br />
&lt;p&gt;Comments: &lt;textarea name=&#8221;comments&#8221; rows=&#8221;3&#8243; cols=&#8221;30&#8243;&gt;&lt;/textarea&gt;&lt;/p&gt;<br />
&lt;input type=&#8221;submit&#8221; name=&#8221;submit&#8221; value=&#8221;Send Comment&#8221; /&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;</p></blockquote>
<p>Sample code display_form.php</p>
<blockquote><p>&lt;body&gt;<br />
&lt;?php<br />
$comments = $_POST['comments'];<br />
print &#8220;&lt;p&gt;Thank you for the comment &lt;br /&gt;$comments&lt;/p&gt;&#8221;;<br />
?&gt;<br />
&lt;/body&gt;</p></blockquote>
<p>These notes are from  <a href="http://www.amazon.com/gp/product/0321442490?ie=UTF8&amp;tag=booofdea-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0321442490">PHP for the World Wide Web, Third Edition (Visual QuickStart Guide)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=booofdea-20&amp;l=as2&amp;o=1&amp;a=0321442490" border="0" alt="" width="1" height="1" /> written by Larry Ullman. In order to make sense of my notes you should pruchase the PHP book its very well written and easy to follow.</p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/2009/06/creating-forms-with-html-and-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Variable Notes</title>
		<link>http://peepinmymind.com/web/2009/06/php-variable-notes/</link>
		<comments>http://peepinmymind.com/web/2009/06/php-variable-notes/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 21:50:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Variable &#8211; is like a magic box that stores information once the information is stored in the box it can be changed, or taken out to be displayed. All variable names must be have a dollar sign “$” at the start of the variable. After the dollar sign &#8220;$&#8221; the variable name must start with  [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-139" title="php101" src="http://peepinmymind.com/wp-content/uploads/2009/04/php101.gif" alt="php101" width="550" height="270" /><br />
<strong></strong></p>
<p><strong>Variable</strong> &#8211; is like a magic box that stores information once the information is stored in the box it can be changed, or taken out to be displayed.</p>
<p>All variable names must be have a dollar sign “$” at the start of the variable.</p>
<p>After the dollar sign &#8220;$&#8221; the variable name must start with  a letter &#8220;A-Z&#8221; or &#8220;a-z&#8221; or a underscore &#8220;_&#8221; it cannot start with a number</p>
<p>After the “$” the rest of the name can be any combination of letters, numbers, and underscores.</p>
<p>Spaces can&#8217;t be used in variable names please use underscores “_” to represent spaces</p>
<p>Variable names are case sensitive so “$_cat” and “$_Cat” is different. (Try not to use variable with same names to reduce confusion).<br />
<strong><br />
Tips on creating variables</strong></p>
<ul>
<li>Always use lowercase on variable names</li>
<li>Always make your variable name descriptive</li>
<li>Always comment the purpose of the variables</li>
<li>Always try to defined all variables before use even though PHP doesn’t require it.</li>
</ul>
<p><strong>Variable Types</strong><br />
<strong></strong></p>
<p><strong>Numbers</strong></p>
<p>There are two types of numbers in PHP Integers and floating-point.  Integers are whole numbers that can be both positive or negatives but cannot have fractions of decimals.  Floating-point numbers are use to if numbers have decimal places.  (The only way to use fraction in PHP is to covert to decimals).</p>
<p>Integer = 1 or -1</p>
<p>Floating-point = 1.02 or -1.02</p>
<p><strong>Strings</strong></p>
<p>A string is any number of characters enclosed in single or double quotation marks &#8216;string&#8217; or &#8220;string&#8221;. Strings can be numbers letters symbols and spaces.  Stings can also contain variables. Strings can only contain 1 value.</p>
<p>To use quotation marks in a string use the backslash \.<br />
Example: &#8220;Yo, &#8220;ho ho!&#8221;" would have to be written &#8220;Yo, \&#8221;hoho!\&#8221;" in order for it to display properly.</p>
<p>Different quotation marks can be used to fix the problem.<br />
Example: &#8220;Yo, &#8216;ho ho!&#8217;&#8221; or &#8216;Yo, &#8220;ho ho!&#8221;&#8216;.</p>
<p><strong>Arrays</strong></p>
<p>Arrays can contain a list of values so users can put multiple strings and numbers in to one array.</p>
<p>Array uses keys to create and retrieve that values stored. Php has two different types of arrays. An “Indexed array” uses numbers for its keys. An “Associative array” uses strings for its keys.  An array containing other arrays is called a “multidimensional array”.</p>
<p><strong>Assigning Values to Variables</strong></p>
<p>To assign a value to a variable the user must use the = sign.  The equal sign is called the “assignment operator” because it assigns a value to the variable.</p>
<p>Variable assignment operator value<br />
$string = &#8220;Yo Ho!&#8221;;<br />
<strong><br />
Differences between Quotation marks &#8216;/&#8221;</strong></p>
<p>Single quotation marks &#8221; are treated literally<br />
Double Quotation marks take the value of the variable.</p>
<p>These notes are from  <a href="http://www.amazon.com/gp/product/0321442490?ie=UTF8&amp;tag=booofdea-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0321442490">PHP for the World Wide Web, Third Edition (Visual QuickStart Guide)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=booofdea-20&amp;l=as2&amp;o=1&amp;a=0321442490" border="0" alt="" width="1" height="1" /> written by Larry Ullman. In order to make sense of my notes you should pruchase that excellent PHP book its very well written and easy to follow.</p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/2009/06/php-variable-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change wordpress URL setting back to original URL.</title>
		<link>http://peepinmymind.com/web/wordpress-tips/2009/05/how-to-change-wordpress-url-setting-back-to-original-url/</link>
		<comments>http://peepinmymind.com/web/wordpress-tips/2009/05/how-to-change-wordpress-url-setting-back-to-original-url/#comments</comments>
		<pubDate>Thu, 28 May 2009 01:49:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[back]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I was playing with my blog I changed the wordpress address (URL) settings under general settings.  This cause some problems obviously it pretty much broke my wordpress and most of my functions didn&#8217;t work. So after taking sometime trying to figure out how to revert my settings I finally figured it out! First you have [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-165" title="wordpress-logo" src="http://peepinmymind.com/wp-content/uploads/2009/05/wordpress-logo.jpg" alt="wordpress-logo" width="550" height="270" /></p>
<p>I was playing with my blog I changed the wordpress address (URL) settings under general settings.  This cause some problems obviously it pretty much broke my wordpress and most of my functions didn&#8217;t work.  So after taking sometime trying to figure out how to revert my settings I finally figured it out!</p>
<p>First you have to go in to the SQL database (I use phpMyAdmin so I use that to explain how I fixed it from there).  In phpMyAdmin go in to your database and got the &#8220;<strong>wp_options</strong>&#8221; section.</p>
<p>There you should see &#8220;<strong>siteurl</strong>&#8221; under the &#8220;<strong>option_name</strong>&#8221; column and right next to it is the &#8220;<strong>option_value</strong>&#8221; there you will see your newly entered url.</p>
<p>To change it just click on the edit button and change that current url to what it was originally hit save and everything so be just fine!<br />
Well at least it worked for me ;D</p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/wordpress-tips/2009/05/how-to-change-wordpress-url-setting-back-to-original-url/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tutorial On Creating Your Favicon For Yor Website</title>
		<link>http://peepinmymind.com/web/wordpress-tips/2009/05/tutorial-on-creating-your-favicon-for-yor-website/</link>
		<comments>http://peepinmymind.com/web/wordpress-tips/2009/05/tutorial-on-creating-your-favicon-for-yor-website/#comments</comments>
		<pubDate>Thu, 21 May 2009 02:36:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[favicon]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[So I bet you all wondered like I did how do they create those neat icons on their web site and have it displayed in the bookmarks? Well here a few short steps on how to make one. First you need to create a image that is 16&#215;16 pixels because this is the size for [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-144" title="Creating A Favicon" src="http://peepinmymind.com/wp-content/uploads/2009/05/creating-favicon-tutorial.gif" alt="Creating A Favicon" width="550" height="270" /></p>
<p>So I bet you all wondered like I did how do they create those neat icons on their web site and have it displayed in the bookmarks? Well here a few short steps on how to make one.</p>
<p>First you need to create a image that is 16&#215;16 pixels because this is the size for the icons for the bookmark and browsers. Once you have Create that icon <img class="alignnone size-full wp-image-143" title="favicon" src="http://peepinmymind.com/wp-content/uploads/2009/05/favicon.gif" alt="favicon" width="16" height="16" /> (that one is mine) save it out as a .gif or a png with transparency if you need it.</p>
<p>Next we will go to our favorite web page <a title="favicon generator tool" href="http://tools.dynamicdrive.com/favicon/">http://tools.dynamicdrive.com/favicon/</a> where they are super nice and have given us a tool to create our favicon! Yes that right we don&#8217;t have to install any software just upload and download.</p>
<p>Once you have created your FavIcon for your website upload it somewhere on your website.  Please make sure you know where you saved it cause you will need to link back to that file.  I put mine in the same wordpress theme folder that I am currently using.</p>
<p>The next step is to open up your page and go to the HEAD section and add the link.</p>
<p><em>&lt;link rel=&#8221;shortcut icon&#8221; href=&#8221;/favicon.ico&#8221;&gt;</em></p>
<p>If your using wordpress and uploaded the icon to the theme folder you are using please use the code below. Just copy and paste the code in the HEAD section of that theme.</p>
<p><em>&lt;link rel=&#8221;shortcut icon&#8221; href=&#8221;&lt;?php bloginfo(&#8216;template_directory&#8217;); ?&gt;/favicon.ico&#8221;&gt;</em></p>
<p>Once you&#8217;ve added the code save your page and your done.</p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/wordpress-tips/2009/05/tutorial-on-creating-your-favicon-for-yor-website/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP 101</title>
		<link>http://peepinmymind.com/web/2009/04/php-101/</link>
		<comments>http://peepinmymind.com/web/2009/04/php-101/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 06:32:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[printf]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I started to pick up PHP and started reading this book PHP for the World Wide Web, Third Edition (Visual QuickStart Guide) written by Larry Ullman. Like any good student I like to make notes when I read then type it out mainly just so I can review what I just learned. (yeah it sound [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-139" title="php101" src="http://peepinmymind.com/wp-content/uploads/2009/04/php101.gif" alt="php101" width="550" height="270" /></p>
<p>I started to pick up PHP and started reading this book <a href="http://www.amazon.com/gp/product/0321442490?ie=UTF8&amp;tag=booofdea-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0321442490">PHP for the World Wide Web, Third Edition (Visual QuickStart Guide)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=booofdea-20&amp;l=as2&amp;o=1&amp;a=0321442490" border="0" alt="" width="1" height="1" /> written by Larry Ullman. Like any good student I like to make notes when I read then type it out mainly just so I can review what I just learned. (yeah it sound geeky but oh well only way i can learn) and since coding has never been my best subject I really do need to type it out over and over again. Anyways I figured I might as well keep my notes on my blog and share with you all. So if your reading my blog and trying to use my notes you should pick up the book too and follow along!</p>
<p><strong>Definition of PHP</strong></p>
<p>originally stood for <strong>Personal Home Page</strong> but it later changed and it now currently stands for <strong>Hypertext Preprocessor</strong></p>
<ul>
<li>php is an HTML embedded scripting language</li>
<li>php server side language</li>
<li>php allows users to create dyanmic pages</li>
<li>can run only on Php enabled web servers.</li>
</ul>
<p><strong>Basic PHP Syntax</strong></p>
<ul>
<li>PHP scripts should be save as a <em>.php</em> file</li>
<li>place php code within <strong>&lt;?</strong> <em>php code </em><strong>?&gt;</strong> tags</li>
<li>open &#8220;<strong>&lt;?</strong>php&#8221;</li>
<li>closed &#8220;<strong>?&gt;</strong>&#8220;</li>
<li>php statements must end with &#8220;<strong>;</strong>&#8221; or error will occur.</li>
</ul>
<p><strong>Function</strong></p>
<ul>
<li>Functions in php are followed by parentheses () in which arguments are passed to the function.</li>
<li>php is case-insensitive when calling functions (variables are case sensitive in php).</li>
</ul>
<p><strong>Function: phpinfo()</strong></p>
<ul>
<li>this function list the spec of the php install on the sever</li>
<li>this is also a great way to test if php was installed properly on the server</li>
</ul>
<p><strong>Example : </strong></p>
<blockquote><p>&lt;?php</p>
<p>// Show all information, defaults to INFO_ALL</p>
<p>phpinfo();</p>
<p>// Show just the module information.</p>
<p>// phpinfo(8) yields identical results.</p>
<p>phpinfo(INFO_MODULES);</p>
<p>?&gt;</p></blockquote>
<p><strong>Function: print()</strong></p>
<ul>
<li>use to display text or Output a string</li>
<li>strings must be surrounded with &#8221; &#8221; numbers don&#8217;t.</li>
</ul>
<p><strong>Example:</strong></p>
<blockquote><p>&lt;?php print (&#8220;Hello World&#8221;) ?&gt;</p></blockquote>
<p><strong>Function: echo()</strong></p>
<ul>
<li>use to Output one or more strings</li>
</ul>
<p><strong>Example:</strong></p>
<blockquote><p>&lt;?php echo (&#8220;Hello World&#8221;) ?&gt;</p></blockquote>
<p><strong>Function: printf()</strong></p>
<ul>
<li>use to Output one or more strings</li>
</ul>
<p><strong>Example:</strong></p>
<blockquote><p>&lt;?php printf (&#8220;Hello World&#8221;) ?&gt;</p></blockquote>
<p>To find more functions go to <a href="http://php.net/manual">php.net./manual</a></p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/2009/04/php-101/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Multi-Column Layout Using CSS 3</title>
		<link>http://peepinmymind.com/web/css/2009/01/multi-column-layout-using-css-3/</link>
		<comments>http://peepinmymind.com/web/css/2009/01/multi-column-layout-using-css-3/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 01:45:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[3]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[multi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I originally wrote this for work.  I figured I&#8217;d post it on my blog also, guess I&#8217;m a re-blogger after all. Multi-column layout The CSS3 function for Multi-Column Layout allows the user to creating a design similar to a Newspaper layout. With designs of blogs and websites heading towards a magazine layout type of style [...]]]></description>
			<content:encoded><![CDATA[<p>I originally wrote this for work.  I figured I&#8217;d post it on my blog also, guess I&#8217;m a re-blogger after all.</p>
<p><span style="text-decoration: underline;">Multi-column layout</span></p>
<p>The CSS3 function for Multi-Column Layout allows the user to creating a design similar to a Newspaper layout. With designs of blogs and websites heading towards a magazine layout type of style I figured this is truly a helpful style to use.</p>
<p><span style="text-decoration: underline;">Multi-column Layout Properties</span></p>
<p>column-count: 3;  this sets the number of columns for which the content will flow.<br />
column-width: 1em; this property sets the width of each column.<br />
column-rule: 1px solid black; this sets a border between the columns.</p>
<p><img class="aligncenter size-full wp-image-74" title="column-css3" src="http://peepinmymind.com/wp-content/uploads/2009/01/column-css3.gif" alt="column-css3" width="484" height="204" /></p>
<p>Code sample:<br />
<span id="more-73"></span></p>
<blockquote><p>DIV {<br />
width: 200px;<br />
column-count: 2;<br />
column-width: 100px;<br />
column-gap: 10px<br />
column-rule: 1px solid black;<br />
}</p></blockquote>
<p>Now if you want to have something span across the columns that can be easily down with the column span property.</p>
<p><img class="aligncenter size-full wp-image-75" title="column-span-css3" src="http://peepinmymind.com/wp-content/uploads/2009/01/column-span-css3.gif" alt="column-span-css3" width="484" height="204" /></p>
<p><span style="text-decoration: underline;">Multi-column Span Property:</span></p>
<p>column-span: all; This allows objects (text/images/etc) to display through multiple columns.</p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/css/2009/01/multi-column-layout-using-css-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Transparency and Rounded Corners Techniques</title>
		<link>http://peepinmymind.com/web/css/2008/12/css-transparency-and-rounded-corners-techniques/</link>
		<comments>http://peepinmymind.com/web/css/2008/12/css-transparency-and-rounded-corners-techniques/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 05:37:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[corners]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[round]]></category>
		<category><![CDATA[rounded]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[After going through a few projects and picking up some css skills along the way here are some neat css tricks I’ve learned and found very helpful.  So helpful I figured I write somewhere so I can always find what I need instead of using google all the time. The first bit of code is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://peepinmymind.com/css/2008/12/css-transparency-and-rounded-corners-techniques/"><img class="aligncenter size-full wp-image-50" title="css_transparency_rounded_corners" src="http://peepinmymind.com/wp-content/uploads/2008/12/css_transparency_rounded_corners.jpg" alt="css_transparency_rounded_corners" width="498" height="213" /></a></p>
<p>After going through a few projects and picking up some css skills along the way here are some neat css tricks I’ve learned and found very helpful.  So helpful I figured I write somewhere so I can always find what I need instead of using google all the time. The first bit of code is setting transparency for objects like images and divs. it can be a nice effect for  setting transparent backgrounds behind some funky bg image.</p>
<p>Codes for setting transparency:</p>
<blockquote><p>For current firefox, safari browser<br />
opacity:0.7;</p>
<p>For firefox browser<br />
-moz-opacity:1.0;</p>
<p>For ie browser<br />
filter: alpha(opacity=100);</p></blockquote>
<p>Now here is something I&#8217;m completely stoked about and that is rounded corners.  I&#8217;m not sure about you but  I&#8217;ve always hated cutting out rounded corner images out just to make rounded corners(my blood is boiling just thinking of it).  Luckily the code below help eliminate most of these issues below are the code to create  rounded corners for safari and mozilla.  As for ie I don&#8217;t believe they support it yet but if you know they do please let me know ;D</p>
<p>Code for making rounded corners:<br />
<span id="more-49"></span></p>
<blockquote><p>For Safari browser:</p>
<p>this code sets all the corners<br />
-webkit-border-radius: 10px;</p>
<p>This set of code allows the user to specify which corner the user wants to be round.<br />
-webkit-border-top-left-radius:10px;<br />
-webkit-border-top-right-radius:10px;<br />
-webkit-border-bottom-radius:10px;<br />
-webkit-border-bottom-radius:10px;</p>
<p>For mozilla firefox browser:<br />
-moz-border-radius:10px;</p>
<p>This set of code allows the user to specify which corner the user wants to be round.<br />
-moz-border-radius-topleft:10px;<br />
-moz-border-radius-topright:10px;<br />
-moz-border-radius-bottomleft:10px;<br />
-moz-border-radius-bottomright:10px;</p></blockquote>
<p>ie currently doesn’t support rounded corners</p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/css/2008/12/css-transparency-and-rounded-corners-techniques/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing WPMU &#124; WP Locally On Windows XP</title>
		<link>http://peepinmymind.com/web/wordpress-tips/2008/06/installing-wpmu-wp-locally-on-windows-xp/</link>
		<comments>http://peepinmymind.com/web/wordpress-tips/2008/06/installing-wpmu-wp-locally-on-windows-xp/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 04:37:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[blog advertising]]></category>
		<category><![CDATA[blog host]]></category>
		<category><![CDATA[blog hosting]]></category>
		<category><![CDATA[blog money]]></category>
		<category><![CDATA[create a blog]]></category>
		<category><![CDATA[create blog]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[locally]]></category>
		<category><![CDATA[microsoft exchange]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wpmu install]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[1. Download XAMPP you can download XAMMP or light version doesn’t matter. 2. Install in your C drive You can skip the next few steps if you want if you’re not installing WPMU a. C:\WINDOWS\system32\drivers\etc\host change localhost to localhost.enter_a_name b. Go To apache\conf\httpd.conf c. Change #LoadModule rewrite_module modules/mod_rewrite.so to LoadModule rewrite_module modules/mod_rewrite.so Continue with WP/WPMU [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><a title="install wpmu" href="http://peepinmymind.com-tips/2008/06/installing-wpmu-wp-locally-on-windows-xp/"><img class="aligncenter size-full wp-image-27" title="install_wpmu_wp_locally_windows_xp" src="http://peepinmymind.com/wp-content/uploads/2008/06/install_wpmu_wp_locally_windows_xp.jpg" alt="install_wpmu_wp_locally" width="400" height="288" /></a></p>
<p class="MsoNormal">1. <strong>Download</strong> <a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP</a> you can download XAMMP or light version doesn’t matter.</p>
<p class="MsoNormal">2. <strong>Install </strong>in your <strong>C drive</strong> You can skip the next few steps if you want if you’re not installing WPMU</p>
<p class="MsoNormal">a. <strong>C:\WINDOWS\system32\drivers\etc\host</strong> change <strong>localhost</strong> to <strong>localhost.enter_a_name</strong></p>
<p class="MsoNormal">b. Go To <strong>apache\conf\httpd.conf</strong></p>
<p>c. Change<strong> </strong></p>
<p><strong> #LoadModule rewrite_module modules/mod_rewrite.so</strong><br />
to<br />
<strong>LoadModule rewrite_module modules/mod_rewrite.so</strong></p>
<p class="MsoNormal">Continue with WP/WPMU install.</p>
<p class="MsoNormal">3. <strong>Download</strong> <a href="http://wordpress.org/download/">wordpress</a> or <a href="http://mu.wordpress.org/download/">wordpress-mu</a> <strong>extract</strong> the files into your <strong>c:\xampp\htdocs</strong> dir.</p>
<p class="MsoNormal">4. Now run <strong>C:\xampp\xampp-control.exe</strong> and click on <strong>start</strong> button for <strong>apache</strong> and <strong>mysql</strong>.</p>
<p class="MsoNormal">5. Open your <strong>web browers</strong> and enter in the <strong>url</strong>: http://localhost/ or<span> </span>http://localhost.enter_a_name if did steps a, b, and c.</p>
<p class="MsoNormal">6. Select a language and <strong>click </strong>on <strong>phpMyAdmin</strong>.</p>
<p class="MsoNormal">7. In the Create new database fields enter wordpress and select utf8_unicode_ci and hit the create button.</p>
<p class="MsoNormal">8. <strong>Change url</strong> to http://localhost /your_word_press_folder/ or http://localhost.enter_a_name/your_word_press_folder/ in the Database section enter the following</p>
<p class="MsoNormal"><span> </span><span> </span>Database Name:<strong>wordpress</strong></p>
<p class="MsoNormal"><span> </span>User Name: <strong>root</strong></p>
<p class="MsoNormal"><span> </span>Password: erase whatever is there and leave <strong>blank</strong></p>
<p class="MsoNormal"><span> </span>Database Host: Leave it as “<strong>local host</strong>”</p>
<p class="MsoNormal">9. <strong>Fill</strong> in your <strong>Site Details</strong> and press <strong>Submit</strong> and your done!</p>
]]></content:encoded>
			<wfw:commentRss>http://peepinmymind.com/web/wordpress-tips/2008/06/installing-wpmu-wp-locally-on-windows-xp/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
