# Collecting Information!

**URL:** <https://forum.kirupa.com/t/collecting-information/12794>\
**Category:** flash\
**Created:** [February 4, 2003, 9:22pm UTC](https://forum.kirupa.com/t/collecting-information/12794 "2003-02-04T21:22:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigPimpin](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@BigPimpin](https://forum.kirupa.com/u/BigPimpin)\
**Post date:** [February 4, 2003, 9:22pm UTC](https://forum.kirupa.com/t/collecting-information/12794/1 "2003-02-04T21:22:57Z")

</div>

I need some advice from an experience developer.

I need to create a form whereby people enter there name, number and email address and then press a submit button.

I need this information stored on a database where I can access it at a later date or sent as an e-mail every time the buton is pressed.

The information will eventually be used to send out E-mails to members.

Im quite new to this flash game but as far as i know the first option is rather tricky.

Can anyone help me please???  
☹

---

<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:** [February 5, 2003, 12:46am UTC](https://forum.kirupa.com/t/collecting-information/12794/2 "2003-02-05T00:46:28Z")

</div>

I’d like to know the answer too :crazy:

---

<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:** [February 5, 2003, 12:54am UTC](https://forum.kirupa.com/t/collecting-information/12794/3 "2003-02-05T00:54:23Z")

</div>

Well…

First off… To be able to do this you need to have acces to a PHP-enabled web host… Flash cna not directly make connections to databases and therefore needs php to send out data… If you have one of these…

GO take a look in the Flash MX or FLash Action sections of the tutorial listing here at [Kirupa.com](http://Kirupa.com)… It should have someting about mySQL and Flash and php… Read up about that…

Me personally… I wouldn’t even bother making a database for something like that… I would use a text file and manage it from there… But that’s just me… And I love me textFiles…

_lol_

Basically you would then take text inputted in and add it on to the end of a qury string and send it to the php page…

[http://www.phpsampler.com/processData.php?name=Marz&](http://www.phpsampler.com/processData.php?name=Marz&) [number=576849&email=mentalconcepts@hotmail.com](mailto:number=576849&email=mentalconcepts@hotmail.com)

Don’t click this… it won’t give you anything… _lmao_

---

<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:** [February 5, 2003, 1:12am UTC](https://forum.kirupa.com/t/collecting-information/12794/4 "2003-02-05T01:12:10Z")

</div>

playamarz, do you have a tut for doing it your .TXT way then?  
I’d like to see it if you do have one.

I have this one that collects the data and dumps it into an html file on my server. I want to be able to access it via a web browser and not ftp.

I have [this one](http://www.bluprint.com/post/form.html) that collects the data and dumps it into an html file on my server.

I want to be able to access it via a web browser and not ftp.

---

<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:** [February 5, 2003, 1:19am UTC](https://forum.kirupa.com/t/collecting-information/12794/5 "2003-02-05T01:19:49Z")

</div>

Well… I don’t have any tut’s… I just kind-a explain myself roughly through these dang posts until my site gets completely done… Which will probably be never _lmao_… But anyways…

I just send data through Flash MX to PHP or just Use PHP alone… When the php collects the data… It appends the data like such in the text file… (believe I had 3 people in this already)

```auto

Marz
758695
[email]mentalconcepts@hotmail.com[/email]
Marz2
483372
[email]mentalconcepts@comcast.net[/email]
MarzFriend
857336
[email]marzfriend@comcast.net[/email]

```

That’s basically how I’d put this together in the text file…

Then in my php page I would load the textfile in and with a for loop… I’d load each data object in 3 array objects… name[], number[], email[]. Now… The only time that you would call this though… Is if you sent out the demand in the FLash MX page of yours… Just send out three demands to loadVariables… And then you just change around the data objects inside of the Flash page…

Oh wow… Is that enough stuff for you?!  
_lol_… it’s a pain I know… If you relly want me to give you code examples from the Flash MX or PHP Scripting sides of these I can… But you’ll have to give me a night or two…

PEace

---

<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:** [February 5, 2003, 1:29am UTC](https://forum.kirupa.com/t/collecting-information/12794/6 "2003-02-05T01:29:43Z")

</div>

Thanx man. Yeah I would like to know more if possible. 🙂

You can post it here or mail me.

Thanx again man

---

<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:** [February 5, 2003, 10:31pm UTC](https://forum.kirupa.com/t/collecting-information/12794/7 "2003-02-05T22:31:14Z")

</div>

YEah… I’ll get around to it tomorrow night… I’m going to bed now… Been sniffing around paint fumes and paint thinner all day… Phew… I’ve got a headache… But anyways… Yeha I’ll work with you tomorrow night… I’ve got it figured out in my head better to explain it as well.

Peace

---

<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:** [February 5, 2003, 10:34pm UTC](https://forum.kirupa.com/t/collecting-information/12794/8 "2003-02-05T22:34:01Z")

</div>

nice one.

Thanx man

---

<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:** [February 8, 2003, 6:48am UTC](https://forum.kirupa.com/t/collecting-information/12794/9 "2003-02-08T06:48:49Z")

</div>

_yawwwwn_…

Man… i forgot I had this still… You guys gotta keep up with me and keep telling me about these… I’d do it now But I think I’m crashing soon _lmao_
