<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1.3" -->
<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/"
	>

<channel>
	<title>Blue Chip Hosting</title>
	<link>http://techblog.bluechiphosting.com</link>
	<description>We know web hosting... Really!</description>
	<pubDate>Wed, 02 May 2007 16:28:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>
	<language>en</language>
			<item>
		<title>Poor man&#8217;s 3d button with pure CSS</title>
		<link>http://techblog.bluechiphosting.com/website-advice/poor-mans-3d-button-with-pure-css</link>
		<comments>http://techblog.bluechiphosting.com/website-advice/poor-mans-3d-button-with-pure-css#comments</comments>
		<pubDate>Tue, 01 May 2007 17:43:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Website advice]]></category>
<category>3d button</category><category>css</category><category>css buttons</category><category>css buttons without image</category><category>hover button</category><category>howto</category><category>mouseover button</category>
		<guid isPermaLink="false">http://techblog.bluechiphosting.com/website-advice/poor-mans-3d-button-with-pure-css</guid>
		<description><![CDATA[We previously covered how to make a button with just CSS.  In this short howto we will show you how to create a 3d button with just CSS, in what we are calling our &#8220;poor man&#8217;s 3d button&#8221;.
First start off with defining the CSS itself.  Place this somewhere inside your &#60;head&#62; &#60;/head&#62; tags or in [...]]]></description>
			<content:encoded><![CDATA[<p>We previously covered how to make a <a href="http://techblog.bluechiphosting.com/website-advice/make-a-button-without-an-image-editor-using-css">button with just CSS</a>.  In this short howto we will show you how to create a 3d button with just CSS, in what we are calling our &#8220;poor man&#8217;s 3d button&#8221;.</p>
<p>First start off with defining the CSS itself.  Place this somewhere inside your &lt;head&gt; &lt;/head&gt; tags or in your CSS stylesheet.</p>
<p class="command">&lt;style type=&#8221;text/css&#8221;&gt;<br />
a.button,<br />
a.button:visited {<br />
  color:#ffffff;<br />
  display:block;<br />
  border:1px solid;<br />
/* normal border color of button */<br />
/* top color - right color - bottom color - left color*/<br />
  border-color:#4F657D #000000 #000000 #4F657D;<br />
  text-decoration:none;<br />
  width:8em;<br />
  text-align:center;<br />
  height:2em;<br />
  line-height:2em;<br />
  background:#1d83a6;<br />
  font-weight:bold}<br />
a.button:hover {<br />
  color:#ff0000;<br />
  background:#236277;<br />
  position:relative; top:1px;<br />
  left:1px;<br />
/* mouse over border color*/<br />
/* top color - right color - bottom color - left color*/<br />
  border-color:#000000 #000000 #000000 #000000}<br />
&lt;/style&gt;</p>
<p> We&#8217;ve put some comments in so you can easily identify where to modify colors for the button.  Also note we have called it simply &#8220;button&#8221;  and so you can reference it by using class=&#8221;button&#8221;.</p>
<p>Now in your make a link with class=&#8221;button&#8221; like below: </p>
<p class="command">&lt;a href=&#8221;http://www.bluechiphosting.com/&#8221; mce_href=&#8221;http://www.bluechiphosting.com/&#8221; title=&#8221;my 3d button&#8221; class=&#8221;button&#8221;&gt;3d button yay!&lt;/a&gt;</p>
<p>You will end up with a button like this:</p>
<p><center><br />
<a href="http://www.bluechiphosting.com/" title="my 3d button" class="button">3d button yay!</a><br />
</center>And thats it! We hope you enjoy our poor man&#8217;s 3d button!Have fun and happy serving <img src='http://techblog.bluechiphosting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.bluechiphosting.com/website-advice/poor-mans-3d-button-with-pure-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HOWTO make portable script shebang with /usr/bin/env</title>
		<link>http://techblog.bluechiphosting.com/linux-tips-tricks/portable-shebang-howto-using-usr-bin-env</link>
		<comments>http://techblog.bluechiphosting.com/linux-tips-tricks/portable-shebang-howto-using-usr-bin-env#comments</comments>
		<pubDate>Mon, 30 Apr 2007 17:39:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux tips and tricks]]></category>
<category>howto</category><category>linux</category><category>perl</category><category>php</category><category>portable shebang</category><category>script</category><category>shebang</category><category>unix</category><category>usr bin env</category>
		<guid isPermaLink="false">http://techblog.bluechiphosting.com/linux-tips-tricks/portable-shebang-howto-using-usrbinenv</guid>
		<description><![CDATA[Not all Unix/Linux systems are created equal.  While on one server you might find your perl binary in /usr/bin/perl another server might have it in /usr/local/bin/perl.
 It is not a huge deal to change this around manually, but there is an option you can use that will give you working script that will work anywhere&#8230; Using the [...]]]></description>
			<content:encoded><![CDATA[<p>Not all Unix/Linux systems are created equal.  While on one server you might find your perl binary in /usr/bin/perl another server might have it in /usr/local/bin/perl.</p>
<p> It is not a huge deal to change this around manually, but there is an option you can use that will give you working script that will work anywhere&#8230; Using the /usr/bin/env command.</p>
<p>Lets say you have a cgi script that does</p>
<p class="command">#!/usr/bin/perl</p>
<p>modify that to</p>
<p class="command">#!/usr/bin/env perl</p>
<p>And that&#8217;s it!  Your script should work on any system that has perl installed.  This can be used for bash, php, etc anything really.  Just replace perl with what you want to use, ie: /usr/bin/env bash , /usr/bin/env php.  Upload your file and it is ready to run anywhere.</p>
<p>Hope it helps, happy serving <img src='http://techblog.bluechiphosting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.bluechiphosting.com/linux-tips-tricks/portable-shebang-howto-using-usr-bin-env/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Make a button without an image editor using CSS!</title>
		<link>http://techblog.bluechiphosting.com/website-advice/make-a-button-without-an-image-editor-using-css</link>
		<comments>http://techblog.bluechiphosting.com/website-advice/make-a-button-without-an-image-editor-using-css#comments</comments>
		<pubDate>Tue, 24 Apr 2007 19:47:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Website advice]]></category>
<category>button maker</category><category>buttons</category><category>css</category><category>css buttons</category><category>css buttons without image</category><category>image editor</category><category>web site button</category>
		<guid isPermaLink="false">http://techblog.bluechiphosting.com/website-advice/make-a-button-without-an-image-editor-using-css</guid>
		<description><![CDATA[You, like most other people will likely want to have a button or thirty.. on your website! Sometimes making one from scratch is kind of annoying in programs like photoshop etc&#8230; when all you want is a button!
We&#8217;ll quickly show you the basic of making a button in purely CSS (cascading style sheets) and html.
Example:
CSSBUTTON
To [...]]]></description>
			<content:encoded><![CDATA[<p>You, like most other people will likely want to have a button or thirty.. on your website! Sometimes making one from scratch is kind of annoying in programs like photoshop etc&#8230; when all you want is a button!</p>
<p>We&#8217;ll quickly show you the basic of making a button in purely CSS (cascading style sheets) and html.</p>
<p>Example:<br />
<code><span class="cssbutton"><span class="buttonleft">CSS</span><span class="buttonright">BUTTON</span></span></code></p>
<p>To get the results above you first make addition to your CSS file.. or add it to your &lt;head&gt; fields in your html file.</p>
<p class="command">/* CSS BUTTON */<br />
.cssbutton {<br />
/* border color */<br />
background: #00FF00;<br />
padding: 1px;<br />
font-family: Geneva, Vera, Arial, Helvetica, sans-serif;<br />
font-size: x-small;<br />
font-variant : small-caps;<br />
border : 1px solid #AA4422;<br />
}<br />
.buttonleft {<br />
/* text color left*/<br />
color: #f8f8f8;<br />
/* background color left */<br />
background: #AA4422;<br />
padding: 0px 3px 0px 3px;<br />
}<br />
.buttonright {<br />
/* Right side text color*/<br />
color: #000000;<br />
/* Right side background color*/<br />
background: #1D83A6;<br />
padding: 0px 20px 0px 3px;<br />
}</p>
<p>Then you use the following code in your HTML</p>
<p class="command">&lt;span class=&#8221;cssbutton&#8221;&gt;&lt;span class=&#8221;buttonleft&#8221;&gt;CSS&lt;/span&gt;&lt;span class=&#8221;buttonright&#8221;&gt;BUTTON&lt;/span&gt;&lt;/span&gt;</p>
<p>And that&#8217;s it&#8230; a very simple easy cool looking button. Please note we don&#8217;t really want the colors to be this way, we&#8217;ve simply placed the buttons in this color so you can see the which elements to change! We&#8217;ve added comments to help you identify what colors control what part.</p>
<p>You can change the padding options to play around with different sizes, do what you want with it. Try it out its a nice and slick way to get a colorful addition to your website.</p>
<p>Example:<br />
<code><span class="cssbutton"><span class="buttonleft">CSS</span><span class="buttonright">BUTTON</span></span></code></p>
<p>Hope it helps! Happy serving <img src='http://techblog.bluechiphosting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.bluechiphosting.com/website-advice/make-a-button-without-an-image-editor-using-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Clean up your computer with cleanup!</title>
		<link>http://techblog.bluechiphosting.com/cool-software-programs/clean-up-your-computer-with-cleanup</link>
		<comments>http://techblog.bluechiphosting.com/cool-software-programs/clean-up-your-computer-with-cleanup#comments</comments>
		<pubDate>Sat, 21 Apr 2007 02:58:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Cool Software]]></category>
<category>clean up computer</category><category>cleanup</category><category>free software</category>
		<guid isPermaLink="false">http://techblog.bluechiphosting.com/cool-software-programs/clean-up-your-computer-with-cleanup</guid>
		<description><![CDATA[ This software is quite impressive honestly.  It is free, it does the job very fast and just works.  Thats good software in my book.  It&#8217;s purpose is to free up disk space that is being used by temporary files and all kinds of other evil things,  but all in all it makes your computer run more effitiently. 
 The software is [...]]]></description>
			<content:encoded><![CDATA[<p> This software is quite impressive honestly.  It is free, it does the job very fast and just works.  Thats good software in my book.  It&#8217;s purpose is to free up disk space that is being used by temporary files and all kinds of other evil things,  but all in all it makes your computer run more effitiently. </p>
<p> The software is Cleanup! available at:</p>
<p><a href="http://www.stevengould.org/software/cleanup/">http://www.stevengould.org/software/cleanup/</a></p>
<p> Every computer we have tried it on, has cleaned up 1-2 GIGABYTES of data.  It&#8217;s quite impressive, and has not failed.</p>
<p>Screenshot below:</p>
<p><a href="http://techblog.bluechiphosting.com/wp-content/uploads/2007/04/itworks.jpg" title="Cleanup! Just works"><img src="http://techblog.bluechiphosting.com/wp-content/uploads/2007/04/itworks.jpg" alt="Cleanup! Just works" /></a></p>
<p>It&#8217;s an easy to use program that works.  No Gimmicks.  It is rare to run into a good free program nowadays without getting all kinds of advertisement… sometimes even spyware/malware.  This one is a keeper!</p>
<p>Hope you enjoy it! <img src='http://techblog.bluechiphosting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.bluechiphosting.com/cool-software-programs/clean-up-your-computer-with-cleanup/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Poor man&#8217;s banner / ad rotator</title>
		<link>http://techblog.bluechiphosting.com/website-advice/poor-mans-banner-ad-rotator</link>
		<comments>http://techblog.bluechiphosting.com/website-advice/poor-mans-banner-ad-rotator#comments</comments>
		<pubDate>Thu, 19 Apr 2007 19:09:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Website advice]]></category>
<category>php banner advertisement hosting ad rotator</category>
		<guid isPermaLink="false">http://techblog.bluechiphosting.com/website-advice/poor-mans-banner-ad-rotator</guid>
		<description><![CDATA[So you want to add advertisement on your site, but do not want to show the same old advertisement banner all the time?  Well heres an easy and simple solution in PHP that even a someone who copies and pastes the code from a blog site can do&#8230; hey.. wait!
Say you have one image banner somewhere on your site. 
Cool banner:
&#60;a [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to add advertisement on your site, but do not want to show the same old advertisement banner all the time?  Well heres an easy and simple solution in PHP that even a someone who copies and pastes the code from a blog site can do&#8230; hey.. wait!</p>
<p>Say you have one image banner somewhere on your site. </p>
<p>Cool banner:</p>
<p class="command">&lt;a href=&#8221;http://www.bluechiphosting.com&#8221; mce_href=&#8221;http://www.bluechiphosting.com&#8221;&gt;<br />
&lt;img src=”banner.jpg” border=”0&#8243; alt=”my cool banner”&gt;<br />
&lt;/a&gt;</p>
<p>other cool banner:</p>
<p class="command">&lt;a href=&#8221;http://www.bluechiphosting.com&#8221; mce_href=&#8221;http://www.bluechiphosting.com&#8221;&gt;<br />
&lt;img src=”otherbanner.jpg” border=”0&#8243; alt=”my other cool banner”&gt;<br />
&lt;/a&gt;</p>
<p>Place the 2 banner codes from above as shown below in your PHP site:</p>
<p class="command">&lt;?php<br />
$rand = rand(0, 1);<br />
        if ($rand == 0) {<br />
        echo ‘&lt;a href=http://www.bluechiphosting.com&gt;&lt;img src=banner.jpg border=0 alt=my cool banner&gt;&lt;/a&gt;’;<br />
        } else if ($rand == 1) {<br />
        echo ‘&lt;a href=http://www.bluechiphosting.com&gt;&lt;img src=otherbanner.jpg border=0 alt=my other cool banner&gt;&lt;/a&gt;’;<br />
        }<br />
?&gt; </p>
<p>And that&#8217;s it!   </p>
<p>You could grow this into potentially big script that has many images, you could also just make text links.. or an entire block of html code.</p>
<p>This is basicly using the rand() funtion in PHP to pick a random number between 0 and 1, if 0 the 1st image is shown, if its 1 the 2nd image is shown.</p>
<p>larger sample:</p>
<p class="command">&lt;?php<br />
$rand = rand(0, 6);<br />
        if ($rand == 0) {<br />
        echo ‘ONE’;<br />
        } else if ($rand == 1) {<br />
        echo ‘TWO’;<br />
        } else if ($rand == 2) {<br />
        echo ‘THREE’;<br />
        } else if ($rand == 3) {<br />
        echo ‘FOUR’;<br />
        } else if ($rand == 4) {<br />
        echo ‘FIVE’;<br />
        } else if ($rand == 5) {<br />
        echo ‘SIX’;<br />
        } else if ($rand == 6) {<br />
        echo ‘and SO ON’;<br />
    }<br />
?&gt;</p>
<p>That example shows using rand() chooing a number from 0 to 6, hope it helps to understand it. </p>
<p>Hope you enjoy our poor man&#8217;s banner/ad rotation script!  We never said it was pretty! we said it was easy!</p>
<p>Author&#8217;s notes:  Watch the single quotes! Might want to make sure they are still quotes if you copy and paste! Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.bluechiphosting.com/website-advice/poor-mans-banner-ad-rotator/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to compress your HTML websites with PHP</title>
		<link>http://techblog.bluechiphosting.com/website-advice/how-to-compress-your-html-websites-with-php</link>
		<comments>http://techblog.bluechiphosting.com/website-advice/how-to-compress-your-html-websites-with-php#comments</comments>
		<pubDate>Wed, 18 Apr 2007 23:05:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Website advice]]></category>

		<guid isPermaLink="false">http://techblog.bluechiphosting.com/website-advice/how-to-compress-your-html-websites-with-php</guid>
		<description><![CDATA[You know bandwidth can cost a lot if you&#8217;re running a high bandwidth site. Other times you want to make your site as optimal in speed as you possibly can for the user to have a good experience when using your site.
Some sites have a lot of text and content and it helps a lot [...]]]></description>
			<content:encoded><![CDATA[<p>You know bandwidth can cost a lot if you&#8217;re running a high bandwidth site. Other times you want to make your site as optimal in speed as you possibly can for the user to have a good experience when using your site.</p>
<p>Some sites have a lot of text and content and it helps a lot to compress that output in the long run it is just a better experience for the end users and healthier for the internet in general.</p>
<p>With PHP the easiest thing you can do after you have a website made, is to convert your HTML static site to PHP&#8230; You could simply rename it to .php in <em>MOST </em>cases but not all, and then add the following to the top of your file.</p>
<p><em><strong>Add to the top of your PHP code:</strong></em></p>
<p class="command">&lt;? ob_start(&#8221;ob_gzhandler&#8221;); ?&gt;</p>
<p>Thats it! Simple as pie <img src='http://techblog.bluechiphosting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You don&#8217;t have PHP on your website? Well *cough* <a href="http://www.bluechiphosting.com">blue chip hosting</a> offers PHP for free to all members, we even have a free plan!</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.bluechiphosting.com/website-advice/how-to-compress-your-html-websites-with-php/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to disable ugly HTML image borders in links</title>
		<link>http://techblog.bluechiphosting.com/website-advice/how-to-disable-ugly-borders-in-image-links-in-html</link>
		<comments>http://techblog.bluechiphosting.com/website-advice/how-to-disable-ugly-borders-in-image-links-in-html#comments</comments>
		<pubDate>Wed, 18 Apr 2007 22:41:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Website advice]]></category>

		<guid isPermaLink="false">http://techblog.bluechiphosting.com/website-advice/how-to-disable-ugly-borders-in-image-links-in-html</guid>
		<description><![CDATA[While this may seem very simple to those that know the answer, those that do not know may find it very useful.  It can make a very ugly situation for a beginner into something a lot prettier  
Original code:
&#60;a href=&#8221;http://www.bluechiphosting.com&#8221; mce_href=&#8221;http://www.bluechiphosting.com&#8221; title=&#8221;free web hosting&#8221;&#62;&#60;img src=&#8221;image.jpg&#8221; mce_src=&#8221;image.jpg&#8221;&#62;
change code to:
&#60;a href=&#8221;http://www.bluechiphosting.com&#8221; mce_href=&#8221;http://www.bluechiphosting.com&#8221; title=&#8221;free web hosting&#8221;&#62;&#60;img src=&#8221;image.jpg&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>While this may seem very simple to those that know the answer, those that do not know may find it very useful.  It can make a very ugly situation for a beginner into something a lot prettier <img src='http://techblog.bluechiphosting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em><strong>Original code:</strong></em></p>
<p class="command">&lt;a href=&#8221;http://www.bluechiphosting.com&#8221; mce_href=&#8221;http://www.bluechiphosting.com&#8221; title=&#8221;free web hosting&#8221;&gt;&lt;img src=&#8221;image.jpg&#8221; mce_src=&#8221;image.jpg&#8221;&gt;</p>
<p><em><strong>change code to:</strong></em></p>
<p class="command">&lt;a href=&#8221;http://www.bluechiphosting.com&#8221; mce_href=&#8221;http://www.bluechiphosting.com&#8221; title=&#8221;free web hosting&#8221;&gt;&lt;img src=&#8221;image.jpg&#8221; mce_src=&#8221;image.jpg&#8221;&gt;</p>
<p>Hope it helps <img src='http://techblog.bluechiphosting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.bluechiphosting.com/website-advice/how-to-disable-ugly-borders-in-image-links-in-html/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
