sendAndLoad to PHP load problem

I’ve been working on this for a while. I have used loadVariables before but not sendAndLoad.

Here is my Action script.

----------------------------------------------------------------------AS-------------------------------------------------------------------

 function onSubmit() {
     formData = new LoadVars();

     formData.email2 = "";
     formData.confirmEmail = "";

     formData.email2 = email2.text;
     formData.confirmEmail = confirmEmail.text;

     replyData = new LoadVars();
     replyData.onLoad = function(){
     if (this.sent == 1) {
     this._parent.gotoAndStop(28);}
     };

     formData.sendAndLoad("[http://x/email.php",](http://x/email.php) replyData, "post");}  

-----------------------------------------------------------------------email.php-------------------------------------------------------------------

<?php

import_request_variables("P","swf_");

define_syslog_variables();
openlog("SWFLog", LOG_PID | LOG_PERROR, LOG_LOCAL0);


$email2 = $swf_email2;
$confirmEmail = $swf_confirmEmail;

syslog(LOG_WARNING, "$serialized");

syslog(LOG_WARNING, "Email2 = $email2 ");
syslog(LOG_WARNING, "confirmEmail = $confirmEmail");


closelog();
echo "1
";
echo "&sent=1&";
exit(0);
?>

not sure how to return what ever it is that needs to be returned.

Thanks for your help.

Link