[AS2] LoadVars problem

At work I am working on a banner where you can input your email address and it gets collected on our back end. Everything is working fine and the leads get submitted when I test locally. But when I test on a server the functionality works but the email address does not get submitted.

Can someone take a look at my code and let me know if they see something strange. I have traced out the scriptURL and everything is tracing back correctly. Like I said above not sure why it works locally but not on the server.

Thanks


mc_submit.[COLOR=#000087]onRelease[/COLOR] = [COLOR=#000087]function[/COLOR]():Void
{
        tRef.sendMsg(label_txt.[COLOR=#000087]text[/COLOR]);
}

[COLOR=#000087]function[/COLOR] sendMsg(emailInfo:[COLOR=#000087]String[/COLOR]):Void
{
        [COLOR=#000087]var[/COLOR] PATH:[COLOR=#000087]String[/COLOR] = "[COLOR=blue]https://TEST.com/flash/Submit.aspx?[/COLOR]";
        [COLOR=#000087]var[/COLOR] OFFER:[COLOR=#000087]String[/COLOR] = "[COLOR=blue]u_DomID=8&ID=100[/COLOR]";
        [COLOR=#000087]var[/COLOR] ADV:[COLOR=#000087]String[/COLOR] = "[COLOR=blue]&PID=2G0F&ref=fox[/COLOR]";
        [COLOR=#000087]var[/COLOR] OFFER_DESC:[COLOR=#000087]String[/COLOR] = "[COLOR=blue]&bl=09-offers-email-AS[/COLOR]";
        [COLOR=#000087]var[/COLOR] EMAIL:[COLOR=#000087]String[/COLOR] = "[COLOR=blue]&q_Eml=[/COLOR]" + [COLOR=#000087]escape[/COLOR](emailInfo);
        [COLOR=#000087]var[/COLOR] TIME:[COLOR=#000087]String[/COLOR] = "[COLOR=blue]&q_LdTime=[/COLOR]" + [COLOR=#000087]escape[/COLOR](timeStamp);
        [COLOR=#000087]var[/COLOR] IP:[COLOR=#000087]String[/COLOR] = "[COLOR=blue]&ClientIP=1.0.0.1[/COLOR]";
        
        [COLOR=#000087]var[/COLOR] scriptURL:[COLOR=#000087]String[/COLOR] = PATH + OFFER + ADV + OFFER_DESC + EMAIL + TIME + IP;
        
        [COLOR=#000087]var[/COLOR] msg:LoadVars = [COLOR=#000087]new[/COLOR] LoadVars();
        [COLOR=#000087]var[/COLOR] msgSent:LoadVars = [COLOR=#000087]new[/COLOR] LoadVars();
        
        msgSent.[COLOR=#000087]onLoad[/COLOR] = [COLOR=#000087]function[/COLOR](success:[COLOR=#000087]Boolean[/COLOR]):Void
        {
                [COLOR=#000087]if[/COLOR](success)
                {
                        [COLOR=#000087]trace[/COLOR]("[COLOR=blue]Msg has been sent[/COLOR]");
                }
                [COLOR=#000087]else[/COLOR]
                {
                        [COLOR=#000087]trace[/COLOR]("[COLOR=blue]Error loading file[/COLOR]");
                }
        }
        msg.[COLOR=#000087]sendAndLoad[/COLOR](scriptURL, msgSent, "[COLOR=blue]POST[/COLOR]");
}