<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Flex and PHP: remoting with Zend AMF</title>
	<atom:link href="http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/feed/" rel="self" type="application/rss+xml" />
	<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flex-and-php-remoting-with-zend-amf</link>
	<description>Web, Mobile, and Rock&#38;Roll</description>
	<lastBuildDate>Sat, 11 Feb 2012 08:46:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: faraqsa</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-38580</link>
		<dc:creator>faraqsa</dc:creator>
		<pubDate>Tue, 31 Jan 2012 14:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-38580</guid>
		<description>hi Mihai,

thanks for the tutorial btw I have some question I am trying to figure out ur tutorial on WAMP / Win7 with FB 4.5 

and I am getting a timer in my cursor it keeps on ticking nothing is retrieved !

pls advice</description>
		<content:encoded><![CDATA[<p>hi Mihai,</p>
<p>thanks for the tutorial btw I have some question I am trying to figure out ur tutorial on WAMP / Win7 with FB 4.5 </p>
<p>and I am getting a timer in my cursor it keeps on ticking nothing is retrieved !</p>
<p>pls advice</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smartcode &#124; smartcode &#124; blog &#124; flex 3 and zend_amf class mapping hint</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-34379</link>
		<dc:creator>smartcode &#124; smartcode &#124; blog &#124; flex 3 and zend_amf class mapping hint</dc:creator>
		<pubDate>Tue, 13 Dec 2011 12:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-34379</guid>
		<description>[...] familiar with amfphp and there are good resources available on the web ( e.g. Zend Amf Wiki and Flex and PHP: remoting with Zend AMF [...]</description>
		<content:encoded><![CDATA[<p>[...] familiar with amfphp and there are good resources available on the web ( e.g. Zend Amf Wiki and Flex and PHP: remoting with Zend AMF [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smartcode &#124; smartcode &#124; blog &#124; flex 3 and zend_amf class mapping hint</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-34380</link>
		<dc:creator>smartcode &#124; smartcode &#124; blog &#124; flex 3 and zend_amf class mapping hint</dc:creator>
		<pubDate>Tue, 13 Dec 2011 12:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-34380</guid>
		<description>[...] familiar with amfphp and there are good resources available on the web ( e.g. Zend Amf Wiki and Flex and PHP: remoting with Zend AMF [...]</description>
		<content:encoded><![CDATA[<p>[...] familiar with amfphp and there are good resources available on the web ( e.g. Zend Amf Wiki and Flex and PHP: remoting with Zend AMF [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smartcode &#124; smartcode &#124; blog &#124; flex 3 and zend_amf class mapping hint</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-34381</link>
		<dc:creator>smartcode &#124; smartcode &#124; blog &#124; flex 3 and zend_amf class mapping hint</dc:creator>
		<pubDate>Tue, 13 Dec 2011 12:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-34381</guid>
		<description>[...] familiar with amfphp and there are good resources available on the web ( e.g. Zend Amf Wiki and Flex and PHP: remoting with Zend AMF [...]</description>
		<content:encoded><![CDATA[<p>[...] familiar with amfphp and there are good resources available on the web ( e.g. Zend Amf Wiki and Flex and PHP: remoting with Zend AMF [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FinFlex</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-28468</link>
		<dc:creator>FinFlex</dc:creator>
		<pubDate>Tue, 27 Sep 2011 14:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-28468</guid>
		<description>Can someone describe, how this valueObject mapping works. I can&#039;t get it to work!</description>
		<content:encoded><![CDATA[<p>Can someone describe, how this valueObject mapping works. I can&#8217;t get it to work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-26526</link>
		<dc:creator>Jean</dc:creator>
		<pubDate>Thu, 25 Aug 2011 09:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-26526</guid>
		<description>In case that can help anyone, I&#039;ve been trying to get rid of the &quot;NetConnection.Call.BadVersion&quot; error for two days now and after a LOT of testing and debugging, I found out that my problem was with the encoding of my services PHP file being in UTF-8 while the gateway file was ANSI.

I&#039;m sure there are many different possible causes for this error but check the encoding of your files if you encounter that error!</description>
		<content:encoded><![CDATA[<p>In case that can help anyone, I&#8217;ve been trying to get rid of the &#8220;NetConnection.Call.BadVersion&#8221; error for two days now and after a LOT of testing and debugging, I found out that my problem was with the encoding of my services PHP file being in UTF-8 while the gateway file was ANSI.</p>
<p>I&#8217;m sure there are many different possible causes for this error but check the encoding of your files if you encounter that error!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ofembe Eneufei</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-25429</link>
		<dc:creator>Ofembe Eneufei</dc:creator>
		<pubDate>Tue, 09 Aug 2011 03:21:23 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-25429</guid>
		<description>
        

does the uri end at zendamf_remote/  as a folder or should it point to one of the php files in that folder?</description>
		<content:encoded><![CDATA[<p>does the uri end at zendamf_remote/  as a folder or should it point to one of the php files in that folder?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aldo Marsilio</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-24006</link>
		<dc:creator>Aldo Marsilio</dc:creator>
		<pubDate>Sun, 17 Jul 2011 13:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-24006</guid>
		<description>Hi to everyone,
I have a website hosted on Bluehost.com at a very good price. I would like to use the Zend Framework, I uploaded it, I modified all the includes to php.ini but I cannot restart the server, and when I execute the Flex script I have an error message saying: Channel disconnected
Channel disconnected before an acknowledgement was received. Any solution to this?</description>
		<content:encoded><![CDATA[<p>Hi to everyone,<br />
I have a website hosted on Bluehost.com at a very good price. I would like to use the Zend Framework, I uploaded it, I modified all the includes to php.ini but I cannot restart the server, and when I execute the Flex script I have an error message saying: Channel disconnected<br />
Channel disconnected before an acknowledgement was received. Any solution to this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Özgür</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-21519</link>
		<dc:creator>Özgür</dc:creator>
		<pubDate>Tue, 14 Jun 2011 23:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-21519</guid>
		<description>Hi Mihai,
Thanks for the tutorial. I got the instances of php classes in flex as an actionscript class.

My question is; is it possible to create the instances of actionscript classes as a php class?
For example, i have a Login.as which created in flex. Can i send the Login.as to the php as an Object and create the same php class?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Mihai,<br />
Thanks for the tutorial. I got the instances of php classes in flex as an actionscript class.</p>
<p>My question is; is it possible to create the instances of actionscript classes as a php class?<br />
For example, i have a Login.as which created in flex. Can i send the Login.as to the php as an Object and create the same php class?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alive-and-kicking</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-21327</link>
		<dc:creator>alive-and-kicking</dc:creator>
		<pubDate>Mon, 13 Jun 2011 00:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-21327</guid>
		<description>I&#039;m trying for first time Flash Builder 4.5, Mysql and ZendAmf 1.10.6 installed on Linux server from two weeks ago, and all the new projects I run, always I get the &quot;NetConnection.Call.BadVersion&quot; error when connect to ZendAmf.

But, last two months ago I was trying Flash Builder 4.0, MySQL and ZendAmf on the same Linux server and all my example projects was running perfectly. But that reason I&#039;ve exported all projects from 4.0 to 4.5 and It was astohis, all run well. 

The classes are the same en both versions and the databases are the same too only because they are in the Linux server I&#039;ve changes the versión.

 But if I create a new project on Flash Builder 4.5 using the same classes and database that are in the Linux server and server-config.xml of the older projects always I have the  &quot;NetConnection.Call.BadVersion&quot; error.

I want to know why is the reason? and  Why new projects in 4.5 always I have the error &quot;NetConnection.Call.BadVersion&quot; perhaps is a bug?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying for first time Flash Builder 4.5, Mysql and ZendAmf 1.10.6 installed on Linux server from two weeks ago, and all the new projects I run, always I get the &#8220;NetConnection.Call.BadVersion&#8221; error when connect to ZendAmf.</p>
<p>But, last two months ago I was trying Flash Builder 4.0, MySQL and ZendAmf on the same Linux server and all my example projects was running perfectly. But that reason I&#8217;ve exported all projects from 4.0 to 4.5 and It was astohis, all run well. </p>
<p>The classes are the same en both versions and the databases are the same too only because they are in the Linux server I&#8217;ve changes the versión.</p>
<p> But if I create a new project on Flash Builder 4.5 using the same classes and database that are in the Linux server and server-config.xml of the older projects always I have the  &#8220;NetConnection.Call.BadVersion&#8221; error.</p>
<p>I want to know why is the reason? and  Why new projects in 4.5 always I have the error &#8220;NetConnection.Call.BadVersion&#8221; perhaps is a bug?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blog.to-fuse&#187; Blog Archive &#187; Flex 3 and Zend_Amf Class Mapping Hint</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-20871</link>
		<dc:creator>blog.to-fuse&#187; Blog Archive &#187; Flex 3 and Zend_Amf Class Mapping Hint</dc:creator>
		<pubDate>Fri, 03 Jun 2011 10:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-20871</guid>
		<description>[...] familiar with amfphp and there are good resources available on the web ( e.g. Zend Amf Wiki and Flex and PHP: remoting with Zend AMF [...]</description>
		<content:encoded><![CDATA[<p>[...] familiar with amfphp and there are good resources available on the web ( e.g. Zend Amf Wiki and Flex and PHP: remoting with Zend AMF [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oscar</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-20435</link>
		<dc:creator>oscar</dc:creator>
		<pubDate>Tue, 24 May 2011 12:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-20435</guid>
		<description>I tried the amf in object and with about 9000 records result (my custom object) this is the response:

ZendAMF 12 sec, 650Kb
AMFPHP1.9 11 sec, 330 Kb
AMFPHP 2.0 13 sec, 2,4 Mb

Why the latest amfphp is so slow and so big? Also the 1.9 isn&#039;t so speed than ZendAmMF, just about 1 second ... in web the response are much different than mine, of the order 10x favor to amfphp! 
I would to change from zend to amfphp, but maybe it&#039;s soon. 
thanks</description>
		<content:encoded><![CDATA[<p>I tried the amf in object and with about 9000 records result (my custom object) this is the response:</p>
<p>ZendAMF 12 sec, 650Kb<br />
AMFPHP1.9 11 sec, 330 Kb<br />
AMFPHP 2.0 13 sec, 2,4 Mb</p>
<p>Why the latest amfphp is so slow and so big? Also the 1.9 isn&#8217;t so speed than ZendAmMF, just about 1 second &#8230; in web the response are much different than mine, of the order 10x favor to amfphp!<br />
I would to change from zend to amfphp, but maybe it&#8217;s soon.<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The architecture of Flex and PHP applications</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-20345</link>
		<dc:creator>The architecture of Flex and PHP applications</dc:creator>
		<pubDate>Sun, 22 May 2011 11:59:21 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-20345</guid>
		<description>[...] are four available libraries, all are free, and I wrote tutorials about how to use each of them: Zend AMF,AMFPHP, WebORB for PHP, and SabreAMF. And here you can read a post that compares [...]</description>
		<content:encoded><![CDATA[<p>[...] are four available libraries, all are free, and I wrote tutorials about how to use each of them: Zend AMF,AMFPHP, WebORB for PHP, and SabreAMF. And here you can read a post that compares [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shannon</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-19829</link>
		<dc:creator>shannon</dc:creator>
		<pubDate>Sun, 08 May 2011 14:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-19829</guid>
		<description>you don&#039;t need third party plugins to go from flex to php ... AS3&#039;s URLloader works fine.</description>
		<content:encoded><![CDATA[<p>you don&#8217;t need third party plugins to go from flex to php &#8230; AS3&#8242;s URLloader works fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 火柴工作坊 &#187; Streamlining Flex and PHP development with Flash Builder for PHP</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-19704</link>
		<dc:creator>火柴工作坊 &#187; Streamlining Flex and PHP development with Flash Builder for PHP</dc:creator>
		<pubDate>Wed, 04 May 2011 03:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-19704</guid>
		<description>[...] This example uses Flex remoting to connect the Flex client to the PHP code. Flex remoting basically lets you call a remote PHP class from the Flex code, as if it were a local class. You can execute any of the public methods of the PHP class and listen for the response. If you are new to remoting, I encourage you to read my introductory article on this topic, Flex and PHP: remoting with Zend AMF [...]</description>
		<content:encoded><![CDATA[<p>[...] This example uses Flex remoting to connect the Flex client to the PHP code. Flex remoting basically lets you call a remote PHP class from the Flex code, as if it were a local class. You can execute any of the public methods of the PHP class and listen for the response. If you are new to remoting, I encourage you to read my introductory article on this topic, Flex and PHP: remoting with Zend AMF [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 1 million row DataGrid: ZendAMF, Flex data-paging, MySql &#171; Bishop on Development</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-18373</link>
		<dc:creator>1 million row DataGrid: ZendAMF, Flex data-paging, MySql &#171; Bishop on Development</dc:creator>
		<pubDate>Fri, 18 Mar 2011 14:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-18373</guid>
		<description>[...] Recently saw James Wards&#8217; example of data paging in Flex 4,  and Mihai Corlans ZendAMF/PHP remoting tutorial on his blog. [...]</description>
		<content:encoded><![CDATA[<p>[...] Recently saw James Wards&#8217; example of data paging in Flex 4,  and Mihai Corlans ZendAMF/PHP remoting tutorial on his blog. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex and PHP Architecture &#171; PHP Mysql Script</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-17660</link>
		<dc:creator>Flex and PHP Architecture &#171; PHP Mysql Script</dc:creator>
		<pubDate>Wed, 02 Mar 2011 07:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-17660</guid>
		<description>[...] are four available libraries, all are free, and I wrote tutorials about how to use each of them: Zend AMF, AMFPHP, WebORB for PHP, and SabreAMF. And here you can read a post that compares [...]</description>
		<content:encoded><![CDATA[<p>[...] are four available libraries, all are free, and I wrote tutorials about how to use each of them: Zend AMF, AMFPHP, WebORB for PHP, and SabreAMF. And here you can read a post that compares [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suraj</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-17501</link>
		<dc:creator>Suraj</dc:creator>
		<pubDate>Fri, 25 Feb 2011 09:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-17501</guid>
		<description>Great tutorial. Worked smoothly.....</description>
		<content:encoded><![CDATA[<p>Great tutorial. Worked smoothly&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-16953</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Fri, 04 Feb 2011 22:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-16953</guid>
		<description>@Alex

If you are talking about the situation where two or more users edit the same piece of information and then submit to the server, then you handle it the same way you would do with normal HTML client: you deal on the server.

The alternative is pretty complicated:
- the user edits some data and then triggers the saving action
- before sending the data to server you make a request and check what are current data on the server
- you compare the data you got with what the user started with
- if differences you alert the user and give him an option to change and then save</description>
		<content:encoded><![CDATA[<p>@Alex</p>
<p>If you are talking about the situation where two or more users edit the same piece of information and then submit to the server, then you handle it the same way you would do with normal HTML client: you deal on the server.</p>
<p>The alternative is pretty complicated:<br />
- the user edits some data and then triggers the saving action<br />
- before sending the data to server you make a request and check what are current data on the server<br />
- you compare the data you got with what the user started with<br />
- if differences you alert the user and give him an option to change and then save</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex winx</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-16943</link>
		<dc:creator>Alex winx</dc:creator>
		<pubDate>Fri, 04 Feb 2011 14:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-16943</guid>
		<description>Could you please explain how changing of data from other instance would affect synchronization with current one. What should be done?
Thx</description>
		<content:encoded><![CDATA[<p>Could you please explain how changing of data from other instance would affect synchronization with current one. What should be done?<br />
Thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaibhav</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-15924</link>
		<dc:creator>Vaibhav</dc:creator>
		<pubDate>Thu, 30 Dec 2010 10:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-15924</guid>
		<description>Hi all,
 
After almost a month of research on this problem. I was able to remove all my errors on production but still not able to retrieve data.
Please help......
Here is the scenerio details :
I created a form which will take input from user and store those values in database.you can visit it here on web server :
http://www.accurateoptics.in/
I followed all the steps mentioned on adobe&#039;s test drive tutorial. It works fine on my local machine with WAMP installation. But the moment,
I upload it...Bang!!!! there comes the error ::::  
Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: http://www.accurateoptics.in/gateway.php
I googled again, read a lot of articles and figured out that some changes are required in my gateway.php and amf-config.ini files for production environment.
 
Did the necessary changes and uploaded again.Bang!!!!!!! new error comes:::::::
Channel disconnected before an acknowledgement was received.
 
to solve this, again googled a lot and figured out that i need to upload zend framework files so, did that and setting up the path for zend in amf-config.ini.
uploaded again.
 
Now, i am stuck at this point where no error is thrown only an alert box comes with a ok button. also, data is not retrieved from server.
 
 
I dont know what error i am making.here is my amf-config.ini file:::::::::::::
 
[zend]
;set the absolute location path of webroot directory, example:
;Windows: C:\apache\www
;MAC/UNIX: /user/apache/www
webroot =http://www.accurateoptics.in
;set the absolute location path of zend installation directory, example:
;Windows: C:\apache\PHPFrameworks\ZendFramework\library
;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework/library
;zend_path =
zend_path = ./ZendFramework/library
[zendamf]
amf.production = true
amf.directories[]= http://www.accurateoptics.in/services
 
here is my gatway.php file :::::::::::::;
 
 false), true);
$default_config-&gt;merge(new Zend_Config_Ini($configfile, &#039;zendamf&#039;));
$default_config-&gt;setReadOnly();
$amf = $default_config-&gt;amf;
// Store configuration in the registry
Zend_Registry::set(&quot;amf-config&quot;, $amf);
// Initialize AMF Server
$server = new Zend_Amf_Server();
$server-&gt;setProduction($amf-&gt;production);
if(isset($amf-&gt;directories)) {
$dirs = $amf-&gt;directories-&gt;toArray();
foreach($dirs as $dir) {
// get the first character of the path. 
// If it does not start with slash then it implies that the path is relative to webroot. Else it will be treated as absolute path
$length = strlen($dir);
$firstChar = $dir;
if($length &gt;= 1)
$firstChar = $dir[0];
if($firstChar != &quot;/&quot;){
// if the directory is ./ path then we add the webroot only.
if($dir == &quot;./&quot;){ 
$server-&gt;addDirectory($webroot);
}else{
$tempPath = $webroot . &quot;/&quot; . $dir;
$server-&gt;addDirectory($tempPath);
} 
}else{
$server-&gt;addDirectory($dir); 
}
}
}
// Initialize introspector for non-production
if(!$amf-&gt;production) {
$server-&gt;setClass(&#039;Zend_Amf_Adobe_Introspector&#039;, &#039;&#039;, array(&quot;config&quot; =&gt; $default_config, &quot;server&quot; =&gt; $server));
$server-&gt;setClass(&#039;Zend_Amf_Adobe_DbInspector&#039;, &#039;&#039;, array(&quot;config&quot; =&gt; $default_config, &quot;server&quot; =&gt; $server));
}
// Handle request
echo $server-&gt;handle();
?&gt;
 
 
Looking for some help!! Thanks in advance..............</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>After almost a month of research on this problem. I was able to remove all my errors on production but still not able to retrieve data.<br />
Please help&#8230;&#8230;<br />
Here is the scenerio details :<br />
I created a form which will take input from user and store those values in database.you can visit it here on web server :<br />
<a href="http://www.accurateoptics.in/" rel="nofollow">http://www.accurateoptics.in/</a><br />
I followed all the steps mentioned on adobe&#8217;s test drive tutorial. It works fine on my local machine with WAMP installation. But the moment,<br />
I upload it&#8230;Bang!!!! there comes the error ::::<br />
Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: <a href="http://www.accurateoptics.in/gateway.php" rel="nofollow">http://www.accurateoptics.in/gateway.php</a><br />
I googled again, read a lot of articles and figured out that some changes are required in my gateway.php and amf-config.ini files for production environment.</p>
<p>Did the necessary changes and uploaded again.Bang!!!!!!! new error comes:::::::<br />
Channel disconnected before an acknowledgement was received.</p>
<p>to solve this, again googled a lot and figured out that i need to upload zend framework files so, did that and setting up the path for zend in amf-config.ini.<br />
uploaded again.</p>
<p>Now, i am stuck at this point where no error is thrown only an alert box comes with a ok button. also, data is not retrieved from server.</p>
<p>I dont know what error i am making.here is my amf-config.ini file:::::::::::::</p>
<p>[zend]<br />
;set the absolute location path of webroot directory, example:<br />
;Windows: C:\apache\www<br />
;MAC/UNIX: /user/apache/www<br />
webroot =http://www.accurateoptics.in<br />
;set the absolute location path of zend installation directory, example:<br />
;Windows: C:\apache\PHPFrameworks\ZendFramework\library<br />
;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework/library<br />
;zend_path =<br />
zend_path = ./ZendFramework/library<br />
[zendamf]<br />
amf.production = true<br />
amf.directories[]= <a href="http://www.accurateoptics.in/services" rel="nofollow">http://www.accurateoptics.in/services</a></p>
<p>here is my gatway.php file :::::::::::::;</p>
<p> false), true);<br />
$default_config-&gt;merge(new Zend_Config_Ini($configfile, &#8216;zendamf&#8217;));<br />
$default_config-&gt;setReadOnly();<br />
$amf = $default_config-&gt;amf;<br />
// Store configuration in the registry<br />
Zend_Registry::set(&#8220;amf-config&#8221;, $amf);<br />
// Initialize AMF Server<br />
$server = new Zend_Amf_Server();<br />
$server-&gt;setProduction($amf-&gt;production);<br />
if(isset($amf-&gt;directories)) {<br />
$dirs = $amf-&gt;directories-&gt;toArray();<br />
foreach($dirs as $dir) {<br />
// get the first character of the path.<br />
// If it does not start with slash then it implies that the path is relative to webroot. Else it will be treated as absolute path<br />
$length = strlen($dir);<br />
$firstChar = $dir;<br />
if($length &gt;= 1)<br />
$firstChar = $dir[0];<br />
if($firstChar != &#8220;/&#8221;){<br />
// if the directory is ./ path then we add the webroot only.<br />
if($dir == &#8220;./&#8221;){<br />
$server-&gt;addDirectory($webroot);<br />
}else{<br />
$tempPath = $webroot . &#8220;/&#8221; . $dir;<br />
$server-&gt;addDirectory($tempPath);<br />
}<br />
}else{<br />
$server-&gt;addDirectory($dir);<br />
}<br />
}<br />
}<br />
// Initialize introspector for non-production<br />
if(!$amf-&gt;production) {<br />
$server-&gt;setClass(&#8216;Zend_Amf_Adobe_Introspector&#8217;, &#8221;, array(&#8220;config&#8221; =&gt; $default_config, &#8220;server&#8221; =&gt; $server));<br />
$server-&gt;setClass(&#8216;Zend_Amf_Adobe_DbInspector&#8217;, &#8221;, array(&#8220;config&#8221; =&gt; $default_config, &#8220;server&#8221; =&gt; $server));<br />
}<br />
// Handle request<br />
echo $server-&gt;handle();<br />
?&gt;</p>
<p>Looking for some help!! Thanks in advance&#8230;&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RA</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-12806</link>
		<dc:creator>RA</dc:creator>
		<pubDate>Fri, 29 Oct 2010 08:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-12806</guid>
		<description>i want the swf locally coz i don&#039;t want to let anyone access this swf. this why i&#039;m using it as locally ,,,,,,

Any help</description>
		<content:encoded><![CDATA[<p>i want the swf locally coz i don&#8217;t want to let anyone access this swf. this why i&#8217;m using it as locally ,,,,,,</p>
<p>Any help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RA</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-12805</link>
		<dc:creator>RA</dc:creator>
		<pubDate>Fri, 29 Oct 2010 08:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-12805</guid>
		<description>Hello , 

i have some problem in connecting a local swf (saved on any computer) to an online database. What i did is a software for a university election, what i want is to let the local swf connect to my online database , my database is created on my online server and not on my localhost. I;m using flex 4 or adobe flash builder. Thank you. What should i do to succeed in the connection. 

Thank you ,</description>
		<content:encoded><![CDATA[<p>Hello , </p>
<p>i have some problem in connecting a local swf (saved on any computer) to an online database. What i did is a software for a university election, what i want is to let the local swf connect to my online database , my database is created on my online server and not on my localhost. I;m using flex 4 or adobe flash builder. Thank you. What should i do to succeed in the connection. </p>
<p>Thank you ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-12077</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 09 Sep 2010 16:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-12077</guid>
		<description>Hi Mihai,

first of all great article, thanks for that. 

Although implementing this example as described in zends documentation http://framework.zend.com/wiki/display/ZFPROP/Zend_Amf+-+Wade+Arnold i got the same problem as boris described in his post

125. Boris on September 9th, 2009 11:20 am 

Are there any news on that, you know about? Or do you have any clue what the reason for this problem could be? I am using flex4 and zend 1.10.8

thanks
Robert</description>
		<content:encoded><![CDATA[<p>Hi Mihai,</p>
<p>first of all great article, thanks for that. </p>
<p>Although implementing this example as described in zends documentation <a href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Amf+-+Wade+Arnold" rel="nofollow">http://framework.zend.com/wiki/display/ZFPROP/Zend_Amf+-+Wade+Arnold</a> i got the same problem as boris described in his post</p>
<p>125. Boris on September 9th, 2009 11:20 am </p>
<p>Are there any news on that, you know about? Or do you have any clue what the reason for this problem could be? I am using flex4 and zend 1.10.8</p>
<p>thanks<br />
Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-11955</link>
		<dc:creator>Tommy</dc:creator>
		<pubDate>Mon, 30 Aug 2010 20:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-11955</guid>
		<description>Dear Corlan,

Flash builder keep having the can&#039;t open file error with -services &quot;e:/air/projects/flex_php/services_config.xml&quot;

do you have any idea why?</description>
		<content:encoded><![CDATA[<p>Dear Corlan,</p>
<p>Flash builder keep having the can&#8217;t open file error with -services &#8220;e:/air/projects/flex_php/services_config.xml&#8221;</p>
<p>do you have any idea why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matheus</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-11834</link>
		<dc:creator>Matheus</dc:creator>
		<pubDate>Thu, 19 Aug 2010 14:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-11834</guid>
		<description>Always wonderfull.
Thanks</description>
		<content:encoded><![CDATA[<p>Always wonderfull.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jhamer</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-11662</link>
		<dc:creator>jhamer</dc:creator>
		<pubDate>Sun, 08 Aug 2010 02:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-11662</guid>
		<description>buenas noches alguien que me pueda indicar donde inscribirme para aprender mas de flex builder 3 
+ php + mysql utilizando procedures

jhamer anderson rojas silva</description>
		<content:encoded><![CDATA[<p>buenas noches alguien que me pueda indicar donde inscribirme para aprender mas de flex builder 3<br />
+ php + mysql utilizando procedures</p>
<p>jhamer anderson rojas silva</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rodolfo</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-11483</link>
		<dc:creator>rodolfo</dc:creator>
		<pubDate>Sat, 24 Jul 2010 06:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-11483</guid>
		<description>I had the error &quot;NetConnection.Call.BadVersion&quot;. The solution is checking spaces after the end of the PHP script, after &quot;?&gt;&quot;. Erasing the spaces passed OK. It must check it the spaces before and after &quot;&lt;?php&quot; too.</description>
		<content:encoded><![CDATA[<p>I had the error &#8220;NetConnection.Call.BadVersion&#8221;. The solution is checking spaces after the end of the PHP script, after &#8220;?&gt;&#8221;. Erasing the spaces passed OK. It must check it the spaces before and after &#8220;&lt;?php&quot; too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Polish Adobe Flex User Group &#187; Blog Archive &#187; Testowa konfiguracja Zend AMF w kilku krokach</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-11412</link>
		<dc:creator>Polish Adobe Flex User Group &#187; Blog Archive &#187; Testowa konfiguracja Zend AMF w kilku krokach</dc:creator>
		<pubDate>Mon, 19 Jul 2010 14:12:34 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-11412</guid>
		<description>[...] http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/" rel="nofollow">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: linda</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-11035</link>
		<dc:creator>linda</dc:creator>
		<pubDate>Tue, 15 Jun 2010 06:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-11035</guid>
		<description>it was ok...</description>
		<content:encoded><![CDATA[<p>it was ok&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-10954</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Thu, 10 Jun 2010 05:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-10954</guid>
		<description>@Philippe Macedo

Try to debug the code when it gets called from the Flex side. This will be the fastest way to find what&#039;s wrong. Basically this error appears when a variable is NULL and some code calls methods on this variable. You can read about debugging: http://corlan.org/debugging-flex-and-php/</description>
		<content:encoded><![CDATA[<p>@Philippe Macedo</p>
<p>Try to debug the code when it gets called from the Flex side. This will be the fastest way to find what&#8217;s wrong. Basically this error appears when a variable is NULL and some code calls methods on this variable. You can read about debugging: <a href="http://corlan.org/debugging-flex-and-php/" rel="nofollow">http://corlan.org/debugging-flex-and-php/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe Macedo</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-10948</link>
		<dc:creator>Philippe Macedo</dc:creator>
		<pubDate>Wed, 09 Jun 2010 18:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-10948</guid>
		<description>Hi Mihai, i found this error in my raw view in flash builder:

&lt;b&gt;Fatal error&lt;/b&gt;:  Call to a member function getInvokeArguments() on a non-object in &lt;b&gt;C:\wamp\www\testeAGT\ZendFramework\library\Zend\Amf\Server.php&lt;/b&gt; on line &lt;b&gt;328&lt;/b&gt;

I don&#039;t understand this error. I have build my own services, with data typed objects. When i try this in php it works just fine as it return an array of valueObjects.

Thank&#039;s in advance

Philippe</description>
		<content:encoded><![CDATA[<p>Hi Mihai, i found this error in my raw view in flash builder:</p>
<p><b>Fatal error</b>:  Call to a member function getInvokeArguments() on a non-object in <b>C:\wamp\www\testeAGT\ZendFramework\library\Zend\Amf\Server.php</b> on line <b>328</b></p>
<p>I don&#8217;t understand this error. I have build my own services, with data typed objects. When i try this in php it works just fine as it return an array of valueObjects.</p>
<p>Thank&#8217;s in advance</p>
<p>Philippe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex and PHP webinar goodies : Mihai CORLAN</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-10932</link>
		<dc:creator>Flex and PHP webinar goodies : Mihai CORLAN</dc:creator>
		<pubDate>Tue, 08 Jun 2010 07:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-10932</guid>
		<description>[...] about remoting and AMF using Zend Framework or AMFPHP here are two articles I wrote awhile ago: Zend Framework and [...]</description>
		<content:encoded><![CDATA[<p>[...] about remoting and AMF using Zend Framework or AMFPHP here are two articles I wrote awhile ago: Zend Framework and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomasz Lisiewicz</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-10703</link>
		<dc:creator>Tomasz Lisiewicz</dc:creator>
		<pubDate>Mon, 24 May 2010 15:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-10703</guid>
		<description>Thank You for the tutorial and thanx for resolving problem with Channel Disconnected. Your&#039;ve really saved my time!</description>
		<content:encoded><![CDATA[<p>Thank You for the tutorial and thanx for resolving problem with Channel Disconnected. Your&#8217;ve really saved my time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex Remoting with ZendAMF/MySQL &#8211; An Introduction Tutorial : : Jonathan Paek</title>
		<link>http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/comment-page-4/#comment-10328</link>
		<dc:creator>Flex Remoting with ZendAMF/MySQL &#8211; An Introduction Tutorial : : Jonathan Paek</dc:creator>
		<pubDate>Tue, 04 May 2010 10:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/#comment-10328</guid>
		<description>[...] This tutorial will help you get started on your first Flex application (a very simple one) using ZendAMF to connect to your MySQL database. I ran into a few wrong turns following some examples on the web, so I&#8217;ve decided to provide a few more details where people might run into trouble. The best example I could find is by Mihai Corlan (giving many thanks for his help and all he has given back to the community) where my article will closely resemble his article. [...]</description>
		<content:encoded><![CDATA[<p>[...] This tutorial will help you get started on your first Flex application (a very simple one) using ZendAMF to connect to your MySQL database. I ran into a few wrong turns following some examples on the web, so I&#8217;ve decided to provide a few more details where people might run into trouble. The best example I could find is by Mihai Corlan (giving many thanks for his help and all he has given back to the community) where my article will closely resemble his article. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

