# Send("flash.php", "POST")

**URL:** <https://forum.kirupa.com/t/send-flash-php-post/113203>\
**Category:** Uncategorized\
**Created:** [June 15, 2004, 9:27pm UTC](https://forum.kirupa.com/t/send-flash-php-post/113203 "2004-06-15T21:27:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hey\_suburbia](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@hey\_suburbia](https://forum.kirupa.com/u/hey_suburbia)\
**Post date:** [June 15, 2004, 9:27pm UTC](https://forum.kirupa.com/t/send-flash-php-post/113203/1 "2004-06-15T21:27:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 15, 2004, 11:25pm UTC](https://forum.kirupa.com/t/send-flash-php-post/113203/2 "2004-06-15T23:25:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2004, 7:11pm UTC](https://forum.kirupa.com/t/send-flash-php-post/113203/3 "2004-06-16T19:11:30Z")

</div>

> [@Disco-Stu](#):
>
> 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.

Didn’t work.

Any other thoughts?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2004, 7:58pm UTC](https://forum.kirupa.com/t/send-flash-php-post/113203/4 "2004-06-16T19:58:30Z")

</div>

use sendAndLoad instead,  
100% garanteed 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2004, 8:15pm UTC](https://forum.kirupa.com/t/send-flash-php-post/113203/5 "2004-06-16T20:15:07Z")

</div>

> [@eyezberg](#):
>
> use sendAndLoad instead,  
> 100% garanteed 😉

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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2004, 8:30pm UTC](https://forum.kirupa.com/t/send-flash-php-post/113203/6 "2004-06-16T20:30:50Z")

</div>

> [@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”)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2004, 9:17pm UTC](https://forum.kirupa.com/t/send-flash-php-post/113203/7 "2004-06-16T21:17:27Z")

</div>

and use proper capitalization 🙂  
send **A** nd **L** oad
