<?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>servDot</title>
	<atom:link href="http://www.servdot.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.servdot.com</link>
	<description>Internet marketing concierge.</description>
	<lastBuildDate>Thu, 20 Aug 2009 17:14:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Accessing MSSQL using PHP on Linux</title>
		<link>http://www.servdot.com/2009/07/accessing-mssql-using-php-on-linux/</link>
		<comments>http://www.servdot.com/2009/07/accessing-mssql-using-php-on-linux/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 01:30:08 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.servdot.com/?p=82</guid>
		<description><![CDATA[Recently I had a project that required me to query a Microsoft SQL database from a PHP script running on one of my Linux servers. My Debian servers were not exactlly set up for this so it required me to do a little research.
Before I could even start writing my script I needed to install [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had a project that required me to query a Microsoft SQL database from a PHP script running on one of my Linux servers. My Debian servers were not exactlly set up for this so it required me to do a little research.</p>
<p>Before I could even start writing my script I needed to install the proper PHP packages. I found many tutorials on setting up Linux servers to use ODBC connections but this seemed overly complicated and would require me to set up ODBC connections for every MSSQL database I wanted access to. Wanting something something simple and straight forward I found the <a href="http://packages.debian.org/lenny/php5-sybase">PHP5-sybase</a> package in the Debian package repository.</p>
<p>After doing `apt-get install php5-sybase` I was ready to dive into the php. The syntax for accessing a MSSQL database is almost identical to MySQL. First we needed to create our connection:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re0">$connection</span> = mssql_connect<span class="br0">&#40;</span><span class="st0">&quot;ServerName&quot;</span>, <span class="st0">&quot;UserName&quot;</span>, <span class="st0">&quot;Password&quot;</span><span class="br0">&#41;</span></div>
<p>Then we needed to specify which database on that server we wanted to access.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re0">$database</span> = mssql_select_db<span class="br0">&#40;</span><span class="st0">&quot;DatabaseName&quot;</span>, <span class="re0">$connection</span><span class="br0">&#41;</span></div>
<p>Once that is done we can start doing queries.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re0">$query</span> = <span class="st0">&quot;SELECT info FROM dbo.TableName&quot;</span><br />
<span class="re0">$result</span> = mssql_query<span class="br0">&#40;</span><span class="re0">$query</span><span class="br0">&#41;</span>;</div>
<p>Now we can print the output.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw1">while</span><span class="br0">&#40;</span><span class="re0">$row</span> = mssql_fetch_array<span class="br0">&#40;</span><span class="re0">$result</span><span class="br0">&#41;</span><span class="br0">&#41;</span><br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp;<a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="re0">$row</span><span class="br0">&#91;</span><span class="st0">&quot;info&quot;</span><span class="br0">&#93;</span>.<span class="st0">&quot;&lt;br&gt;&quot;</span>;<br />
<span class="br0">&#125;</span></div>
<p>Make sure to close the connection when you are done!</p>
<div class="dean_ch" style="white-space: wrap;">mssql_close<span class="br0">&#40;</span><span class="re0">$connection</span><span class="br0">&#41;</span>;</div>
<p>Hope this saves you some time, please feel free to leave comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.servdot.com/2009/07/accessing-mssql-using-php-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better Breathing Website</title>
		<link>http://www.servdot.com/2009/07/better-breathing-website/</link>
		<comments>http://www.servdot.com/2009/07/better-breathing-website/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 21:49:14 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.servdot.com/?p=76</guid>
		<description><![CDATA[Website designed for a company selling only a small number of breathing products. This website features a clean and professional design built using the Wordpress content management system (CMS)

This website also features lightweight e-commerce features allowing users to simply pay for products using a credit card or PayPal. No customer registration process required.]]></description>
			<content:encoded><![CDATA[<p>Website designed for a company selling only a small number of breathing products. This website features a clean and professional design built using the Wordpress content management system (CMS)</p>
<p>This website also features lightweight e-commerce features allowing users to simply pay for products using a credit card or PayPal. No customer registration process required.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.servdot.com/2009/07/better-breathing-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maharani Website</title>
		<link>http://www.servdot.com/2009/07/maharani-website/</link>
		<comments>http://www.servdot.com/2009/07/maharani-website/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 21:31:35 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.servdot.com/?p=73</guid>
		<description><![CDATA[This website is still a work in progress. It contains many general information pages, login system for clients, a password protected catalog and restricted online store. 

Since this client is a wholesaler it is important to them that their products and prices are only available to their customers. To allow the client to update their own product line in-house, this website uses a modified version of zencart.]]></description>
			<content:encoded><![CDATA[<p>This client wanted a light colored website with an Indian feel. Some of their other requirements were:</p>
<ul>
<li>Client login section</li>
<li>Password protected catalog</li>
<li>Restricted online store</li>
</ul>
<p>Not only have we fufilled all of these requests but we did so using the zencart e-commerce system. This allows them to easily manipulate all of the business aspects of having an online store like taxes, shipping costs and product management with out having to think about the web design aspects. By being able to make all of these modifications in-house they are able to save time and money bypassing a web designer for these updates.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.servdot.com/2009/07/maharani-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Website Launched!</title>
		<link>http://www.servdot.com/2009/07/new-website-launched/</link>
		<comments>http://www.servdot.com/2009/07/new-website-launched/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 04:06:27 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.servdot.com/?p=62</guid>
		<description><![CDATA[Finally got the new website online but there is still much work to be done! As time permits I will be updating the portfolio section to include more recent projects. I will also be migrating the client portal to the new layout. Stay Tuned!]]></description>
			<content:encoded><![CDATA[<p>Finally got the new website online but there is still much work to be done! As time permits I will be updating the portfolio section to include more recent projects. I will also be migrating the client portal to the new layout. Stay Tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.servdot.com/2009/07/new-website-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>servDot Website</title>
		<link>http://www.servdot.com/2009/07/oservdot-website/</link>
		<comments>http://www.servdot.com/2009/07/oservdot-website/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 01:42:42 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.servdot.com/?p=31</guid>
		<description><![CDATA[This retired website is just waiting to be repurposed for another web designer, photographer or anyone else who needs a simple portfolio on a budget.

Featuring a ShadowBox gallery and contact form this website is perfect for anyone wanting to get their artwork out on the internet and make it easy for future clients to get in touch!]]></description>
			<content:encoded><![CDATA[<p>This retired website is just waiting to be repurposed for another web designer, photographer or anyone else who needs a simple portfolio on a budget. This website features:</p>
<ul>
<li>Simple one page layout</li>
<li>ShadowBox portfolio item previews</li>
<li>E-mail Contact Form</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.servdot.com/2009/07/oservdot-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TMG Imaging Project</title>
		<link>http://www.servdot.com/2009/07/tmg-imaging-project/</link>
		<comments>http://www.servdot.com/2009/07/tmg-imaging-project/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 01:02:37 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.servdot.com/?p=21</guid>
		<description><![CDATA[Specializing in event and school photography TMG Imaging needed a website that could display over one hundred sample images. With client galleries that update frequently we created a custom script to run every night to keep the website up to date with their business. A contact form allows prospective clients of TMG Imaging to quickly and easily get in contact.]]></description>
			<content:encoded><![CDATA[<p>This client wanted a dark web page so their pictures would really &#8220;pop&#8221;. A few of the requirements were:</p>
<ul>
<li>Media heavy Flash website</li>
<li>Large gallery for 100+ photos</li>
<li>Incorporate company logo</li>
<li>Place for Client galleries to be easily accessed</li>
<li>Contact Form</li>
</ul>
<p>Not only were we able to create a website to meet all of these needs but we also created scripts to keep his client galleries updated automatically. We advised he use YouTube for his video work to give him more internet exposure. His website links to his YouTube profile and his YouTube profile links back to his website. This allows potential customers to find him through normal search methods as well as YouTube.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.servdot.com/2009/07/tmg-imaging-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
