Salut,
[PHP a titre indicatif]
$nom = $_POST['nom'];
$email = $_POST['email'];
$ville = $_POST['ville'];
// traite le reste
[actionscript 2.0 a titre indicatif]
var php:LoadVars = new LoadVars();
php.nom = textfield_nom.text;
php.email = textfield_email.text;
php.ville = textfield_ville.text;
php.sendAndLoad("http://monsiteweb.com/php/monscript.php",php,"POST");
[actionscript 3.0 a titre indicatif]
var urlloader:URLLoader = new URLLoader;
var request = new URLRequest("http://monsiteweb.com/php/monscript.php");
var variables:URLVariables = new URLVariables;
variables.nom = textfield_nom.text;
variables.email = textfield_email.text;
variables.ville = textfield_ville.text;
request.data = variables;
try {urlloader.load(request);} catch(error:Error){trace(error);}
bonne continuation
[ Lien ]
je suis heureux de faire partie d'une grande famille ...!