-
funky see, funky do...
php-browser problem
Hello everyone,
the php page I created to send my mailform does open a new browser every time the mail is send!! I use the flash mx loadvars.send command. Does anybody know why php does this? Even if you don't give an output it a new window, a blank one.
thanx in advance
evert-jan
Make it idiot-proof and they will make a better idiot.
-
Hi,
try the send-and-load instead of the send-only flavor of loadvars
Musicman
-
funky see, funky do...
Hi musicman
tried that,but then it won't do anything at all. Dont know why...
this my code
Code:
//start the output to the php page->
sendVars = new LoadVars();
sendVars.name = name;
sendVars.sendConfirm = sendConfirm;
sendVars.email = email;
sendVars.subject = subject;
sendVars.text = text;
trace(sendVars.toString());
debug = sendVars;
sendVars.sendAndLoad"http://funkalot/mail.php", , "POST");
what am i doing wrong?
evert-jan
Make it idiot-proof and they will make a better idiot.
-
Moonlight shadow
Change
sendVars.sendAndLoad"http://funkalot/mail.php", , "POST");
to
sendVars.sendAndLoad"http://funkalot/mail.php", "_self", "POST");
note the "_self"
TE
-
funky see, funky do...
thanks asheep_uk, but it still sends no messages at all...
evert-jan
Make it idiot-proof and they will make a better idiot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|