# Mail script closes flash and jumps to php page?

**URL:** <https://forum.kirupa.com/t/mail-script-closes-flash-and-jumps-to-php-page/297663>\
**Category:** flash\
**Created:** [October 6, 2009, 8:55pm UTC](https://forum.kirupa.com/t/mail-script-closes-flash-and-jumps-to-php-page/297663 "2009-10-06T20:55:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nastycut](https://avatars.discourse-cdn.com/v4/letter/n/6a8cbe/32.png) [@nastycut](https://forum.kirupa.com/u/nastycut)\
**Post date:** [October 6, 2009, 8:55pm UTC](https://forum.kirupa.com/t/mail-script-closes-flash-and-jumps-to-php-page/297663/1 "2009-10-06T20:55:01Z")

</div>

I am confused… ?? I’ve done several Flash mail scripts without problems. Now, my latest script works fine and data is sent but as soon as I hit the SEND -button browser jumps from ([www.mydomain.com](http://www.mydomain.com)) to ([www.mydomain.com/email.php](http://www.mydomain.com/email.php)) showing blank page with php echoed “OK” on it. Normally, all the php action is hidden and I can still keep using flash-page after submitting forms. For some reason, now I am redirected to php page after submitting the form. Very annoying :sad2:

here’s the AS sender line:

submitter.send(“email.php”, “” , “post”);

Before, I’ve used sendandLoad. Can this be the problem??
