# Php/flash email form

**URL:** <https://forum.kirupa.com/t/php-flash-email-form/98409>\
**Category:** Uncategorized\
**Created:** [January 6, 2004, 11:54pm UTC](https://forum.kirupa.com/t/php-flash-email-form/98409 "2004-01-06T23:54:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thoughtsone](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/thoughtsone/32/403_2.png) [@thoughtsone](https://forum.kirupa.com/u/thoughtsone)\
**Post date:** [January 6, 2004, 11:54pm UTC](https://forum.kirupa.com/t/php-flash-email-form/98409/1 "2004-01-06T23:54:17Z")

</div>

Using the tutorial about how to set up a form in flash using php to email the contents has led me to a snag. Everything works great, including the sending of email, except the onClipEvent(data) event handler. This is used on the form\_mc just like the tutorial explains, and when it is executed, flash is supposed to go to the next frame –

onClipEvent(data){nextframe();}

but this doesnt happen. flash just keeps trying to load something. i even posted the tutorial files on my server to see if they would work, but no dice.

here is the tutorial:  
[http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

and here are the files not working on my server:  
[http://www.704one.com/raf/email.swf](http://www.704one.com/raf/email.swf)

i have changed permissions on the php file – didnt work.

im thinking that i might need to use php to passs a variable back to flash after the mail() command has executed in php. but i dont know how.

any suggestions would be greatly appriciated…

thx

johnb
