<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: PHP: FedEx shipping rates calculator</title>
	<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/</link>
	<description>The cyber-place where I live</description>
	<pubDate>Thu, 20 Nov 2008 22:36:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: brooksh</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-2375</link>
		<author>brooksh</author>
		<pubDate>Wed, 05 Nov 2008 00:22:06 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-2375</guid>
		<description>Does anyone know how to get time in transit for ground using this script? The script uses Rate Available Services and I guess that using Service Availability gives you transit time.</description>
		<content:encoded><![CDATA[<p>Does anyone know how to get time in transit for ground using this script? The script uses Rate Available Services and I guess that using Service Availability gives you transit time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Algirdas</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1842</link>
		<author>Algirdas</author>
		<pubDate>Wed, 25 Jun 2008 09:48:32 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1842</guid>
		<description>Looks like you server does not have curl lib.
http://lt2.php.net/curl</description>
		<content:encoded><![CDATA[<p>Looks like you server does not have curl lib.<br />
<a href="http://lt2.php.net/curl" rel="nofollow">http://lt2.php.net/curl</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jewel</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1841</link>
		<author>Jewel</author>
		<pubDate>Wed, 25 Jun 2008 09:02:15 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1841</guid>
		<description>Hi
From my local PC i can access all information from fedex.com using this class but when i m trying to collect information then i can't get.

Whats the problem?
Please help me.

Thnaks</description>
		<content:encoded><![CDATA[<p>Hi<br />
From my local PC i can access all information from fedex.com using this class but when i m trying to collect information then i can&#8217;t get.</p>
<p>Whats the problem?<br />
Please help me.</p>
<p>Thnaks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Algirdas</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1812</link>
		<author>Algirdas</author>
		<pubDate>Thu, 12 Jun 2008 15:48:56 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1812</guid>
		<description>if you call
[code]
$price = $fedex-&gt;getPrice();
[/code]
then you will be able to print rate
[code]
echo $price-&gt;price-&gt;rate;
[/code]</description>
		<content:encoded><![CDATA[<p>if you call</p>
<div class="codesnip-container" >$price = $fedex->getPrice();</div>
<p>then you will be able to print rate</p>
<div class="codesnip-container" >echo $price->price->rate;</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: ntd</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1811</link>
		<author>ntd</author>
		<pubDate>Thu, 12 Jun 2008 15:36:05 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1811</guid>
		<description>Martin
Have you found an answer? I'm in the same boat.

Also the the publisher the change for the ground issue doesn't work while in test. Is it just the test mode problem?

Thanks

Nick</description>
		<content:encoded><![CDATA[<p>Martin<br />
Have you found an answer? I&#8217;m in the same boat.</p>
<p>Also the the publisher the change for the ground issue doesn&#8217;t work while in test. Is it just the test mode problem?</p>
<p>Thanks</p>
<p>Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mbecker</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1791</link>
		<author>mbecker</author>
		<pubDate>Thu, 05 Jun 2008 09:10:12 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1791</guid>
		<description>Hello Algirdas,

first of all many thanks that you share your skills with us!
It´s my first time I shall intergrate the FedEx Rate Modul in a selfmade shopping cart.
My question:
How can I use the variables from the price object as single output?
I only need the “rate” and the “service”, so I build these request at the end of index.php.
[code lang="php"]
foreach($price as $wert) {
    if(is_object($wert)){
    	foreach($wert as $eintrag) {
    		if(is_object($eintrag) &#124;&#124; is_array($eintrag)){
    			echo '';
      		}
       		else {
       			echo $eintrag.'';
    		}
    	}
    }
}
[/code]
At the end of fedex.php I changed “print_r($this);” into “return $this;”.

It´s my first time I work with classes and objects, so it´s difficult for me to understand the complete script.

Hope you can help me.

Thank you and best regards,
Martin</description>
		<content:encoded><![CDATA[<p>Hello Algirdas,</p>
<p>first of all many thanks that you share your skills with us!<br />
It´s my first time I shall intergrate the FedEx Rate Modul in a selfmade shopping cart.<br />
My question:<br />
How can I use the variables from the price object as single output?<br />
I only need the “rate” and the “service”, so I build these request at the end of index.php.</p>
<div class="codesnip-container" >
<div class="codesnip"><span class="kw1">foreach</span><span class="br0">&#40;</span><span class="re0">$price</span> <span class="kw1">as</span> <span class="re0">$wert</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><a href="http://www.php.net/is_object"><span class="kw3">is_object</span></a><span class="br0">&#40;</span><span class="re0">$wert</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">foreach</span><span class="br0">&#40;</span><span class="re0">$wert</span> <span class="kw1">as</span> <span class="re0">$eintrag</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><a href="http://www.php.net/is_object"><span class="kw3">is_object</span></a><span class="br0">&#40;</span><span class="re0">$eintrag</span><span class="br0">&#41;</span> || <a href="http://www.php.net/is_array"><span class="kw3">is_array</span></a><span class="br0">&#40;</span><span class="re0">$eintrag</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8221;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="re0">$eintrag</span>.<span class="st0">&#8221;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></div>
</div>
<p>At the end of fedex.php I changed “print_r($this);” into “return $this;”.</p>
<p>It´s my first time I work with classes and objects, so it´s difficult for me to understand the complete script.</p>
<p>Hope you can help me.</p>
<p>Thank you and best regards,<br />
Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erik10206</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1340</link>
		<author>erik10206</author>
		<pubDate>Wed, 12 Dec 2007 21:36:41 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1340</guid>
		<description>The script looks great, but I was wondering how you go about submitting the request to get your meter number?</description>
		<content:encoded><![CDATA[<p>The script looks great, but I was wondering how you go about submitting the request to get your meter number?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dmoola</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1263</link>
		<author>dmoola</author>
		<pubDate>Fri, 02 Nov 2007 16:16:49 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1263</guid>
		<description>Genius!  Sorry about that, I set it properly in the class, just not in the page calling the class.</description>
		<content:encoded><![CDATA[<p>Genius!  Sorry about that, I set it properly in the class, just not in the page calling the class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Algirdas</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1262</link>
		<author>Algirdas</author>
		<pubDate>Fri, 02 Nov 2007 16:06:43 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1262</guid>
		<description>Look at comment above
You are trying to get rates for ground service but carrier code is set to express, so you should use $fedex-&gt;setCarrierCode(“FDXG”); and everything will be ok.</description>
		<content:encoded><![CDATA[<p>Look at comment above<br />
You are trying to get rates for ground service but carrier code is set to express, so you should use $fedex->setCarrierCode(“FDXG”); and everything will be ok.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dmoola</title>
		<link>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1261</link>
		<author>dmoola</author>
		<pubDate>Fri, 02 Nov 2007 15:53:34 +0000</pubDate>
		<guid>http://www.varnagiris.net/2006/06/01/php-fedex-shipping-rates-calculator/#comment-1261</guid>
		<description>all i'm getting is a 16501 error... could not communicate with mainframe.  at first i thought it was maybe on their end, so i waited a day and it still says that.   any suggestions?

http://dev.koboseattle.com/Fedex/index.php</description>
		<content:encoded><![CDATA[<p>all i&#8217;m getting is a 16501 error&#8230; could not communicate with mainframe.  at first i thought it was maybe on their end, so i waited a day and it still says that.   any suggestions?</p>
<p><a href="http://dev.koboseattle.com/Fedex/index.php" rel="nofollow">http://dev.koboseattle.com/Fedex/index.php</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
