My Flex code is unable to reach the PHP, but when i do normally it works like
http://localhost/search/populate.php?urlWeb=http://www.google.com
$url = addslashes( $_GET['urlWeb'] );
if( !$url )
{
die( "You need to define a URL to process." );
}
else if( substr($url,0,7) != "http://" )
{
$url = "http://$url";
$output = "<loginsuccess>";
$output .="yes";
$output .= "</loginsuccess>";
print($output);
}
<mx:HTTPService id="addWeb" resultFormat="object" result="Added(event)" showBusyCursor="true" method="GET" url="http://localhost/search/populate.php" useProxy="false">
<mx:request xmlns="">
<urlWeb>
{urlWeb.text}
</urlWeb>
</mx:request>
</mx:HTTPService>