<?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>Algirdas Varnagiris &#187; validation</title>
	<atom:link href="http://www.varnagiris.net/tag/validation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.varnagiris.net</link>
	<description>The cyber-place where I live</description>
	<lastBuildDate>Thu, 18 Feb 2010 17:19:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PHP: UPS Address Validation tool</title>
		<link>http://www.varnagiris.net/2006/03/11/php-ups-address-validation-tool/</link>
		<comments>http://www.varnagiris.net/2006/03/11/php-ups-address-validation-tool/#comments</comments>
		<pubDate>Sat, 11 Mar 2006 10:28:14 +0000</pubDate>
		<dc:creator>Algirdas</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[UPS]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.varnagiris.net/2006/03/11/php-ups-address-validation-tool/</guid>
		<description><![CDATA[Free php UPS address validation tool. With UPS Address Validation, available in the latest XML technology, you don&#8217;t have to worry about your customers entering incorrect address information. If customers make a mistake, UPS Address Validation alerts them with an error message, ensuring that errors are corrected at the point of entry long before orders [...]]]></description>
			<content:encoded><![CDATA[<p>Free php UPS address validation tool.</p>
<p>With UPS Address Validation, available in the latest XML technology, you don&#8217;t have to worry about your customers entering incorrect address information. If customers make a mistake, UPS Address Validation alerts them with an error message, ensuring that errors are corrected at the point of entry long before orders leave the shipping dock. This reduces costly returns for you and headaches for your customers.</p>
<p>UPS Address Validation uses U.S. Postal Service guidelines to thoroughly check the city, state and postal code of every shipment. UPS provides up to ten alternate addresses, including an accuracy rate that lets your customers know how closely the address they entered matches the suggested address.<span id="more-32"></span></p>
<p>In order to start using this UPS address validation tool you need to implement these steps:</p>
<ul>
<li>Create a Tools UserId and Password.</li>
<li>License the Tools and receive your Developer Key.</li>
<li>Get an XML Access Key.</li>
</ul>
<p>Do it at www.ec.ups.com</p>
<p>Here is some information how UPS address validator is working.<br />
To receive Address Validation information, an application sends a request to the Address Validation interface.<br />
The Address Validation request must contain one of the following input combinations:</p>
<ul>
<li>City, State, and Postal Code</li>
<li>City</li>
<li>Postal Code</li>
<li>City and State</li>
<li>City and Postal Code</li>
<li>State and Postal Code</li>
</ul>
<p>Once the request has been successfully submitted, the Address Validation tool returns the following output data for each match (the closest match is returned first):</p>
<ul>
<li>Rank</li>
<li>Quality</li>
<li>City</li>
<li>State</li>
<li>Low-end postal code match</li>
<li>High-end postal code match</li>
</ul>
<p>How to use this free PHP tool?<br />
<code><br />
require_once("upsaddress.php");<br />
$ups = new upsaddress("ACCESSKEY1234567", "userId", "password");<br />
$ups->setCity("Miami");<br />
$ups->setState("FL");<br />
$ups->setZip("33110");<br />
$response = $ups->getResponse();<br />
</code><br />
And here is the response:</p>
<pre><code>
upsaddress Object
(
    [accessKey] => ACCESSKEY1234567
    [userId] => userId
    [password] => password
    [url] => https://wwwcie.ups.com/ups.app/xml/AV
    [city] => Miami
    [state] => FL
    [zip] => 33110
    [statuscode] => 1
    [statusdescription] => Success
    [error] =>
    [list] => Array
        (
            [0] => address Object
                (
                    [rank] => 1
                    [quality] => 1.0
                    [city] => MIAMI
                    [state] => FL
                    [zipLow] => 33110
                    [zipHigh] => 33112
                )
        )
)
</code></pre>
<p><a id="p33" href="http://www.varnagiris.net/wp-content/uploads/2006/03/upsaddress.zip" title="UPS address validation" onclick="javascript: pageTracker._trackPageview('/downloads/UPS');">Download free php UPS address validation tool</a></p>
<p>Please make a donation of <strong>1$</strong> if you find our software useful and want to support the continued development.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick"/>
<input type="hidden" name="business" value="algirdas@varnagiris.net"/>
<input type="hidden" name="item_name" value="USPS Address Validation"/>
<input type="hidden" name="amount" value="1.00"/>
<input type="hidden" name="buyer_credit_promo_code" value=""/>
<input type="hidden" name="buyer_credit_product_category" value=""/>
<input type="hidden" name="buyer_credit_shipping_method" value=""/>
<input type="hidden" name="buyer_credit_user_address_change" value=""/>
<input type="hidden" name="no_shipping" value="0"/>
<input type="hidden" name="no_note" value="1"/>
<input type="hidden" name="currency_code" value="USD"/>
<input type="hidden" name="tax" value="0"/>
<input type="hidden" name="lc" value="US"/>
<input type="hidden" name="bn" value="PP-DonationsBF"/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" style="border:0px" onclick="javascript: pageTracker._trackPageview('/goal/donate.html');" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" style="border:0px" /><br />
</form>
<p>Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.varnagiris.net/2006/03/11/php-ups-address-validation-tool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
