# Using components

**URL:** <https://forum.kirupa.com/t/using-components/4526>\
**Category:** flash\
**Created:** [August 12, 2002, 8:07pm UTC](https://forum.kirupa.com/t/using-components/4526 "2002-08-12T20:07:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimw00d](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jimw00d](https://forum.kirupa.com/u/jimw00d)\
**Post date:** [August 12, 2002, 8:07pm UTC](https://forum.kirupa.com/t/using-components/4526/1 "2002-08-12T20:07:25Z")

</div>

I have completed the components tutorial and I am still in the deepest of darkness.

What I need for a website is a form with:

Name  
Dates to and from (accomodation website-you got it)  
Email

Submit button, which when pressed send the info to an email address.

If there is anyone out there that can help explain this to a monkey then feel free.

Another idea would be to publish an excel work sheet on the site with the current bookings, which is then automatically updated each time the excel file is updated.

Bugger, I feel so useless.

---

<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:** [August 13, 2002, 2:38am UTC](https://forum.kirupa.com/t/using-components/4526/2 "2002-08-13T02:38:49Z")

</div>

Hey there, don’t fret. Dig a little and you’ll get it going.

Ultimate solution?

Flash and PHP, trust me! A little frustrating at first, because you probably don’t know PHP… but, if you know a little a/s, then PHP will come to you. If you don’t, then learn one or the other, as they are pretty similar.

The premise:

gather your variables in your input boxes  
when you press your button, the values of those variables (Name, datefrom,dateto, email) will be sent to the PHP page by using either loadvariables, or LoadVar()

then, you tell PHP to submit mail using the variables provided by Flash.

BTW, Im not the PHP king. I had a need, and had to start learning. Still in the process.

PHP is free, btw… [www.php.net](http://www.php.net)

---

<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:** [August 13, 2002, 9:55am UTC](https://forum.kirupa.com/t/using-components/4526/3 "2002-08-13T09:55:27Z")

</div>

there is a tutorial on [actionscript.org](http://actionscript.org) for a email form u can edi it to your requirments an they sho how to edit the actionscript

make sure your server can take php sum cant geocities etc

-Tom

---

<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:** [August 13, 2002, 12:40pm UTC](https://forum.kirupa.com/t/using-components/4526/4 "2002-08-13T12:40:08Z")

</div>

I’d have to agree with the other guys - PHP is the way to go. I’ve used it a bit in the past and it’s quite versatile once you get the hang of it.

Have a look at [PHP.net](http://www.php.net) for some tutorials and helpful stuff.

---

<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:** [August 13, 2002, 4:09pm UTC](https://forum.kirupa.com/t/using-components/4526/5 "2002-08-13T16:09:32Z")

</div>

If one were thinking of learning either PHP or ASP, is there a big difference one way or another?

---

<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:** [August 14, 2002, 12:09am UTC](https://forum.kirupa.com/t/using-components/4526/6 "2002-08-14T00:09:41Z")

</div>

PHP is so much easier than ASP, and it seems to behave better. The other thing is that PHP and Actionscript are very similar. If you know your way around the a/s, you will quickly pick up on PHP.

---

<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:** [August 14, 2002, 1:51am UTC](https://forum.kirupa.com/t/using-components/4526/7 "2002-08-14T01:51:18Z")

</div>

Well, you’ve sold me 🙂 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:** [August 14, 2002, 6:06am UTC](https://forum.kirupa.com/t/using-components/4526/8 "2002-08-14T06:06:18Z")

</div>

PHP ~ C language -\> clean and easy, lots of functions  
ASP ~ Virtual Basic -\> strange syntax, no ; , no functions…

Go for PHP, it’s 100 times better.

pom :asian:

---

<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:** [August 14, 2002, 2:19pm UTC](https://forum.kirupa.com/t/using-components/4526/9 "2002-08-14T14:19:49Z")

</div>

So many fun things to learn and so little time. I gotta get crankin’ 🙂
