I try to run example from : http://www.adobe.com/devnet/flex/articles/php_getstarted.html in my apache2.2 that have installed with php and flex module.
.mxml file : <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#f6f6f6" backgroundGradientColors="[#f6f6f6, #bbbbbb]"> <mx:Label x="10" y="10" text="Submit form using get method" fontSize="20" fontWeight="bold"/> <mx:HRule x="10" y="49" width="80%"/> <mx:HTTPService id="form1" url="show.php" method="GET" resultFormat="text" result="{textarea1.text = String(event.result)}"> <mx:request> <username>{username.text}</username> </mx:request> </mx:HTTPService> <mx:TextInput id="username" x="10" y="71"/> <mx:Button x="178" y="71" label="Submit" click="form1.send()"/> <mx:Label x="10" y="101" text="Result"/> <mx:TextArea x="10" y="118" width="234" height="188" id="textarea1"/> </mx:Application> And show.php file : <?php // send a response back to the client print "You submitted the following form information:\n"; foreach ($_REQUEST as $k =?> $v) { print " $k = $v\n"; } ?> And error : [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: show.php?username=Halo"]. URL: show.php"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHan dler() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at ::DirectHTTPMessageResponder/errorHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFun ction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() Please help to solve this..