# Php script for mail form

**URL:** <https://forum.kirupa.com/t/php-script-for-mail-form/223356>\
**Category:** Uncategorized\
**Created:** [April 21, 2007, 6:52pm UTC](https://forum.kirupa.com/t/php-script-for-mail-form/223356 "2007-04-21T18:52:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xFlashStudentx](https://avatars.discourse-cdn.com/v4/letter/x/57b2e6/32.png) [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Post date:** [April 21, 2007, 6:52pm UTC](https://forum.kirupa.com/t/php-script-for-mail-form/223356/1 "2007-04-21T18:52:12Z")

</div>

The PHP form I downloaded from this site ( [http://www.flash-db.com/Tutorials/email/Email.php?page=2](http://www.flash-db.com/Tutorials/email/Email.php?page=2) ) works great for me except one problem:

After the mail is sent, a new browSer window opens with this message"

mail sent - we will be in touch with you shortly&

However, I don’t want that to happen. To be sure, I don’t want php to do anything else after the mail I sent; I’ll do that on the Flash end…

So, how can I edit the php script to have it not open any new browser window and not do anything else but send the variables…thank you…
