l = new LoadVars();
l.user = login_name;
l.company = login_company;
l.email = login_email;
l.phone = login_phone;
l.send(“flash.php”, “POST”);
Works great, but it opens the “flash.php” window.
I want the php/sql submission to happen out of view.
Is there a way to invoke the “flash.php” with out having it launch?
I’m going to put a javascript close.window command, but that seems cheesy
system
June 15, 2004, 11:25pm
2
Hmmm, you might be able to just put
l.send(“flash.php”);
POST is the default value for the field. Flash might be confusing it for the other parameter, which is the target window. Try it out? I’ll look into it more.
system
June 16, 2004, 7:58pm
4
use sendAndLoad instead,
100% garanteed
system
June 16, 2004, 8:15pm
5
Thanks, but the one’s I tried didn’t work…
1.) l.sendandload(“flash.php”, “POST”);
2.) l.sendandload(“flash.php”[POST]);
3.) l.sendandload(“flash.php”);
Which one (if any) is the right way? Thanks!
system
June 16, 2004, 8:30pm
6
hey_suburbia:
Thanks, but the one’s I tried didn’t work…
1.) l.sendandload(“flash.php”, “POST”);
2.) l.sendandload(“flash.php”[POST]);
3.) l.sendandload(“flash.php”);
Which one (if any) is the right way? Thanks!
I figured it out, in case anybody else had/has this problem:
l = new LoadVars();
l.user = login_name;
l.company = login_company;
l.email = login_email;
l.phone = login_phone;
l.sendAndLoad(“flash.php”,l,“post”);
I needed to put the targetObject “[COLOR=Red]l[/COLOR]” into the (“flash.php”,[COLOR=Red]l[/COLOR],“post”)
system
June 16, 2004, 9:17pm
7
and use proper capitalization
sendA ndL oad