<?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>Ct. Coder - Connecticut PHP Programmer Training</title>
	<atom:link href="http://ctcoder.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ctcoder.com</link>
	<description></description>
	<pubDate>Thu, 03 Dec 2009 14:53:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>PHP Script Library</title>
		<link>http://ctcoder.com/php-script-library/</link>
		<comments>http://ctcoder.com/php-script-library/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 02:23:35 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=223</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/php-script-library/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'PHP Script Library';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
Script Library
In order to help pay for the site I have thrown togather a great starter library for the noobie php programmer:
PHP Programmer Scripts
Includes:
arrays - An array is a data structure that stores single or multiple values in a single value
dbconnect - Shows how to connect to a MySQL Database
functions - Teaches how to create [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/php-script-library/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'PHP Script Library';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p><strong>Script Library</strong><br />
In order to help pay for the site I have thrown togather a great starter library for the noobie php programmer:</p>
<p><a href="http://payloadz.com/go/sip?id=593356&amp;aff_id=3924">PHP Programmer Scripts</a></p>
<p>Includes:</p>
<p><span class="text-main"><span style="font-size: x-small; font-family: Verdana;"><span style="font-size: x-small; font-family: Verdana;">arrays - An </span></span></span>array is a data structure that stores single or multiple values in a single value<br />
<span class="text-main"><span style="font-size: x-small; font-family: Verdana;"><span style="font-size: x-small; font-family: Verdana;">dbconnect - Shows how to connect to a MySQL Database<br />
functions - Teaches how to create a function and call it out in a script<br />
for each/while/for loops - how to effectively use loops<br />
forms - How to use a form to send information to the script<br />
helloworld - The basic hey Im here, Im new and I am proud script<br />
if/else/elseif statements - How to selectively choose what the script executes<br />
switches - If you would like to create a simple oop website this is a good thing to know<br />
includes - This will help in organizing all your external files<br />
variables - How to properly use a variable<br />
comments - How to comment out your code<br />
</span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/php-script-library/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pricing and Consultation</title>
		<link>http://ctcoder.com/pricing-and-consultation/</link>
		<comments>http://ctcoder.com/pricing-and-consultation/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 00:42:58 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=219</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/pricing-and-consultation/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Pricing and Consultation';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
SEO Implementation
Sometimes it becomes difficult to keep a full time programmer for implementing SEO content on client websites. This can be costly and many times unnecessary. We can help!
Our team, will implement content for technologies sent to the web browser/client such as HTML, JavaScript, CSS, and on the server-side frameworks such as Ruby, PHP, JSP, [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/pricing-and-consultation/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Pricing and Consultation';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p><strong>SEO Implementation</strong></p>
<p>Sometimes it becomes difficult to keep a full time programmer for implementing SEO content on client websites. This can be costly and many times unnecessary. We can help!</p>
<p>Our team, will implement content for technologies sent to the web browser/client such as HTML, JavaScript, CSS, and on the server-side frameworks such as Ruby, PHP, JSP, ASP .NET.</p>
<p>We will ensure that your content is up on your client website within 3 business days of request. Any requests sent after 12pm(EST) will be started the following day. Contact us at Support@actionwerx.com.</p>
<p><strong>Free Initial Consultation</strong></p>
<p>We offer a free consultation to get the basic information about our clients. Please feel free to set an appointment up by sending an email to: support@actionwerx.com</p>
<p><strong>Paid Consultation &amp; Website Reviews</strong><br />
We offer paid consultation and reviews for existing or proposed websites or projects:</p>
<p>Telephone consultation: $20 per call/hour<br />
Written review of website: $599 (Delivered as Word document)</p>
<p>Special: Get two reviews with free consultation — includes two(2) written reviews from design, marketing, usability and search engine optimization viewpoints, plus a one-hour follow-up telephone consultation.</p>
<p><strong>Websites, Blogs &amp; Redesigns</strong></p>
<p>Custom websites start at $5,000 for a logo and 10-page website built with the aim of high search engine rankings, ad copy assistance, image enhance­ment, search engine submissions as needed, and ongoing consultation throughout the project. Pricing not based solely on number of pages.</p>
<p>Custom blog design is usually $1,500 for blog software installation, a logo and a custom design built with the aim of high search engine rankings. Image enhancement and assistance with using your blog are included. We include functionality and user-friendly features beyond the default blog design, such as a site map listing your blog pages and a contact page email form.</p>
<p>A new website (custom web design)<br />
Redesign your website (website redesign)<br />
A new blog (custom blog design)<br />
Redesign you blog<br />
Custom logo (logo design)</p>
<p><strong>Services below are offered with new website addition:</strong></p>
<p>E-commerce (shopping cart/order form)<br />
Domain name assistance (site.com)<br />
Search engine friendly design/SEO<br />
Ad copy writing assistance<br />
Search Engine Optimization<br />
Search engine optimization to gain better search engine positions.<br />
Pricing dependent upon scope of project<br />
Website Updates &amp; Maintenance Packages</p>
<p>*Billed monthly per initial agreement with clients</p>
<p><strong>We can maintain and update your website — as and when you need it:</strong></p>
<p>3 month package — $975 ($325 month)<br />
6 month package  - $1800 ($300 month)<br />
12 month package — $3000 ($250 month)<br />
<strong>Web Hosting</strong><br />
Solid, reliable, managed web hosting for your website.<br />
Standard Web Hosting Account: $360 per year plus one-time $50 setup fee</p>
<p><strong>Web Hosting &amp; Website Updates</strong><br />
Need both web hosting and website updates or maintenance?<br />
Standard Web Hosting Account: $360 per year plus the Hourly Maintenance Package selected above (we&#8217;ll waive our $50 web hosting setup fee)</p>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/pricing-and-consultation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Automatic Data Backup Of Database</title>
		<link>http://ctcoder.com/automatic-data-backup-of-database/</link>
		<comments>http://ctcoder.com/automatic-data-backup-of-database/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 04:57:19 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=170</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/automatic-data-backup-of-database/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Automatic Data Backup Of Database';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
As a PHP Programmer you should know the importance of having a database backup&#8230;
Have you ever been typing something or finishing up a document and suddenly lost electricity? More than likely we did not save that document. It can be very frustrating to lose such documentation but you can always &#8220;just&#8221; start a new one. [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/automatic-data-backup-of-database/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Automatic Data Backup Of Database';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>As a <a href="http://ctcoder.com">PHP Programmer</a> you should know the importance of having a <a href="http://ctcoder.com">database backup</a>&#8230;</p>
<p>Have you ever been typing something or finishing up a document and suddenly lost electricity? More than likely we did not save that document. It can be very frustrating to lose such documentation but you can always &#8220;just&#8221; start a new one. After all, it’s &#8220;just&#8221; a document&#8230;</p>
<p>Sure&#8230;. or You can use our <a href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&amp;SESSION=vfsPsM1cFrV-m45fGxGFquukQaqR15dV6mSd4UB2YJj_1Ww4Olex5KUW1mC&amp;dispatch=5885d80a13c0db1f9fecf49521b3f5af727cc8f9db6c1fec0342a4f411eb2d06">automatic backup software</a> to backup all of your databases or back them up on command. This script will send the SQL file to your email this way you have an extra <a href="http://ctcoder.com">database backup</a>. You can later use these to <a href="http://ctcoder.com">restore database</a> info or create new ones from saved files.</p>
<p>I am selling a script that will allow you to generate a data backup:</p>
<p>Click Below to purchase $7.95:</p>
<p><em><strong><a href="http://payloadz.com/go/sip?id=561440&amp;aff_id=3924">Automatic Database Backup</a></strong></em></p>
<p>Don&#8217;t wait for your database to crash, back it up automatically or on demand with this simple to install PHP Script.</p>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/automatic-data-backup-of-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>JobberBase SEO Mod</title>
		<link>http://ctcoder.com/jobberbase-seo-mod/</link>
		<comments>http://ctcoder.com/jobberbase-seo-mod/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 21:55:26 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=140</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/jobberbase-seo-mod/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'JobberBase SEO Mod';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
Search Engine Optimization is important if you want to show high in the search engine results pages. Many webmasters pay big money to have a SEO company optimize their websites. I am the lead programmer for such a company and found JobberBase while searching for a job search website that I could utilize for personal [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/jobberbase-seo-mod/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'JobberBase SEO Mod';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>Search Engine Optimization is important if you want to show high in the search engine results pages. Many webmasters pay big money to have a SEO company optimize their websites. I am the lead programmer for such a company and found JobberBase while searching for a job search website that I could utilize for personal use. I fell in love with it right away, but noticed that it did not have SEO tags that were easily editable by the user/webmaster. So I started adding code and came up with the following tutorial, this tutorial will show you how to add SEO capabilities to your JobberBase website.  I tried to make this as simple as possible, so enjoy:</p>
<p>Backup your database and your files before attempting this install</p>
<p>1. Alter db table:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>ALTER TABLE `categories` ADD `title` TEXT NOT NULL AFTER `var_name` ,<br />
ADD `description` TEXT NOT NULL AFTER `title` ,<br />
ADD `keywords` TEXT NOT NULL AFTER `description` ;</p></blockquote>
<p>2. In &#8220;admin/_templates/categories.tpl&#8221;:</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>&lt;a href=&#8221;#&#8221; title=&#8221;Save&#8221; class=&#8221;saveCategory&#8221;&gt;&lt;img src=&#8221;{$BASE_URL}img/disk.png&#8221; alt=&#8221;Save&#8221; /&gt; Save&lt;/a&gt;</p></blockquote>
<p>Add After:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>&lt;label&gt;&lt;span&gt;Title:&lt;/span&gt;&lt;input type=&#8221;text&#8221; size=&#8221;60&#8243; name=&#8221;title[{$category.id}]&#8221; value=&#8221;{$category.title}&#8221; /&gt;&lt;/label&gt;<br />
&lt;label&gt;&lt;span&gt;Description:&lt;/span&gt;&lt;input type=&#8221;text&#8221; size=&#8221;60&#8243; name=&#8221;desc[{$category.id}]&#8221; value=&#8221;{$category.description}&#8221;/&gt;&lt;/label&gt;<br />
&lt;label&gt;&lt;span&gt;Keywords:&lt;/span&gt;&lt;input type=&#8221;text&#8221; size=&#8221;60&#8243; name=&#8221;keys[{$category.id}]&#8221; value=&#8221;{$category.keywords}&#8221; /&gt;&lt;/label&gt;</p></blockquote>
<p>3. In &#8220;_includes/functions.php&#8221;:</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>function get_categories()<br />
{<br />
global $db;<br />
$categories = array();<br />
$sql = &#8216;SELECT id, name, var_name<br />
FROM categories<br />
ORDER BY `category_order` ASC&#8217;;<br />
$result = $db-&gt;query($sql);<br />
while ($row = $result-&gt;fetch_assoc())<br />
{<br />
$categories[] = array(&#8217;id&#8217; =&gt; $row['id'], &#8216;name&#8217; =&gt; $row['name'], &#8216;var_name&#8217; =&gt; $row['var_name']);<br />
}<br />
return $categories;<br />
}</p></blockquote>
<p>Change to:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>function get_categories()<br />
{<br />
global $db;<br />
$categories = array();<br />
$sql = &#8216;SELECT *<br />
FROM categories<br />
ORDER BY `category_order` ASC&#8217;;<br />
$result = $db-&gt;query($sql);<br />
while ($row = $result-&gt;fetch_assoc())<br />
{<br />
$categories[] = array(&#8217;id&#8217; =&gt; $row['id'], &#8216;name&#8217; =&gt; $row['name'], &#8216;var_name&#8217; =&gt; $row['var_name'], &#8216;title&#8217; =&gt; $row['title'], &#8216;description&#8217; =&gt; $row['description'], &#8216;keywords&#8217; =&gt; $row['keywords']);<br />
}<br />
return $categories;<br />
}</p></blockquote>
<p>4. In &#8220;admin/page_categories.php&#8221;:</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>case &#8217;saveCategory&#8217;:<br />
$result = $db -&gt; query(&#8217;<br />
UPDATE<br />
`categories`<br />
SET<br />
`var_name` = \&#8221; . $_POST['url'] . &#8216;\&#8217;,<br />
`name` = \&#8221; . $_POST['name'] . &#8216;\&#8217;<br />
WHERE<br />
`id` = &#8216; . intval($_POST['category']) . &#8216;<br />
&#8216;);</p>
<p>break;</p></blockquote>
<p>Change to:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>case &#8217;saveCategory&#8217;:<br />
$result = $db -&gt; query(&#8217;<br />
UPDATE<br />
`categories`<br />
SET<br />
`var_name` = \&#8221; . $_POST['url'] . &#8216;\&#8217;,<br />
`name` = \&#8221; . $_POST['name'] . &#8216;\&#8217;,<br />
`title` = \&#8221; . $_POST['title'] . &#8216;\&#8217;,<br />
`description` = \&#8221; . $_POST['description'] . &#8216;\&#8217;,<br />
`keywords` = \&#8221; . $_POST['keywords'] . &#8216;\&#8217;<br />
WHERE<br />
`id` = &#8216; . intval($_POST['category']) . &#8216;<br />
&#8216;);<br />
break;</p></blockquote>
<p>Then Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>$last = $result-&gt;fetch_assoc();<br />
$db-&gt;query(&#8217;<br />
INSERT INTO<br />
`categories`<br />
VALUES (<br />
NULL,<br />
\&#8217;enter a name\&#8217;,<br />
\&#8217;custom url\&#8217;,<br />
&#8216; . (intval($last['category_order']) + 1) . &#8216;<br />
)<br />
&#8216;);</p></blockquote>
<p>Change to:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>$last = $result-&gt;fetch_assoc();<br />
$db-&gt;query(&#8217;<br />
INSERT INTO<br />
`categories`<br />
VALUES (<br />
NULL,<br />
\&#8217;enter a name\&#8217;,<br />
\&#8217;custom url\&#8217;,<br />
\&#8217;SEO Title\&#8217;,<br />
\&#8217;SEO Description\&#8217;,<br />
\&#8217;SEO Keywords\&#8217;,<br />
&#8216; . (intval($last['category_order']) + 1) . &#8216;<br />
)<br />
&#8216;);</p></blockquote>
<p>5. In “admin/js/categories.js”:</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>&#8216;img/disk.png&#8221; alt=&#8221;Save&#8221; /&gt; Save&lt;/a&gt;&#8217;,</p></blockquote>
<p>Add After:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>&#8216;&lt;label&gt;&lt;span&gt;Title:&lt;/span&gt;&lt;input type=&#8221;text&#8221; size=&#8221;60&#8243; name=&#8221;title[]&#8221; value=&#8221;newcategory&#8221; /&gt;&lt;/label&gt;&#8217;,<br />
&#8216;&lt;label&gt;&lt;span&gt;Description:&lt;/span&gt;&lt;input type=&#8221;text&#8221; size=&#8221;60&#8243; name=&#8221;description[]&#8221; value=&#8221;newcategory&#8221; /&gt;&lt;/label&gt;&#8217;,<br />
&#8216;&lt;label&gt;&lt;span&gt;Keywords:&lt;/span&gt;&lt;input type=&#8221;text&#8221; size=&#8221;60&#8243; name=&#8221;keywords[]&#8221; value=&#8221;newcategory&#8221; /&gt;&lt;/label&gt;&#8217;,</p></blockquote>
<p>KEEP FILE OPEN</p>
<p>6. In the same file, “categories.js”:</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>name: $(el).parent().find(&#8217;input:first&#8217;).val(),</p></blockquote>
<p>Add after:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>title: $(el).parent().find(&#8217;input:eq(1)&#8217;).val(),<br />
description: $(el).parent().find(&#8217;input:eq(2)&#8217;).val(),<br />
keywords: $(el).parent().find(&#8217;input:eq(3)&#8217;).val(),</p></blockquote>
<p>KEEP FILE OPEN</p>
<p>7. In the same file, “categories.js”</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>.find(&#8217;input:first&#8217;)<br />
.attr(&#8217;name&#8217;, &#8216;name[' + id + ']&#8216;)<br />
.end()</p></blockquote>
<p>Add after:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>.find(&#8217;input:text.eq(1)&#8217;)<br />
.attr(&#8217;name&#8217;, &#8216;title[' + id + ']&#8216;)<br />
.end()<br />
.find(&#8217;input:text.eq(2)&#8217;)<br />
.attr(&#8217;name&#8217;, &#8216;description[' + id + ']&#8216;)<br />
.end()<br />
.find(&#8217;input:text.eq(3)&#8217;)<br />
.attr(&#8217;name&#8217;, &#8216;keywords[' + id + ']&#8216;)<br />
.end()</p></blockquote>
<p>8. In the file, “/page_category.php”</p>
<p>[b]NOTE:[/b] [u]Not[/u] the &#8220;/admin/page_category.php&#8221;</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>$html_title = &#8216;Are you looking for &#8216; . $extra . &#8216; &#8216; . $id . &#8216; jobs?&#8217;;<br />
$meta_description = &#8221;;</p></blockquote>
<p>Replace with:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>$smarty-&gt;assign(&#8217;seo_title&#8217;, get_seo_title($id));<br />
$smarty-&gt;assign(&#8217;seo_desc&#8217;, get_seo_desc($id));<br />
$smarty-&gt;assign(&#8217;seo_keys&#8217;, get_seo_keys($id));</p></blockquote>
<p>9. In the file, “/_includes/functions.php”</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>function get_categories()<br />
{<br />
*** Removed to save space ***<br />
}</p></blockquote>
<p>Add After:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>function get_seo_title($id)<br />
{<br />
global $db;<br />
$sql = &#8216;SELECT *<br />
FROM categories<br />
WHERE var_name = &#8220;&#8216;.$id.&#8217;&#8221;&#8216;;<br />
$result = $db-&gt;query($sql);<br />
$row = $result-&gt;fetch_assoc();<br />
return $row['title'];<br />
}<br />
function get_seo_desc($id)<br />
{<br />
global $db;<br />
$sql = &#8216;SELECT *<br />
FROM categories<br />
WHERE var_name = &#8220;&#8216;.$id.&#8217;&#8221;&#8216;;<br />
$result = $db-&gt;query($sql);<br />
$row = $result-&gt;fetch_assoc();<br />
return $row['description'];<br />
}<br />
function get_seo_keys($id)<br />
{<br />
global $db;<br />
$sql = &#8216;SELECT *<br />
FROM categories<br />
WHERE var_name = &#8220;&#8216;.$id.&#8217;&#8221;&#8216;;<br />
$result = $db-&gt;query($sql);<br />
$row = $result-&gt;fetch_assoc();<br />
return $row['keywords'];<br />
}</p></blockquote>
<p>10. In “/_templates/header.tpl”</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>&lt;title&gt;{$html_title}&lt;/title&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;application/xhtml+xml; charset=utf-8&#8243; /&gt;<br />
&lt;meta name=&#8221;description&#8221; content=&#8221;{$meta_description}&#8221; /&gt;<br />
&lt;meta name=&#8221;keywords&#8221; content=&#8221;{$meta_keywords}&#8221; /&gt;</p></blockquote>
<p>Replace with:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>&lt;title&gt;{$seo.title}&lt;/title&gt;<br />
&lt;meta name=&#8221;description&#8221; content=&#8221;{$seo_desc}&#8221; /&gt;<br />
&lt;meta name=&#8221;keywords&#8221; content=&#8221;{$seo_keys}&#8221; /&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;application/xhtml+xml; charset=utf-8&#8243; /&gt;</p></blockquote>
<p>11. In “/page_home.php”</p>
<p>Find:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>$html_title = $translations['homepage']['title'] . SITE_NAME;</p></blockquote>
<p>Replace with:</p>
<blockquote style="background: #f9f9f9 none; color: #000;"><p>$smarty-&gt;assign(&#8217;seo_title&#8217;, &#8220;This is the homepage title&#8221;);<br />
$smarty-&gt;assign(&#8217;seo_desc&#8217;, &#8220;This is the homepage Description&#8221;);<br />
$smarty-&gt;assign(&#8217;seo_keys&#8217;, &#8220;This is the homepage keyword&#8221;);</p></blockquote>
<p>Change that last set of information to set you homepage SEO values.</p>
<p>If you have any questions I will be more than happy to discuss them here. If there are any errors I apologize ahead of time as this was done late last night. My time is tight but figured this one to be useful to people.</p>
<p>Thank you JobberBase for your hard work and efforts. Great App!!</p>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/jobberbase-seo-mod/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Basic PHP Syntax</title>
		<link>http://ctcoder.com/4-basic-php-syntax/</link>
		<comments>http://ctcoder.com/4-basic-php-syntax/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 15:41:45 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[4. Basic PHP Syntax]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=110</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/4-basic-php-syntax/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Basic PHP Syntax';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
When a PHP Programmer starts to write a PHP snippet, the basic php syntax always starts with &#60;?php and ends with ?&#62;. You can place this snippet anywhere in the *.php document.
Some servers do support shorthand, in which case you can start with&#60;? and end with ?&#62; .
But for maximum portablitlity, I do recommend that [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/4-basic-php-syntax/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Basic PHP Syntax';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>When a <a href="http://ctcoder.com">PHP Programmer</a> starts to write a PHP snippet, the <a href="http://ctcoder.com/4-basic-php-syntax4-basic-php-syntax/">basic php syntax</a> always starts with &lt;?php and ends with ?&gt;. You can place this snippet anywhere in the *.php document.</p>
<p>Some servers do support shorthand, in which case you can start with&lt;? and end with ?&gt; .</p>
<p>But for maximum portablitlity, I do recommend that you stick with the standard &lt;?php rather than shorthand &lt;? .</p>
<p>Heres an example:</p>
<blockquote><p>&lt;?php</p>
<p>echo &#8220;Hello, World&#8221;;</p>
<p>?&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/4-basic-php-syntax/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Basic PHP Training</title>
		<link>http://ctcoder.com/basic-php-training/</link>
		<comments>http://ctcoder.com/basic-php-training/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 23:00:00 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=82</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/basic-php-training/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Basic PHP Training';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
Today&#8217;s market is getting inundated new PHP websites each day. This means that there is a flux of new PHP Programmers joining the developers in creating and editing these new sites. What we will do is help these new developers gain an understanding of what the basics of PHP Programming are.
Here are a few of [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/basic-php-training/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Basic PHP Training';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>Today&#8217;s market is getting inundated new PHP websites each day. This means that there is a flux of new <a href="http://ctcoder.com">PHP Programmers</a> joining the developers in creating and editing these new sites. What we will do is help these new developers gain an understanding of what the basics of <a href="http://ctcoder.com">PHP Programming</a> are.</p>
<p>Here are a few of the materials covered in the Lessons:</p>
<ul>
<li><a href="http://ctcoder.com/php-basics/">PHP Basics - Complete</a>
<ul>
<li><a href="http://ctcoder.com/how-php-works/">How PHP Works - Complete</a></li>
<li><a href="http://ctcoder.com/category/3-the-phpini-file/">The php.ini File - Complete</a></li>
<li><a href="http://ctcoder.com/category/training/4-basic-php-syntax/">Basic PHP Syntax</a>
<ul>
<li><a>PHP Tags - In Progress</a></li>
<li><a>PHP Statements and Whitespace - In Progress</a></li>
<li><a>Comments - In Progress</a></li>
<li><a>PHP Functions - In Progress</a></li>
<li><a>Hello World! - In Progress</a></li>
</ul>
</li>
<li><a>Variables - In Progress</a>
<ul>
<li><a>Variable Types - In Progress</a></li>
<li><a>Variable Names - In Progress</a> (Identifiers)</li>
<li><a>Type Strength - In Progress</a></li>
<li><a>Variable Scope - In Progress</a></li>
<li><a>Superglobals - In Progress</a></li>
<li><a>Constants - In Progress</a></li>
<li><a>Variable-Testing and Manipulation Functions - In Progress</a></li>
</ul>
</li>
<li><a>PHP Operators - In Progress</a></li>
<li><a>Creating Dynamic Pages - In Progress</a>
<ul>
<li><a>Single vs. Double Quotes - In Progress</a></li>
<li><a>Hello World! - In Progress</a></li>
</ul>
</li>
<li><a>Conclusion - In Progress</a></li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/basic-php-training/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Basics</title>
		<link>http://ctcoder.com/php-basics/</link>
		<comments>http://ctcoder.com/php-basics/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 22:30:00 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[1. PHP Basics]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=88</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/php-basics/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'PHP Basics';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
For the PHP Basics we are going to assume that your server has basic PHP support and that .php extensions are handled by PHP. If this is the case you&#8217;re ready to start as a PHP Programmer. One of the things I love about PHP is that I don&#8217;t have to compile anything. I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/php-basics/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'PHP Basics';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>For the <a href="http://ctcoder.com/">PHP Basics</a> we are going to assume that your server has <a href="http://ctcoder.com/">basic PHP</a> support and that .php extensions are handled by PHP. If this is the case you&#8217;re ready to start as a <a href="http://ctcoder.com">PHP Programmer</a>. One of the things I love about PHP is that I don&#8217;t have to compile anything. I don&#8217;t need any extra tools if I don&#8217;t want. Just a text editor and ftp program.</p>
<p>I like to think of PHP files as simple HTML documents that allow us to create tags to make the content come to life, dynamically. All you have to do is write the code and save the file to your server. That simple. </p>
<p>As you become more proficient and leave the <a href="http://ctcoder.com/">PHP Basics</a>, you will learn other tools and techniques to write your own code. For now we will just show you what it is to be new to the language. </p>
<p>Our next section covers <a href="http://ctcoder.com/how-php-works">How PHP Works</a>. Thank you for taking time to read our <a href="http://ctcoder.com/">PHP Basics</a> section.</p>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/php-basics/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How PHP Works</title>
		<link>http://ctcoder.com/how-php-works/</link>
		<comments>http://ctcoder.com/how-php-works/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 22:00:00 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[2. How PHP Works]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=96</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/how-php-works/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'How PHP Works';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
When you browse to a website such as http://ctcoder.com/index.php, your ISP directs you to the server that holds the website information/files for CTCoder. The server will then read that index.php file and process the information contained within. PHP then tells the Client browser in the form of html. What this means is that PHP will [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/how-php-works/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'How PHP Works';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>When you browse to a website such as http://ctcoder.com/index.php, your ISP directs you to the server that holds the website information/files for CTCoder. The server will then read that index.php file and process the information contained within. PHP then tells the Client browser in the form of html. What this means is that PHP will create an HTML page dynamically based on what instructions the PHP Programmer wrote in the file.</p>
<p>This data is in the form of HTML that the browser can display as it would a standard HTML page. In short, PHP creates an HTML page on the fly based on parameters of my choosing; the server contains no static HTML pages. </p>
<p>In our next section we will cover what the php.ini file is used for: <a href="http://ctcoder.com/category/3-the-phpini-file/">3. The php.ini File</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/how-php-works/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using a php.ini File</title>
		<link>http://ctcoder.com/using-a-phpini-file/</link>
		<comments>http://ctcoder.com/using-a-phpini-file/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 21:00:00 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[3. The php.ini File]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=104</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/using-a-phpini-file/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Using a php.ini File';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
This will show you how to customize the php.ini configuration file. This will control some settings of the PHP interpreter. This file enables you to such as global variables, register_globals.
How a php.ini File is Read
When PHP starts, it follows and behaves according to the specified settings of the available php.ini file. The server will look [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/using-a-phpini-file/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Using a php.ini File';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>This will show you how to customize the php.ini configuration file. This will control some settings of the PHP interpreter. This file enables you to such as global variables, register_globals.</p>
<p><strong>How a php.ini File is Read</strong></p>
<p>When PHP starts, it follows and behaves according to the specified settings of the available php.ini file. The server will look for this file in these locations in this order:</p>
<p>   1. Within the directory that the page was loaded<br />
   2. The root directory (public_html or www folder)<br />
   3. The server&#8217;s default php.ini</p>
<p>Your server&#8217;s php.ini file will be used if you dont have a custom one created. You can find the default one in /usr/local/lib/php/php.ini. Check out these settings in the file as it may help you find the solution to problems you may be having on your server.</p>
<p><strong>register_globals = On</strong></p>
<p>The register_globals setting controls how users access your forms, server, and other variables. This variable is set to &#8216;off&#8217;. This means that you will have to use special arrays in order to access these variables.<br />
<strong>NOTE:</strong> The reason for this is because when register_globals is set to On, your PHP scripts will become more vulnerable to attacks.</p>
<p>To retrieve the value of [input name="formVar"] from a form submitted with the POST method:</p>
<p>When register_globals = On</p>
<p>    $theVariable = $formVar;</p>
<p>When register_globals = Off</p>
<p>    $theVariable = $_POST['formVar'];</p>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/using-a-phpini-file/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cheap Web Hosting</title>
		<link>http://ctcoder.com/cheap-hosting/</link>
		<comments>http://ctcoder.com/cheap-hosting/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 20:51:21 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
		
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://ctcoder.com/?p=77</guid>
		<description><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/cheap-hosting/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Cheap Web Hosting';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
From this point forward real estate on the internet in the form of domains will become the most sought after property in the business marketplace. For any cheap web hosting service can widen your profit margin.
Location is still the most important part of any business venture but consumers have fled the malls and shopping centers [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;"><script type="text/javascript">
<!--
digg_url = 'http://ctcoder.com/cheap-hosting/';
digg_bgcolor = '#FFFFFF';
digg_skin = '';
digg_window = '';
digg_title = 'Cheap Web Hosting';
digg_bodytext = '';
digg_media = 'news';
digg_topic = 'programming';
//-->
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<p>From this point forward real estate on the internet in the form of domains will become the most sought after property in the business marketplace. For any <a href="http://www.ctcoder.com">cheap web hosting</a> service can widen your profit margin.</p>
<p>Location is still the most important part of any business venture but consumers have fled the malls and shopping centers for the infinite space of online e-commerce and having a viable and useful virtual storefront is essential to surviving in the tech-savvy world of tomorrow. Consider a web hosting sever as your commercial landlord, the entity that allows you the space to house your wares and goods and the dynamics to conduct a thriving business.</p>
<p>Cheap web hosting is fast becoming the foundation for any successful online venture. The lifeblood of any internet business is the ability to maintain occupancy at a certain domain and build up that property with products and information that will keep customers coming back. Paying out enormous monthly fees and high rents for dedicated support of your domain on a server can seriously infringe on your bottom line profit. Being able to affordably dock your site on a secure server through cheap web hosting will allow you to conduct your business operation efficiently and cost-effectively.</p>
<p><a href="http://www.ctcoder.com">Cheap web hosting</a> doesn’t mean less service. Even with a basic set up service you will still benefit from an active domain, technical support on your site and a certain amount of bandwidth that will allow you to complete transactions, fulfill orders and run your business without glitches and hassle. Having a cheap web hosting service allows you to run your business online without worrying about technical problems.</p>
<p>When selecting a web hosting service for your business consider how large your site will need to be, how much traffic is expected, how many email accounts you’ll need to effectively run your operation and how integral your web site will be to the overall success of your business. Cheap web hosting is available for retail, manufacturing, finance and many other businesses but how involved the web will be in any endeavor will vary. Finding a cheap web hosting service that takes care of your specific needs is essential to matching your business plan with a productive online division.</p>
<p><a href="http://www.ctcoder.com">Cheap web hosting</a> is available through many web hosting companies and each has tailored programs to run compatibly with your specific e-commerce operation. It also helps to think of web hosting servers in terms of affordable rather than cheap since many low cost server providers offer excellent support and the options to develop your site as you grow to adapt to a changing marketplace and new products and services.</p>
]]></content:encoded>
			<wfw:commentRss>http://ctcoder.com/cheap-hosting/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
