Code Mon Flex est incapable d'atteindre le PHP, mais quand je le fais normalement il fonctionne commeHttpService Aide
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>