Calling php script and immediately finish it

When I call php script from action script e.g. to send a mail …

on (release) {
var_mail = new loadVars();
var_mail.name = _root.mail_meno;
var_mail.email = _root.mail_email;
var_mail.text = _root.mail_text;
var_mail.send (“sendmail.php”, “POST”);
}

I don’t need opened window (with php script). I just want to send a mail without any visualisation of new window. How can I do it ?

Thans for you help.

send(url,windows,variables);
url:no explanation required. eg:sendmail.php in your case
windows:
_self=opens the new url in the current window;
_blank=opens the new url in a new window;

variables:
GET=appends variables to the URL
POST=sends variables in a separate HTTP header.

So, change your send to:
send.(“sendmail.php”,_self,“POST”);

_self

or

“_self”

the new windows appear …