<?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>ReloadedPC Ashland, Ohio &#187; Joe</title>
	<atom:link href="http://www.reloadedpc.com/author/Joe/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reloadedpc.com</link>
	<description>Small Business Website Development</description>
	<lastBuildDate>Tue, 24 Jan 2012 18:36:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Samsung Fascinate + CM7 + usb tethering</title>
		<link>http://www.reloadedpc.com/other/samsung-fascinate-cm7-usb-tethering/</link>
		<comments>http://www.reloadedpc.com/other/samsung-fascinate-cm7-usb-tethering/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 19:18:10 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[cyanogenmod]]></category>
		<category><![CDATA[fascinate]]></category>
		<category><![CDATA[tether]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=302</guid>
		<description><![CDATA[I was recently needing Internet access on a desktop PC with Windows XP SP3 installed using a Samsung Fascinate running CyanogenMod 7(CM7). USB tethering had work easily using under Windows 7, but Windows XP would not recognize the USB device. Digging through dozens of posts and forums I found  the information from Google. Google as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cyanogenmod.com"><img class="alignright size-full wp-image-305" title="CyanogenMod Logo" src="http://www.reloadedpc.com/wp-content/uploads/2011/12/cyan-logo.png" alt="Samsung Fascinate + CM7 + usb tethering cyan logo " width="111" height="105" /></a>I was recently needing Internet access on a desktop PC with Windows XP SP3 installed using a Samsung Fascinate running CyanogenMod 7(CM7). USB tethering had work easily using under Windows 7, but Windows XP would not recognize the USB device. Digging through dozens of posts and forums I found  the information from Google. Google as a help topic for installing Android based phones as USB modem interface using the <a href="http://support.google.com/mobile/bin/answer.py?hl=en&amp;answer=182134">tetherxp.inf</a> file. I downloaded the file, and tried plugging in my Fascinate, enabled USB tethering, and still could not get Windows XP to recognize the USB device for tethering. So, here was a simple fix I got to get this working.</p>
<p>I opened up the the tetherxp.inf file and save a few of the usb identifiers for installing the device. You will see a line like this.</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>AndroidDevices<span style="">&#93;</span></span>
<span style="color: #666666; font-style: italic;">; Google Nexus One without adb</span>
%AndroidDevice%    <span style="color: #000066; font-weight:bold;">=</span> RNDIS, USB\VID_18D1&amp;PID_4E13</pre></div></div>

<p>I then opened Device Manager in Windows XP by right-clicking on My Computer-&gt;Properties, click on Hardware tab, and then Device Manger button. There was the unrecognized USB device with the yellow question mark icon. I right-clicked on the item and chose Properties. Then click on the Details tab at the top. Here I could see the USB device ID. I copied those values into my tetherxp.inf file to see what would happen. My section of tetherxp.inf now looks like:</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>AndroidDevices<span style="">&#93;</span></span>
<span style="color: #666666; font-style: italic;">;Samsung Fascinate i500</span>
%AndroidDevice%    <span style="color: #000066; font-weight:bold;">=</span> RNDIS, USB\VID_18D1&amp;PID_4E24
&nbsp;
<span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>AndroidDevices.NT.5.1<span style="">&#93;</span></span>
<span style="color: #666666; font-style: italic;">; Samsung Fascinate i500 with adb</span>
%AndroidDevice%    <span style="color: #000066; font-weight:bold;">=</span> RNDIS.NT.5.1, USB\VID_18D1&amp;PID_4E24</pre></div></div>

<p>Saved the file. Back on the Details tab, I clicked on the Driver tab for the device, and clicked Update Driver button. Choose the tetherxp.inf you have saved. Windows XP will propmpt to accept to install and unsigned driver. Click Continue Anyway. It will proceed to install the device and will be named Android USB/RNDIS Ethernet. Your computer should then be able to connect now being tethered via the USB cable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/other/samsung-fascinate-cm7-usb-tethering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zencart Reloaded Advanced Search module</title>
		<link>http://www.reloadedpc.com/zen-cart/zencart-reloaded-advanced-search-module/</link>
		<comments>http://www.reloadedpc.com/zen-cart/zencart-reloaded-advanced-search-module/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 16:46:37 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Zen-Cart]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=296</guid>
		<description><![CDATA[This module will help the relevancy of the products returned on your zencart advanced search results. The stock search runs a LIKE query for each word in the query. There is no regard to the relevancy of the word for the product associated with it.  When a user searches using a adjective like a color [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_18" class="wp-caption alignright" style="width: 156px"><a href="http://www.reloadedpc.com/wp-content/uploads/2009/07/zen-cart-logo.png"><img class="size-full wp-image-18" title="zen-cart-logo" src="http://www.reloadedpc.com/wp-content/uploads/2009/07/zen-cart-logo.png" alt="Zencart Reloaded Advanced Search module zen cart logo " width="146" height="40" /></a><p class="wp-caption-text">Zen-Cart</p></div>
<p>This module will help the relevancy of the products returned on your zencart advanced search results. The stock search runs a LIKE query for each word in the query. There is no regard to the relevancy of the word for the product associated with it.  When a user searches using a adjective like a color red, any product with &#8220;red&#8221; will be returned.  Now make the search &#8220;red shoes&#8221;, and you will receive any product with red or shoes. You may get red shirts, black shoes,  white shoes, or any other variation. As long as one of the words is in the name, model, description, or keywords it will be shown. Obvisously red shirts and white shoes are nothing like the users original query.  This zencart advanced search module uses a natural language search function in MySQL which will return more accurate results for multi keyword search phrases. Each keyword searched, is scored for its relevancy for each product, and the results are ordered by this relevancy score. It will also try to pluralize words to expand the search.  The module will create a configuration group in your admin panel for setting the weights for the product columns that are searched. The default values seem to be returning accurate results.</p>
<p>Only one original file is overwritten in /includes/modules/pages/advanced_search_result/header_php.php. Only a few lines where changed to modify the query being ran for the results. Installation is simple as uploading the zip file to your zencart installation. Login to your admin panel, and you will be prompted with a link to install the module. The installation link will install the proper database queries, and take you to the configuration page under Admin-&gt;Configuration-&gt;Reloaded Search.</p>
<p>An additional feature, is when only one product is returned in the search results, the product is displayed rather than the search result page.</p>
<p><a href="https://bitbucket.org/pickupman/zencart-reloaded-search/overview">Download Zencart Reloaded Search</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/zen-cart/zencart-reloaded-advanced-search-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WAMP + CodeIgniter + Sparks</title>
		<link>http://www.reloadedpc.com/code-igniter/wamp-codeigniter-sparks/</link>
		<comments>http://www.reloadedpc.com/code-igniter/wamp-codeigniter-sparks/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 15:16:26 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Code Igniter]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[wamp]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=290</guid>
		<description><![CDATA[I was recently decided to give the Get Sparks project a try. If you are not familiar with the Get Sparks project for Codeigniter, it allows you to download packages/modules for quickly installing into your app. Similar to the idea with PEAR extensions for PHP. I am setting this up on my Windows box using [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.reloadedpc.com/wp-content/uploads/2009/07/ci_logo_flame.jpg"><img class="alignright size-full wp-image-41" title="CodeIgniter Logo" src="http://www.reloadedpc.com/wp-content/uploads/2009/07/ci_logo_flame.jpg" alt="WAMP + CodeIgniter + Sparks  ci logo flame " width="150" height="164" /></a>I was recently decided to give the <a title="Get Sparks" href="http://getsparks.org">Get Sparks</a> project a try. If you are not familiar with the Get Sparks project for Codeigniter, it allows you to download packages/modules for quickly installing into your app. Similar to the idea with PEAR extensions for PHP. I am setting this up on my Windows box using WAMP. I followed the setup instructions from the Get Sparks website, and everything went perfectly fine. I decided to download the popular spark &#8220;curl&#8221;, and kept getting the:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">&quot;You have to install PECL ZipArchive or `unzip` to install this spark.&quot;</pre></div></div>

<p> I kept checking in my php.ini file that php_zip.dll was enabled.  Hmmm&#8230;..</p>
<p>So, I decided to create a test script to test the code that was creating this error message. Running the PHP script in the browser ran ZipArchive() successfully. Next, I ran this test PHP script from the command line (CLI). I got a &#8220;Fatal Error:  Class ZipArchive not found in &#8230;&#8221; error. I couldn&#8217;t quite figure out why PHP was throwing an error on the CLI and not when run in the browser. A little digging found that PHP run from the command line uses relative paths including php.ini. This the part where WAMP comes into play. For those using WAMP, your php.ini file that is used is located in<strong> C:\wamp\bin\apache\Apache2.2.11\bin</strong> not where PHP is being executed from. Ah ha! So I went and opened <strong>C:\wamp\bin\php\php5.2.9-2</strong> and scrolled down to find:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">;extension=php_zip.dll</pre></div></div>

<p>So I changed this to:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">extension=php_zip.dll</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">php tools\spark install -v1.2.0 curl</pre></div></div>

<p>Enabling php_zip.dll in the PHP folder of WAMP, and ran the Sparks command again. Success! The spark was downloaded, unzipped, and installed with no more error.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/code-igniter/wamp-codeigniter-sparks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zencart + USPS Webtools with Multiple Package Support</title>
		<link>http://www.reloadedpc.com/zen-cart/zencart-usps-webtools-multiple-package-support/</link>
		<comments>http://www.reloadedpc.com/zen-cart/zencart-usps-webtools-multiple-package-support/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 16:22:27 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Zen-Cart]]></category>
		<category><![CDATA[shipping]]></category>
		<category><![CDATA[usps]]></category>
		<category><![CDATA[zencart]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=282</guid>
		<description><![CDATA[This is another shipping module for Zencart. I have been working on the UPS XML module for awhile now. I have ported over the more advanced packing algorithm from the UPS module, to allow packing support in the USPS shipping module. This module allows Zencart to calculate shipping for multiple boxes for a freight quote. [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_18" class="wp-caption alignright" style="width: 156px"><a href="http://www.reloadedpc.com/wp-content/uploads/2009/07/zen-cart-logo.png"><img class="size-full wp-image-18" title="zen-cart-logo" src="http://www.reloadedpc.com/wp-content/uploads/2009/07/zen-cart-logo.png" alt="Zencart + USPS Webtools with Multiple Package Support zen cart logo " width="146" height="40" /></a><p class="wp-caption-text">Zen-Cart</p></div>
<p>This is another shipping module for Zencart. I have been working on the UPS XML module for awhile now. I have ported over the more advanced packing algorithm from the UPS module, to allow packing support in the USPS shipping module. This module allows Zencart to calculate shipping for multiple boxes for a freight quote. The default behavior for Zencart is to place all items in one box with a total weight to send for quote. With this updated USPS shipping module, items will be packed into boxes you enter, or you may set items to always be packaged separately. The module then returns the aggregate shipping cost for your packages. This should provide much more accurate shipping quotes.<span id="more-282"></span>You can download the module from <a title="bitbucket.org" href="https://bitbucket.org/pickupman/zencart-uspsxml" target="_blank">bitbucket.org</a>. In the upper right hand corner highlight over &#8220;get source&#8221;, and click on zip to download the files. Found a bug? Or what to update the code, please fork my project, or send me your revisions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/zen-cart/zencart-usps-webtools-multiple-package-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter + UPS Worldship</title>
		<link>http://www.reloadedpc.com/code-igniter/codeigniter-ups-worldship/</link>
		<comments>http://www.reloadedpc.com/code-igniter/codeigniter-ups-worldship/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 22:00:19 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Code Igniter]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[ups worldship]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=259</guid>
		<description><![CDATA[This is a post I have been to get around to for quite awhile. At work we have UPS Worldship installed on our desktops for shipping out packages. I had written a small php script that could open the UPS Worldship database, and report all of our tracking numbers with links. UPS had switched from [...]]]></description>
			<content:encoded><![CDATA[<p>This is a post I have been to get around to for quite awhile. At work we have UPS Worldship<a href="http://codeigniter.com"><img class="alignright size-full wp-image-41" title="CodeIgniter Logo" src="http://www.reloadedpc.com/wp-content/uploads/2009/07/ci_logo_flame.jpg" alt="CodeIgniter + UPS Worldship ci logo flame " width="150" height="164" /></a> installed on our desktops for shipping out packages. I had written a small php script that could open the UPS Worldship database, and report all of our tracking numbers with links. UPS had switched from being an unprotected Microsoft Access database file, to using a Microsoft SQL (MSSQL database). This kind of broke my little php script I had written, but I was eventual able to work something together. Recently, I installed the latest update UPS Worldship 2010 Version 12. Wouldn&#8217;t you know it, broken again. I couldn&#8217;t get my little script working again. ODBC access had been removed from this version. I could no longer connect to the MS SQL  dabatabe for UPS Worldship.</p>
<p><span id="more-259"></span> It seemed the only option was to buy some 3rd party software USP authorizes to connect to the database. Digging through the internet, I found a nice little utility call <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796">Microsoft SQL Server Management Studio Express</a> that allows you to access the USP database instance. Once you install the software open the program.</p>
<p>Fill in the Server Name box (usually Servername\UPSWSDBSERVER), and click connect. In the left hand window, double click on the Security folder. You will see a list of logins. You now need to create a new user.</p>
<p>Right click on the right pane, and choose New Login. Type in your Login Name in the top, and now select the SQL Server Login radio box. Type in your password.</p>
<p>At the bottom for Default Database select &#8220;master&#8221; from the drop down box. In the left pane of the window, there is a link for Server Roles. Click on Server Roles, and check all boxes in the right pane to add all rights to your login. Hey you are into the database, you might as well give yourself full access right?</p>
<p>Save your login, and it&#8217;s time to setup an ODBC connection for Codeigniter to use. Open the Control Panel-&gt;Administrative Tools-&gt;Data Sources (ODBC).</p>
<p>Click on the System DSN tab, and then the Add button. Under Name type in a with no spaces. I used UPS_WS_12 for mine. In the description you can enter anything. In the server box click on the dropdown and select your UPS server databse instance. It should be something like ServerName\UPSWSDBSERVER. Click on the Next button.</p>
<p><a href="http://www.reloadedpc.com/wp-content/uploads/2010/11/codeigniter_ups_09112010_162448.jpg"><img class="aligncenter size-medium wp-image-266" title="codeigniter_ups_step1" src="http://www.reloadedpc.com/wp-content/uploads/2010/11/codeigniter_ups_09112010_162448-300x196.jpg" alt="CodeIgniter + UPS Worldship codeigniter ups 09112010 162448 300x196 " width="300" height="196" /></a>Now fill out the options as shown below. Fill in the login credentials as entered in the UPS database. Then, click on the Next button.</p>
<p><a href="http://www.reloadedpc.com/wp-content/uploads/2010/11/codeigniter_ups_09112010_162603.jpg"><img class="aligncenter size-medium wp-image-267" title="codeigniter_ups_step2" src="http://www.reloadedpc.com/wp-content/uploads/2010/11/codeigniter_ups_09112010_162603-300x196.jpg" alt="CodeIgniter + UPS Worldship codeigniter ups 09112010 162603 300x196 " width="300" height="196" /></a>Select upswsdb from the dropdown box as shown. Then, click on the Next button.</p>
<p><a href="http://www.reloadedpc.com/wp-content/uploads/2010/11/codeigniter_ups_09112010_162619.jpg"><img class="aligncenter size-medium wp-image-268" title="codeigniter_ups_step3" src="http://www.reloadedpc.com/wp-content/uploads/2010/11/codeigniter_ups_09112010_162619-300x196.jpg" alt="CodeIgniter + UPS Worldship codeigniter ups 09112010 162619 300x196 " width="300" height="196" /></a>The options show will probably be set by default. Click on Finish button. Your connection should now be created. You may click on Test Data Source button, and you should connect successfully.</p>
<p><a href="http://www.reloadedpc.com/wp-content/uploads/2010/11/codeigniter_ups_09112010_162628.jpg"><img class="aligncenter size-medium wp-image-265" title="codeigniter_ups_step4" src="http://www.reloadedpc.com/wp-content/uploads/2010/11/codeigniter_ups_09112010_162628-300x196.jpg" alt="CodeIgniter + UPS Worldship codeigniter ups 09112010 162628 300x196 " width="300" height="196" /></a>Close your the ODBC screen, and open up your codeigniter application folder. Here are the connections settings you will need to use for application/config/database.php</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$active_group</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;default&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$db</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'hostname'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;UPS_WS_12&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//System DSN name you created</span>
<span style="color: #000088;">$db</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;username&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Username as entered in ODBC connection</span>
<span style="color: #000088;">$db</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'password'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;password&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Password as entered in ODBC connection</span>
<span style="color: #000088;">$db</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'database'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$db</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'dbdriver'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;odbc&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$db</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'dbprefix'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$db</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pconnect'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$db</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'db_debug'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">TRUE</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$db</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'cache_on'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #339933;">;</span></pre></div></div>

<p>If you are interested in a SQL query to view completed shipments with all the shipping details for you shipping log try out this query:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM upswsdb.dbo.calPkgAgent a 
   JOIN upswsdb.dbo.calShipment s ON a.m_primaryKey=s.m_foreignKey00 
   JOIN upswsdb.dbo.calPackage p ON s.m_primaryKey=p.m_foreignKey 
   WHERE s.m_shipDataSet='eod' AND s.m_isVoid='0' 
   ORDER BY s.m_shipDateTime DESC&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>To view pending shipments that have not been processed by End of Day, change s.m_shipDataSet=&#8217;eod&#8217; to s.m_shipDataSet != &#8216;eod&#8217;. I use this simple little codeigniter application to view all of my UPS Worldship data. This makes it very easy to paginate the results, and provide real time access to tracking data. Much easier than trying to open UPS Worldship on a workstation that does not have it open or security rights to view the shipping log.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/code-igniter/codeigniter-ups-worldship/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter + Chargify</title>
		<link>http://www.reloadedpc.com/code-igniter/codeigniter-chargify/</link>
		<comments>http://www.reloadedpc.com/code-igniter/codeigniter-chargify/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 14:45:53 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Code Igniter]]></category>
		<category><![CDATA[chargify]]></category>
		<category><![CDATA[codeigniter]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=255</guid>
		<description><![CDATA[I recently began integrating the Chargify service into a web app I am coding for codeigniter. Chargify is seems to be a slick web service for creating subscription based services. They provide a strong API, and along with a slick web based dashboard (GUI). One of the points on using the API are Chargify postbacks. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently began integrating the Chargify service into a web app I am coding for codeigniter. <a href="http://codeigniter.com"><img class="alignright size-full wp-image-41" title="CodeIgniter Logo" src="http://www.reloadedpc.com/wp-content/uploads/2009/07/ci_logo_flame.jpg" alt="CodeIgniter + Chargify ci logo flame " width="150" height="164" /></a> Chargify is seems to be a slick web service for creating subscription based services. They provide a strong API, and along with a slick web based dashboard (GUI). One of the points on using the API are Chargify postbacks. I did some quick googling and didn&#8217;t turn up much in the way of chargify and codeigniter. I did find a great library for integrating the API called <a href="http://chargeigniter.com/">ChargeIgniter</a>.</p>
<p>Chargify will send a json array back a POST var to your site. The docs for Chargify don&#8217;t state what variable they are submitted as. This is what I came up with.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> post_back<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
        <span style="color: #000088;">$body</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;php://input&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$replace</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'['</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">']'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$replacements</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$body</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">','</span><span style="color: #339933;">,</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$replace</span><span style="color: #339933;">,</span> <span style="color: #000088;">$replacements</span><span style="color: #339933;">,</span> <span style="color: #000088;">$body</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
       <span style="color: #666666; font-style: italic;">//$body now contains array of subscription ID's</span>
       <span style="color: #666666; font-style: italic;">//Iterate through returned subscription IDs</span>
       <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$body</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$subscription_id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$subscription</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">chargify</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_subscription</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$subscription_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #666666; font-style: italic;">//Do something here with $subscription details</span>
      <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/code-igniter/codeigniter-chargify/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zencart + Free Shipping USA Shipping Module</title>
		<link>http://www.reloadedpc.com/zen-cart/zencart-free-shipping-usa-shipping-module/</link>
		<comments>http://www.reloadedpc.com/zen-cart/zencart-free-shipping-usa-shipping-module/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 19:18:36 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Zen-Cart]]></category>
		<category><![CDATA[shipping]]></category>
		<category><![CDATA[zencart]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=248</guid>
		<description><![CDATA[Many websites offer free shipping in the USA. The default shipping module for zencart does not allow a store owner to easily handle it. In the configuration of the shipping module, you set the desired country (USA) to display free shipping to, and any of the other options that are available in the standard freeshipper [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_18" class="wp-caption alignright" style="width: 156px"><a href="http://www.zen-cart.com"><img class="size-full wp-image-18 " title="zen-cart-logo" src="http://www.reloadedpc.com/wp-content/uploads/2009/07/zen-cart-logo.png" alt="Zencart + Free Shipping USA Shipping Module zen cart logo " width="146" height="40" /></a><p class="wp-caption-text">Zen-Cart</p></div>
<p>Many websites offer free shipping in the USA. The default shipping module for zencart does not allow a store owner to easily handle it. In the configuration of the shipping module, you set the desired country (USA) to display free shipping to, and any of the other options that are available in the standard freeshipper module included with zencart. The zip file contains just 2 files, the shipping total, and a english language define. Install instructions are included in the download. Very easy and fast to install.</p>
<p>You may <a href="http://bitbucket.org/pickupman/zencart-freeshipperusa">download</a> the module form bitbucket.org, or even help contribute to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/zen-cart/zencart-free-shipping-usa-shipping-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeNAS + Mercurial</title>
		<link>http://www.reloadedpc.com/other/freenas-and-mercurial/</link>
		<comments>http://www.reloadedpc.com/other/freenas-and-mercurial/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 01:45:15 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[hg]]></category>
		<category><![CDATA[mercurial]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=241</guid>
		<description><![CDATA[I was recently tinkering around with Mercurial and getting my feet wet using a distributed source version control. I have been using Subversion for about the past year, and has served me well. I wanted to get involved with some of the projects hosted on Bitbucket.org in order to fork some projects.  The are a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.reloadedpc.com/wp-content/uploads/2010/08/mercurial-logo.png"><img class="alignright size-full wp-image-242" title="mercurial" src="http://www.reloadedpc.com/wp-content/uploads/2010/08/mercurial-logo.png" alt="FreeNAS + Mercurial mercurial logo " width="184" height="61" /></a>I was recently tinkering around with <a href="http://mercurial.selenic.com/">Mercurial</a> and getting my feet wet using a distributed source version control. I have been using Subversion for about the past year, and has served me well. I wanted to get involved with some of the projects hosted on <a href="http://bitbucket.org">Bitbucket.org</a> in order to fork some projects.  The are a number of useful Codeigniter projects and zen-cart addons on there as well. One of the main ideas behind using a DSVC is not needing a centralized server. This seems great, if you are doing your work where will you have access to the network at some point to push/pull those changesets.  I work from a couple locations and need to be able to push/pull those changes. Pricing plans on Bitbucket.org are very reasonable, but I needed to host a few extra private repositories. Got me thinking to install mercurial on that FreeNAS box sitting quietly in my basement.  I am currently using FreeNAS .69. If you are running another build of FreeNAS, you will need to find the appropriate packages for your build.<span id="more-241"></span>It took a looking around in the FreeBSD ports to find the packages I needed. It was actually  a lot easier than  I though it would be. Here is a list of the packages you will need for FreeNAS:</p>
<ol>
<li><a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/devel/mercurial-1.5.4.tbz">Mecurial 1.5.4</a></li>
<li><a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/lang/python26-2.6.5.tbz">Python 2.6.5</a></li>
<li><a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/converters/libiconv-1.13.1_1.tbz">Libiconv 1.13.1</a></li>
<li><a href="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/converters/libiconv-1.13.1_1.tbz">Gettext 0.18</a></li>
</ol>
<p>Download each of the files to your desktop, and login into your FreeNAS webGUI. Then navigate to System-&gt;Packages. Click on the &#8220;Add&#8221; icon to install a new package. On the next screen you will see a browse button and install button.</p>
<div id="attachment_243" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.reloadedpc.com/wp-content/uploads/2010/08/freenas-06082010_212154.jpg"><img class="size-medium wp-image-243" title="FreeNAS install packages" src="http://www.reloadedpc.com/wp-content/uploads/2010/08/freenas-06082010_212154-300x224.jpg" alt="FreeNAS + Mercurial freenas 06082010 212154 300x224 " width="300" height="224" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p>You will need to install the packages in the correct order to satisfy their dependencies. Click on the &#8220;Browse&#8221; button, then &#8220;Install&#8221; button for each in this order:</p>
<ol>
<li>libiconv-1.13.1_1.tbz</li>
<li>gettext-0.18_1.tbz</li>
<li>python26-2.6.5.tbz</li>
<li>mercurial-1.5.4.tbz</li>
</ol>
<p>Congratulations you now have mercurial installed on your FreeNAS box. You starting hosting your own repositories. I create a folder in my FreeNAS drive and issued a:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$hg init</pre></div></div>

<p>I copied a few files in the folder from my laptop using Windows Explorer and then typed:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$hg add
$hg commit -m &quot;Import new files into repo&quot;</pre></div></div>

<p>Now I clone the repo to my laptop using</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$hg clone ssh://user:pass@freenas/path/to/repo local-folder</pre></div></div>

<p>If you omit the user and pass from the url, your will be prompted for them. This seemed like it would be a little more difficult to do as there is very little documentation on the FreeNAS website about packages. I was unable to find any other posts about this setup, so I hope someone else will find it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/other/freenas-and-mercurial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PetFinder API PHP Class Library</title>
		<link>http://www.reloadedpc.com/php/petfinder-api-php-class-library/</link>
		<comments>http://www.reloadedpc.com/php/petfinder-api-php-class-library/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 04:14:56 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[petfinder]]></category>
		<category><![CDATA[petfinder api]]></category>
		<category><![CDATA[php class]]></category>
		<category><![CDATA[php library]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=69</guid>
		<description><![CDATA[I was interested in a project for a website as to what data could be retrieved from PetFinder.com. To my surprise, on their website located in the footer is a link to their API documentation. In order to use their API, you must first fill out a developer request for a key &#38; password. I [...]]]></description>
			<content:encoded><![CDATA[<h3><span style="font-weight: normal; font-size: 13px;">I was interested in a project for a website as to what data could be retrieved from <a href="http://www.petfinder.com">PetFinder.com</a>. To my surprise, on their website located in the footer is a link to their <a href="http://www.petfinder.com/developers/api-docs#methods">API documentation</a>. In order to use their API, you must first fill out a developer request for a key &amp; password. I did a quick look to see if anyone had written a php class for accessing the api, but couldn&#8217;t find anything useful. I have created a php class that you can call the certain methods available to retrieve the records.</span></h3>
<h3>Update 6-30-2010:</h3>
<p>I recently updated the class to enable caching the xml response from the Petfinder server. This should provide a nice little speed boost even though it was already pretty fast <img src='http://www.reloadedpc.com/wp-includes/images/smilies/icon_smile.gif' alt="PetFinder API PHP Class Library icon smile " class='wp-smiley' title="PetFinder API PHP Class Library" /> . Caching is enabled by default, and caches expires in 3 minutes. The folder &#8220;cache_files&#8221; in zip folder must have write permissions. As shown in the instructions, you can change the paths of cache files.</p>
<p><span id="more-69"></span>This class will parse the returned xml as a data array. This libary requires just 4 easy steps to get data:</p>
<ol>
<li>Add api-password to class</li>
<li>Add api-key to class</li>
<li>Pass configuration values as an array</li>
<li>Call the method in the class</li>
</ol>
<p>Here is an example of how to use the php class</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">include_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'class.petfinder.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//include class</span>
<span style="color: #000088;">$pet</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Petfinder<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//create Petfinder object</span>
<span style="color: #000088;">$pet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setKey</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'12345'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//your api-key</span>
<span style="color: #000088;">$pet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setPass</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'abcdef'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//your api-secret</span>
<span style="color: #000088;">$pet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cache_expire'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">360</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//(optional) Time in secs to expire  default shown</span>
<span style="color: #000088;">$pet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cache_path'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'full_path_to_cache_folder'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">//(optional) Set cache path </span>
<span style="color: #000088;">$pet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cache_enable'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//(optional) Disable cache feature </span>
&nbsp;
<span style="color: #000088;">$config</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'location '</span><span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'44805'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'animal'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'dog'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//associative array of values to pass to class. array keys must match arguments from API</span>
<span style="color: #000088;">$pet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">initialize</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$config</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">//pass values to the class</span>
<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$pet</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">petFind</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//call API method which are accessed by camel casing them (pet.find=petFind)</span></pre></div></div>

<p>The xml data is returned as an associative array. The array has been mapped to the xml layout returned by PetFinder. Echo out the variable and you will see the returned status code, the array of returned values, and the xml response data from PetFinder.</p>
<p><a href="http://bitbucket.org/pickupman/petfinder">Download</a></p>
<p>If you would like to donate, you may do so by using Paypal.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="10530731" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" />
<img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="PetFinder API PHP Class Library pixel " width="1" height="1" title="PetFinder API PHP Class Library" /><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/php/petfinder-api-php-class-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter + Whitepages.com API Library</title>
		<link>http://www.reloadedpc.com/code-igniter/codeigniter-whitepagescom-api-library/</link>
		<comments>http://www.reloadedpc.com/code-igniter/codeigniter-whitepagescom-api-library/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 13:51:22 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Code Igniter]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[php library]]></category>
		<category><![CDATA[whitepages.com]]></category>

		<guid isPermaLink="false">http://www.reloadedpc.com/?p=223</guid>
		<description><![CDATA[I was recently working on another Codeigniter project that I needed to grab some phone, address, &#38; map information for plotting on a map. After doing a little searching I found Whitepages.com has provided an API interface for retrieving data via REST. The methods seemed simple enough, and provided an easy way to create a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://codeigniter.com"><img class="alignright size-full wp-image-41" title="CodeIgniter Logo" src="http://www.reloadedpc.com/wp-content/uploads/2009/07/ci_logo_flame.jpg" alt="CodeIgniter + Whitepages.com API Library ci logo flame " width="150" height="164" /></a>I was recently working on another Codeigniter project that I needed to grab some phone, address, &amp; map information for plotting on a map. After doing a little searching I found Whitepages.com has provided an API interface for retrieving data via REST. The methods seemed simple enough, and provided an easy way to create a CodeIgniter library to due the dirty work.<span id="more-223"></span>The library is pretty straightforward and includes good easy to read documentation.  You can receive data in either XML or in JSON format. I&#8217;ve included for demo purposes a SimpleXML codeigniter library to parse and convert the XML to an associative array. You can view the controller to see how this was implemented.</p>
<p>As shown in the readme docs, the class is easy to use. Example:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$info</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'lastname'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Smith'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'firstname'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'John'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'xml'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">whitepages_lib</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">find_person</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$info</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This will search using the <strong>find_person</strong> method of the API for the name &#8220;John Smith&#8221;. You can pass any of the fields shown in the documentation in your associative array.</p>
<p>Download <a href='http://www.reloadedpc.com/wp-content/uploads/2010/04/whitepages.zip'>CodeIgniter Whitepages.com API Library</a></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="8DNGYPD3WRZCQ">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="CodeIgniter + Whitepages.com API Library pixel " border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" title="CodeIgniter + Whitepages.com API Library" /><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://www.reloadedpc.com/code-igniter/codeigniter-whitepagescom-api-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 15/51 queries in 0.026 seconds using disk: basic
Object Caching 993/1135 objects using disk: basic

Served from: www.reloadedpc.com @ 2012-02-05 04:17:45 -->
