# Mail by PHP or other simple method

**URL:** <https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881>\
**Category:** Uncategorized\
**Created:** [June 10, 2003, 3:16am UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881 "2003-06-10T03:16:20Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![alphaville](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@alphaville](https://forum.kirupa.com/u/alphaville)\
**Post date:** [June 10, 2003, 3:16am UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/1 "2003-06-10T03:16:20Z")

</div>

I have tried a lot about the tutorials but I couldn’t manage a working feedback form sending text to my e-mail address. I am sorry I have a lack of knowledge and I am new with Flash and scripting.

a) Can I use this PHP feedback form to send a mail my hotmail or yahoo account ? Do they support it?

b) actually I can accept to send the feedback into any file in a server account, it doesn’t has to go to my e-mail. So do you know any other simple method for creating feedback form other than PHP.

I know this is a very common problem and asked a lot before but although I spent a lot of effort with different tutorials and examples I couldn’t manage it.

Thank you very much.

---

<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 10, 2003, 3:19am UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/2 "2003-06-10T03:19:46Z")

</div>

In order to get the form to send information to your email, you’ll need a server side script like PHP or ASP and the server that hosts your site must support these server side scripts.

---

<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 10, 2003, 3:32am UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/3 "2003-06-10T03:32:10Z")

</div>

Thank for the answer. I got those files from different tuttorials , i added my e-mail address to the PHP file but I could not manage to make it work.

What I want to learn is actually,

Can I send the feedback message to a particular file in my domain (it can be \*.txt file) and save it there? IF it is possible, I can check that file in my domain and I can see what people sent. I hope there must be a this kind of easy way. And it can solve my problem for now. I have a very little knowledge with actions so can you help me about how I can figure out this idea.

Thank you.

---

<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 10, 2003, 5:32am UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/4 "2003-06-10T05:32:57Z")

</div>

I had to edit this because I found a better tut for you. They are both done by Jubba in a different board:  
[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604&highlight=PHP](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604&highlight=PHP)  
This one is for emailing in HTML:  
[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17313&highlight=PHP](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17313&highlight=PHP)

I also have found a bunch of scripts on the net that have taught me to have PHP write to a txt file. There are a bunch of tutorial links if you go to [kirupaforums.com](http://kirupaforums.com) and select server-side/scripting.

However - As Electrongeek stated: None of this will work if your server doesn’t support PHP or CGI or ASP etc. The best way to find out is you usally have to pay extra for it - I know I did, maybe I got screwed - either way, it’s a big selling point for server space.

---

<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 10, 2003, 4:30pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/5 "2003-06-10T16:30:02Z")

</div>

Thank you for the tutorilals, last night I spent several hours to try every method Flash-PHP , HTML-PHP etc. but still i have no solution…

Simply, what I want to solve is:

If I have a input text and a botton , which action script help me to send the text written in input box to a specific\*.txt file.

I am working on my own site, I can check the text file in my domain anytime so it is not a big problem for me not to send to e-mail.

Please help.

Thank you.

---

<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 10, 2003, 5:08pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/6 "2003-06-10T17:08:42Z")

</div>

Sending the information to a txt file will still require the use of PHP or ASP.

---

<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 10, 2003, 5:12pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/7 "2003-06-10T17:12:17Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=10150&highlight=write+to+text+file](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=10150&highlight=write+to+text+file)

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24666&perpage=15&pagenumber=2](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24666&perpage=15&pagenumber=2)

---

<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 10, 2003, 6:07pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/8 "2003-06-10T18:07:06Z")

</div>

Thanks Electrongeek and Jubba,

Jubba, I checked the forum address that you advice me. I downloaded usernameaddress.zip file that H88 uploaded. I guessed from your discussion that the file doesn’t work properly and there are several things need to change in the script. When I click the submit button the member.php file is coming up and the member.txt file is still empty.

You are also talking about making txt file 777. I have no idea about that. I guessed it is something about FTP stuff. So I download a FTP software (WS\_FTP LE 5.08 from [download.com](http://download.com)) installed it and checked generally but I couldn’t find any clue.

I am really trying every possibility that I can do with my limited knowledge. Please help.

---

<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 10, 2003, 6:10pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/9 "2003-06-10T18:10:09Z")

</div>

yeah, you need to CHMOD the file.

here is a discussion on CHMODing files…

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24297&highlight=chmod](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24297&highlight=chmod)

Basically you have to set the permissions to allow someone to write to it. Most FTP programs have a CHMOD ability.

---

<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 10, 2003, 6:10pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/10 "2003-06-10T18:10:52Z")

</div>

oh, and the files probabyl won’t work locally, unless you have apache and php installed on your system…

---

<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 10, 2003, 6:14pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/11 "2003-06-10T18:14:32Z")

</div>

Sorry, how can I install 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:** [June 10, 2003, 6:19pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/12 "2003-06-10T18:19:48Z")

</div>

[http://prdownloads.sourceforge.net/phptriad/](http://prdownloads.sourceforge.net/phptriad/)

Quick Explanation:

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=10473&highlight=phptraid](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=10473&highlight=phptraid)

---

<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 10, 2003, 7:19pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/13 "2003-06-10T19:19:50Z")

</div>

I didn’t scroll down to see everything here, but, I did find a pretty good tut to write and read from a txt file:

[http://www.webclass.ru/eng/Tutorials/PHP/File\_based\_guestbook.html](http://www.webclass.ru/eng/Tutorials/PHP/File_based_guestbook.html)

I’m also putting it here so I can get it when I get home  
(-:

---

<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 10, 2003, 9:14pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/14 "2003-06-10T21:14:12Z")

</div>

Probably there is no PHP support at my site at university server. I upload a php file that Jubba sent it to forum before. It was a test file that show how we can transfer the text from php file to the flash. I upload the php in to my domain but It doesn’t work.

I don’t want to give up but I started to feel, what I want is needing me to have more knowledge.

I found one example to send a feedback by HTML but it asks a pasword of sender’s mail account. And I found one free service that help me to put a feedback form into my site. It works by HTML but their ready form has a unpleasant advertisements.

I can accept to use HTML for feedback form if I can not manage it in flash but I guess I should still use PHP?

Sorry for bothering a lot with my little knowledge.

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 10, 2003, 9:32pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/15 "2003-06-10T21:32:11Z")

</div>

I doubt your university server has PHP installed. Most servers that you find cost about $8 a month and support PHP. I use [powweb.com](http://powweb.com), for instance.

Don’t worry about asking questions, a month and a half ago, I didn’t know what PHP was. Now I can use it for counters, guestbooks, login forms, forms to email myself and I’m only at the tip of the iceberg, you know??

Until I update everything, I have been using other people’s services for guestbooks, etc. [Sparklit.com](http://Sparklit.com) is a good example. They basically use PHP and attach the form that posts to ithe PHP to your HTML file, then add advertising banners so they make money.

So, your next step is to decide to get server space that supports PHP and learn it, or go with the HTML version from a third party. Good luck with whichever road you choose!

---

<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 10, 2003, 11:13pm UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/16 "2003-06-10T23:13:55Z")

</div>

Thank you very much for your help and encourage. I will try one of the ways that you advised me.

---

<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 11, 2003, 10:44am UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/17 "2003-06-11T10:44:54Z")

</div>

Hi again,

Last night, at the end I managed to send an e-mail by using ASP script. 🙂 I am quite happy that my server supports ASP.

Right now, what I want to know how can I use ASP and FLASH together. I checked previous messages in the forum, i coudn’t find a clear example and explanation. I want a link from flash to asp mailform and I want it open in a already sized and centered window like flash. How can I built connection between Asp mailform and flash?

Could you help me about it?

Thank you.

---

<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 11, 2003, 10:46am UTC](https://forum.kirupa.com/t/mail-by-php-or-other-simple-method/22881/18 "2003-06-11T10:46:31Z")

</div>

Actually, I can prefer to put Asp mailform directly to the Flash screen instead a popup window. Is it possible?
