OZONE Asylum
Forums
Multimedia/Animation
simple php/flash question (I hope)
This page's ID:
22303
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
hi- Been trying to expand my php skills, and I'm having a problem with php and flash. I've setup a simple script in flash using loadVars that submits the contents of a textfield to a php script that then emails me the results. The problem is that it keeps popping up a new browser window when I hit the "send" button. Here's the actionscript: sender = new LoadVars(); send.onPress = function() { sender.message = _root.info.text; sender.send("email.php", "sender", "POST"); }; I am running the swf from the server through a browser. Here's the basic php script: <?php mail('me@you.net','message from me@you.net',$_POST['message'],'from: you.net'); ?> Is there a problem with the actionscript or the php? Any help is appreciated - thanks [small](Edited by [internallink=22302]fubbs[/internallink] on 06-24-2004 08:28)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »