loadVars() and cgi script?

Hello,
i’ve searched the whole forum about cgi treats but i didn’t find an answer…
Here’s what i’m trying to do: send some data from flash to a cgi script using loadVars(). So far i have:


BTsend.onPress = function() {
	myaddy = addy.text
	if (!myaddy.length || myaddy.indexOf("@") == -1 || myaddy.indexOf(".") == -1) {
		myData = new LoadVars();
		myData.courriel = myaddy;
		myData.send("http://www.ilparleaveclesloups.com/cgi-bin/liste.pl", myData, "POST");
		this._parent._visible = false;
		_root.listeauto = "done";
	}
};

It’s a small script that sends an email to some admin so he verifies and adds someone’s email adress (myaddy). It doesn’t seem to work… So is this the correct way or even is it possible to send with a loadvars to a cgi script??

TiA :slight_smile: