<?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>cpradio's tidbits of information &#187; cpCommerce</title>
	<atom:link href="http://cpradio.org/categories/projects/cpcommerce/feed/" rel="self" type="application/rss+xml" />
	<link>http://cpradio.org</link>
	<description>my life experience and information that may help others find what they need</description>
	<lastBuildDate>Sat, 05 Sep 2009 12:38:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Talk about accomplishing a lot&#8230;</title>
		<link>http://cpradio.org/personal/talk-about-accomplishing-a-lot/</link>
		<comments>http://cpradio.org/personal/talk-about-accomplishing-a-lot/#comments</comments>
		<pubDate>Sun, 07 Jan 2007 22:29:50 +0000</pubDate>
		<dc:creator>cpradio</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[cpCommerce]]></category>
		<category><![CDATA[kiosk]]></category>

		<guid isPermaLink="false">http://cpradio.org/2007/01/07/talk-about-accomplishing-a-lot/</guid>
		<description><![CDATA[cpCommerce
I am not sure what put me in such a great mood Friday evening, but Friday evening I completed 10 known bugs in cpCommerce plus added a new feature.  Then to top it off further, I modified my shell script that builds the SVN repository every Sunday morning so it would also build a [...]]]></description>
			<content:encoded><![CDATA[<p><b>cpCommerce</b><br />
I am not sure what put me in such a great mood Friday evening, but Friday evening I completed 10 known bugs in <a href="http://cpcommerce.cpradio.org/">cpCommerce</a> plus added a new feature.  Then to top it off further, I modified my shell script that builds the SVN repository every Sunday morning so it would also build a &#8220;diff.patch&#8221; file describing the difference between the previous version and the newer version.  Then on Sunday it was discovered that a bug dealing with the &#8220;discount&#8221; feature existed in always providing every customer with a 20% discount on their purchase.  Within a few hours, that was fixed and the release file was rebuilt manually so everyone could download the new ZIP file.</p>
<p><b>kiosk</b><br />
I also accomplished a lot in <a href="http://kiosk.cpradio.org">kiosk</a> over the weekend too.  Finalized some of the installation processes, and started working heavily on the modules in the Administration Control Panel.  I also refined major parts of the framework to fit better with the overall goal of being a &#8220;plug-n-play template system.&#8221;</p>
<p><b>Linux</b><br />
Finally, I have been spending my weekend trying to get my media center PC up and running again after a Ubuntu upgrade.  Not sure what caused the FREAKIN&#8217; issue, but I am not very appreciative about it.  Overall, this is the first day I have tried to fix it since I discovered it being down on Saturday morning, so it might not really be a &#8220;major&#8221; issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpradio.org/personal/talk-about-accomplishing-a-lot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Busy Week</title>
		<link>http://cpradio.org/personal/busy-week/</link>
		<comments>http://cpradio.org/personal/busy-week/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 03:34:49 +0000</pubDate>
		<dc:creator>cpradio</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[cpCommerce]]></category>

		<guid isPermaLink="false">http://cpradio.org/2006/12/16/busy-week/</guid>
		<description><![CDATA[This week was really busy for me, I had a lot of tasks to get done this week  at work and just added another big one I would like to have completed before  I go on Vacation next Friday.
Aside from that though, I also had a lot of things going on at home. [...]]]></description>
			<content:encoded><![CDATA[<p>This week was really busy for me, I had a lot of tasks to get done this week  at work and just added another big one I would like to have completed before  I go on Vacation next Friday.</p>
<p>Aside from that though, I also had a lot of things going on at home.  I have  been prolonging fixing my main system as it continuously frustrated me, but  today I decided to give it another try and to get the second power supply to  properly control my hard drives, while my main power supply powered the  motherboard and video card.  FINALLY today it worked!  Now my main system  finally has all its hard drives running which is sitting at a total of 5  right now, in a while, I will be adding more, but 5 is good.</p>
<p>I also got my secondary system (used for development/testing of Linux updates  before preforming them on my main machine) up and running today with a major  overhaul.  I also have two 120 GB drives in there for storage as well and I  am thinking I will mirror them and use it for backups, but that will be  decided later.  Right now, I have it installing Feisty  (<a href="https://wiki.kubuntu.org/FeistyFawn/Herd1/Kubuntu">https://wiki.kubuntu.org/FeistyFawn/Herd1/Kubuntu</a>) as I want to see what eye  candy comes out of it and see if I want it on my main machine.</p>
<p>Also, cpCommerce released v1.0.4 this week!  I re-added the MySQLi support.   It also has several fixes by other members who spent countless hours learning  how to use SVN and contribute to fixing the bugs.</p>
<p>Well, I really do not have anything more to add at this moment.  I am looking  forward to a 4 day work week and then I will be gone for 8 days as I am going  down to TN for Christmas (I may even take Kami &#8211; my wife along&#8230; hehe).</p>
]]></content:encoded>
			<wfw:commentRss>http://cpradio.org/personal/busy-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding Time is a Hard Thing To Do</title>
		<link>http://cpradio.org/personal/finding-time-is-a-hard-thing-to-do/</link>
		<comments>http://cpradio.org/personal/finding-time-is-a-hard-thing-to-do/#comments</comments>
		<pubDate>Tue, 13 Sep 2005 10:58:24 +0000</pubDate>
		<dc:creator>cpradio</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[cpCommerce]]></category>

		<guid isPermaLink="false">http://cpradio.net/index.php/2005/09/13/finding-time-is-a-hard-thing-to-do/</guid>
		<description><![CDATA[It&#8217;s been quite a while since I last put a posting on here, primarily because finding the time to do it, has been very hard.  Work is going great, I have been pulled from my primary project to help resolve issues with another, and we are finally at the stage of resolving the &#8220;major&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been quite a while since I last put a posting on here, primarily because finding the time to do it, has been very hard.  Work is going great, I have been pulled from my primary project to help resolve issues with another, and we are finally at the stage of resolving the &#8220;major&#8221; issues.  Thus, I get to go back to my primary project this week and I am looking forward to it.</p>
<p>cpCommerce had the PayPal IPN Gateway Implementation put into the build about a week ago and it seems to be holding out, that or no one else has had a lot of time to do any testing.  I feel it is getting close to lose 0.06 all together now and allow for a much cleaner version to take its place.  Right now there are not a lot of new features in the works, in fact, with me being so busy, a lot of the work is on hold until I can find someone to take my spot or help alleviate all the things I do for cpCommerce.  Who knows, time will tell, as I may eventually find more time to do these things.</p>
<p>As for me, I am doing fairly well.  I am about to add 16 DVDs to my collection from signing up with Columbia House and then inviting a friend.  In the end the 16 DVDs will cost just a little under $70.  Now that is what I call a GREAT STEAL&#8230;err&#8230;I mean&#8230;DEAL!</p>
<p>Plans for upgrading my computers are always being thought out, and hopefully one of these days will come true.  I know what I want to get, but the new question is: &#8220;What do you really need?&#8221; and I am struggling with that one, as honestly, right now, I don&#8217;t need an upgrade.</p>
<p>Well, that seems to be everything in a nut shell over the recent weeks.  I hope all of you are enjoying your jobs, school, or whatever ventures you are currently involved in.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpradio.org/personal/finding-time-is-a-hard-thing-to-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server is Still Down!</title>
		<link>http://cpradio.org/projects/cpcommerce/server-is-still-down/</link>
		<comments>http://cpradio.org/projects/cpcommerce/server-is-still-down/#comments</comments>
		<pubDate>Fri, 08 Jul 2005 04:59:02 +0000</pubDate>
		<dc:creator>cpradio</dc:creator>
				<category><![CDATA[cpCommerce]]></category>

		<guid isPermaLink="false">http://cpradio.net/?p=50</guid>
		<description><![CDATA[Okay, I am getting ticked now!  I was told at 11:58:46 PM that the server that runs cpCommerce would be down for nearly 13 hours as they reconfigure the system.  That was cool with me, until I read they were starting this process on the 7th, which was in another 2 MINUTES!  [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I am getting ticked now!  I was told at 11:58:46 PM that the server that runs <a href="http://cpcommerce.org/ " target="_blank">cpCommerce</a> would be down for nearly 13 hours as they reconfigure the system.  That was cool with me, until I read they were starting this process on the 7th, which was in another 2 MINUTES!  Who can backup all their stuff in 2 MINUTES!  That site alone runs with more than 50 MB of content, and another 30+ MB of tables, rows, and other database materials.</p>
<p>As soon as I tried to SSH into the system to make a backup, I was quickly greeted with &#8220;Host not found.&#8221;  CRAP!  How can they do this to me!  I paid for a freakin&#8217; year of service that guaranteed 99% uptime and now I am at 30+ hours of downtime.  My members are going nuts, I am getting countless emails asking &#8220;WTF? Is <a href="http://cpcommerce.org/ " target="_blank">cpCommerce</a> still kicking or did it fall under?&#8221;  Who knows what will happen now!</p>
<p>I am very tempted to move <a href="http://cpcommerce.org/ " target="_blank">cpCommerce</a> to yet another new host.  One that has proven to be very stable and hasn&#8217;t let me down yet.  In doing so, I am also likely to upgrade to a reseller account and then even market selling <a href="http://cpcommerce.org/ " target="_blank">cpCommerce</a> hosting!</p>
<p>Around 9:44:28 PM today, I received an email stating my site should be back up.  HAHAHAHA!  It is not!  First off, the morons copied my files to my public folder as ROOT!  What kind of moron does that and then does not change the ownership back over to me!  Secondly, they did not reinstall my databases that I had a lovely 2 MINUTES to try and backup!  Finally, they missed my shell scripts entirely!  I had 3 very important shell scripts and none of them are on the server.  I use these scripts to do numerous maintenance tasks from uploading new source code to making and retrieving backups.</p>
<p>Does anyone have a good idea how to go about requesting a refund of my money due to the lack of guarantee supplied to me when I signed up?  30+ hours definitely fails the 99% uptime guarantee.  They better have this all fixed by Noon tomorrow or else I am moving it.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpradio.org/projects/cpcommerce/server-is-still-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reunion, Clone, and a Bug Fix</title>
		<link>http://cpradio.org/personal/reunion-clone-and-a-bug-fix/</link>
		<comments>http://cpradio.org/personal/reunion-clone-and-a-bug-fix/#comments</comments>
		<pubDate>Sun, 03 Jul 2005 04:04:42 +0000</pubDate>
		<dc:creator>cpradio</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[cpCommerce]]></category>

		<guid isPermaLink="false">http://cpradio.net/index.php/2005/07/02/reunion-clone-and-a-bug-fix/</guid>
		<description><![CDATA[Today, was a busy day.  I woke up around 10:30 AM and so I did what I usually do and tried to go back to sleep but that never happened.  So, I got up and read a few posts on the cpCommerce Forums and came across a bug dealing with the shipping zip [...]]]></description>
			<content:encoded><![CDATA[<p>Today, was a busy day.  I woke up around 10:30 AM and so I did what I usually do and tried to go back to sleep but that never happened.  So, I got up and read a few posts on the <a href="http://cpcommerce.org/forums/" target="_blank">cpCommerce Forums</a> and came across a bug dealing with the shipping zip code.  I probably spent 2 or more hours trying to figure out why this bug was occuring and finally it HIT ME.  The bug existed due to a change I had made to the account_info.func.php file which loaded the user&#8217;s zip code information into the session variable everytime their login information was checked.  DUH!  Of course, that will overwrite any checkout value the user then later on types out.  I am just glad I got it resolved.</p>
<p>Following the bug fix, my grandparents came down and told me they had finished the work they needed to do on the Conference Computer, so I could now make a clone of its hard drive.  They wanted a clone of it made, as they plan to do a major software upgrade on it and do not want to lose all of the data they have.  I must admit, I am in love with the NTFS tools Linux has.  It didn&#8217;t take me long to make another hard drive (one that is larger in size) work exactly the same as the old hard drive.</p>
<p>To start out, I first needed to make an image of the conference computer&#8217;s current hard drive.  This can done by running the following command:</p>
<blockquote><div class="code"># ntfsclone -s -o /media/software/backup.img /dev/hdc1</div>
</blockquote>
<p>Now, the &#8220;-s&#8221; stands for &#8220;Save Image&#8221;, the &#8220;-o&#8221; is for the output image path and filename, and then the whole command ends with the partition on the hard drive you want to backup/clone.  Following this step, I then made a copy of the MBR (Master Boot Record) and of the Partition Table, so my cloned hard drive would have the exact same configuration as the original.  To make a copy of the MBR and the Partition Table, I did the following commands:</p>
<blockquote><div class="code"># sfdisk -d /dev/hdc &gt; /media/software/master-hdc.dump<br />
# dd if=/dev/hdc bs=512 count=1 of=/media/software/master-hdc.mbr</div>
</blockquote>
<p>Now, I used the command sfdisk to do this and the first command makes the partition table and the second of course writes the copy of the MBR.  Now the only part left, is to write all of this data to the new hard drive so I can have a clone.  To do this, I simply ran the following commands:</p>
<blockquote><div class="code"># sfdisk /dev/hdc &lt; /media/software/master-hdc.dump &#8211;force<br />
# dd if=/media/software/master-hdc.mbr of=/dev/hdb<br />
# ntfsclone &#8211;restore-image &#8211;overwrite /dev/hdb1 /media/software/backup.img</div>
</blockquote>
<p>The first command write the partition table to the new hard drive and I had to use &#8211;force as my hard drive already had a partition table, however, you may want to use &#8211;force just for precaution  The second command, write the MBR to the new hard drive which is needed if you wish to boot this hard drive.  Finally, the ntfsclone command is used to write the image we made earlier to the clone hard drive, this way we have two hard drives that have the same exact data.  How sweet is that!  All of this took less than 20 minutes to do on a 40 GB NTFS formatted hard drive and cloning it to a 60 GB NTFS formatted hard drive.</p>
<p>Finally, my day ended with going with Kami to her high school&#8217;s 5 year reunion.  IT COMPLETELY SUCKED!  First of all, why bother going to a high school reunion?  I know this is popular in small towns, but what is with the need to see old school mates and gossip about those who did not show up?  Kami agreed afterwards, that is was boring and not worth it, but she wanted to attended so at least she gave it a shot.  I admire that, but it kills me to attend these type of events, as I feel like an outcast.  People are chatting away about people I know nothing about and no one explains to me who these people are&#8230;  Then of course, we get back to my place and my grandparents have to make the whole thing worse by bringing it all up again!</p>
<p>It was already excruciating enough, just let it be!  I will not attend one of these again for the rest of my life.  They are flat out horrible and pointless for me to be there.  The only real reason for me being there was for Kami&#8217;s arm candy&#8230;or at least that is the feeling I got from it all.  Everyone knows the saying: &#8220;A picture is worth a thousand words&#8221;.  Well, let me tell you this, if that is true, a picture would have said a whole lot more than I did AND I WAS THERE IN PERSON!</p>
<p>After all of that hoopla, we went to lock up the church and to let the dogs out, then I went home and watched &#8220;The Last Castle&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpradio.org/personal/reunion-clone-and-a-bug-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PayPal Sucks! Basketball Rocks!</title>
		<link>http://cpradio.org/personal/paypal-sucks-basketball-rocks/</link>
		<comments>http://cpradio.org/personal/paypal-sucks-basketball-rocks/#comments</comments>
		<pubDate>Fri, 24 Jun 2005 04:59:12 +0000</pubDate>
		<dc:creator>cpradio</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[cpCommerce]]></category>

		<guid isPermaLink="false">http://cpradio.net/?p=35</guid>
		<description><![CDATA[Okay folks, especially those of you who use cpCommerce, many of you know that PayPal has yet to be included in the version 0.07rc1.  Well, I downloaded the documentation a few days ago and MAN DOES IT SUCK!  Especially from a programmer/developer position and here is my list on why!

You have WAY TOO [...]]]></description>
			<content:encoded><![CDATA[<p>Okay folks, especially those of you who use <a href="http://cpcommerce.org/" target="_blank">cpCommerce</a>, many of you know that PayPal has yet to be included in the version 0.07rc1.  Well, I downloaded the documentation a few days ago and MAN DOES IT SUCK!  Especially from a programmer/developer position and here is my list on why!</p>
<ol>
<li>You have WAY TOO MUCH useless information!  I do not need to know how it all works!  All I want is a nice table that describes the information you expect from my application, and what I should expect in return from you.  Pure and simple, that is all I need.</li>
<li>This is partially related to Issue #1 as no one wants to read 72 pages of information.  Hell, I do not even want to read 4 pages.  I want a table of variable names, their restrictions, and a comment describing their usefulness to you!</li>
<li>Considering this manual is &#8220;for developers&#8221;, it hardly reflects such.  The manual has been nothing but a headache for me and I gave up trying to work with you!  Why should I bother to put forth so much time finding all your hidden details in a 72 page document!</li>
</ol>
<p>Okay, so really I only had 1 issue and expressed it 3 ways.  Honestly PayPal, how can you provide such a useless document to us?  Why not give us exactly what we need to accomplish the task at hand?  A variable table for IPN, another table of PDT, etc.  It can&#8217;t be that hard to produce or maintain!</p>
<p>Now, on a personal note, my day has been good.  I woke up around Noon as Kami came over for lunch, and I then played golf for a while, ate dinner, went on a 4.2 mile bike ride, then setup a basketball hoop for Kami&#8217;s siblings.  YES! Their Dad finally got one for them.  I was shocked myself when I saw it.  It took us till 9:30 PM to get it up (about  two hours) and then we played hoops for a while making sure that when we threw the ball at it, it didn&#8217;t come crashing down. <img src='http://cpradio.org/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />   Luckily it survived our testing, or else we would all be very disappointed.</p>
<p>After a few minutes of throwing a ball into a hoop, Kami and I headed back to my house to watch some good old television and to cuddle.  I love that time <img src='http://cpradio.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , it is very well spent.  My day was pretty laid back today, nothing more than the above.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpradio.org/personal/paypal-sucks-basketball-rocks/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The complex Query</title>
		<link>http://cpradio.org/projects/cpcommerce/the-complex-query/</link>
		<comments>http://cpradio.org/projects/cpcommerce/the-complex-query/#comments</comments>
		<pubDate>Sat, 04 Jun 2005 08:03:57 +0000</pubDate>
		<dc:creator>cpradio</dc:creator>
				<category><![CDATA[cpCommerce]]></category>

		<guid isPermaLink="false">http://cpradio.net/?p=16</guid>
		<description><![CDATA[Day after day I am surrounded in queries.  Whether it be writing them, analyzing them, or just sorting through them as I look at code, I am introduced to queries normally every hour.  This day was no different.  Today, I had to write a query that took a lot of thought.  [...]]]></description>
			<content:encoded><![CDATA[<p>Day after day I am surrounded in queries.  Whether it be writing them, analyzing them, or just sorting through them as I look at code, I am introduced to queries normally every hour.  This day was no different.  Today, I had to write a query that took a lot of thought.  I had to write a query that would find the minimum price (between a sale price and an original price), determine whether or not the product was in stock (or any of its subproducts were in stock), and sort it by 6 possible ways which was to be determined dynamically.</p>
<p>The query I ended up producing was:<br />
<code>
<pre style="overflow:scroll;width:450px;">  $sql['products']   = &quot;select DISTINCT(A.name), A.id_product, A.thumbnail, IF (D.price <> 0, D.price, &quot; .
                       &quot;IF (MIN(C.price) <> 0, MIN(C.price), A.price)) as `price`, A.subproducts, &quot; .
                       &quot;IF (MIN(C.stock) <> 0, IF (MIN(C.stock) < 0, 1000, C.stock), IF (A.stock = -1, &quot; .
                       &quot;1000, A.stock)) as `stock`, A.description from `{$config['prefix']}Products` as &quot; .
                       &quot;A left join `{$config['prefix']}LinkedProducts` as B on (A.id_product=B.id_product) &quot; .
                       &quot;left join `{$config['prefix']}SubProducts` as C on (A.id_product=C.id_product) &quot; .
                       &quot;left join `{$config['prefix']}Sales` as D on (A.id_product=D.id_product and &quot; .
                       &quot;C.id_subproduct=D.id_subproduct and D.start >= NOW() and D.last < = NOW()) &quot; .
                       &quot;where A.id_category='{$_GET['id_category']}' or B.id_category='{$_GET['id_category']}' &quot; .
                       &quot;GROUP BY A.name order by `{$orderby}` {$direction} limit {$start}, &quot; .
                       &quot;{$config['pageProducts']}&quot;;</pre>
</pre>
<p></code></p>
<p>As you can tell, this is no ordinary query.  It is a complex one that makes use of several joins and even if functions.  An amatuer in this situation would be likely to split up that single query into 3-4 separate queries and several if statements in PHP.  How many of you would have done it in a single query?</p>
]]></content:encoded>
			<wfw:commentRss>http://cpradio.org/projects/cpcommerce/the-complex-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securing your cpCommerce Downloads</title>
		<link>http://cpradio.org/projects/cpcommerce/securing-your-cpcommerce-downloads/</link>
		<comments>http://cpradio.org/projects/cpcommerce/securing-your-cpcommerce-downloads/#comments</comments>
		<pubDate>Thu, 26 May 2005 20:09:01 +0000</pubDate>
		<dc:creator>cpradio</dc:creator>
				<category><![CDATA[cpCommerce]]></category>

		<guid isPermaLink="false">http://cpradio.net/index.php/2005/05/26/securing-your-cpcommerce-downloads/</guid>
		<description><![CDATA[As you all are aware, when using cpCommerce you have the ability to attach zip files to the products so the user can download the item upon completion of the purchase.  In the old method, there were several ways on which a person could find the downloads directory and then have access to all [...]]]></description>
			<content:encoded><![CDATA[<p>As you all are aware, when using <a href="http://cpcommerce.org/" target="_blank">cpCommerce</a> you have the ability to attach zip files to the products so the user can download the item upon completion of the purchase.  In the old method, there were several ways on which a person could find the downloads directory and then have access to all of the files you have uploaded, this is now changed.</p>
<p>Now, it should be cleared up that this method does not stop them from &#8220;finding&#8221; the download directory by sniffing the header content in the browser, but rather the whole idea is placing the download directory in a spot not accessible by Port 80.  To do this, you will need to have a web host who gives you SSH access (though FTP access may be sufficient too).</p>
<p>On most web servers you have a directory called &#8216;www&#8217; or &#8216;public_html&#8217;.  These directories tell the web server they are do be allowed for viewing on Port 80.  Now if you create a directory called &#8216;downloads&#8217; outside of these folders, they are inaccessible from Port 80 and thus anyone with an Internet connection cannot get to that directory by surfing your site (Please realize that if they had FTP access or SSH access, they could still get to it!).</p>
<p>Once you make that directory and chmod it to 0777, you can move all of your current download files from the public directory to the &#8220;private&#8221; directory.  Finally, you will need to update your Configuration area, to tell it where the files are located.  For the most part, it should be self-described, other than the fact that by default it will point to: /path to public or www directory/store directory/images/products/downloads/.  You will want it to be: /path to your downloads directory/.  An example of this path would be: /home/cpradio/downloads/</p>
<p>Now that you have it all configured, your download files are safe from the computer literate.</p>
]]></content:encoded>
			<wfw:commentRss>http://cpradio.org/projects/cpcommerce/securing-your-cpcommerce-downloads/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.259 seconds -->
