Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

formmail????

Status
Not open for further replies.

f1kart

Technical User
Dec 2, 2001
14
US
My web host has a system that does formail for me and said to put this in my submit button
To use Formmail, you need to create a form on one of your web pages.
The form action line should be

<FORM ACTION = &quot;/cgi-sys/formmail.pl&quot; METHOD = &quot;POST&quot;>

formmail.pl will do all the programming work for you. You alter the behavior of Formmail by using hidden fields in your form.


There is only one form field that you must have in your form for FormMail to work correctly. This is the recipient field.

Field: recipient

Description: This form field allows you to specify to whom you wish for your form results to be mailed. Most likely you will want to configure this option as a hidden form field with a value equal to that of your e-mail address.

Syntax:

<input type=hidden name=&quot;recipient&quot; value=&quot;your_username@localnet.com&quot;>

So i put these two things at diffrent times on my submit button in flash and i get no results what am i doing wrong??
on (release) {
subject = &quot;NEW MEMBER&quot;;
recipient = &quot;TheSimChallenge@aol.com&quot;;
loadVariablesNum (&quot; 0, &quot;POST&quot;);
gotoAndPlay (21);
}
the next try i did this

on (release) {
subject = &quot;NEW MEMBER&quot;;
recipient = &quot;TheSimChallenge@aol.com&quot;;
loadVariablesNum (&quot;/cgi-sys/formmail.pl&quot;, 0, &quot;POST&quot;);
gotoAndPlay (21);
}

thanks
 
are you testing it on thier server? they might not allow scripts out of thier domain to access that file
 
yes i am testing it on there server that is the is the way it says to do it in my control panel but its not working.
 
I have never got that piece of crap working either, just forget it - it's old and dead and unnecessary - php mail(), or an ASP equiv is much better, and less stressfull.

;-)
 
i am willing to try anything to get this to work man its so crazy. How do i go about using PHP or ASP i am using windows but my webhost is on UNIX. What i want to do is add join button to my site that sends me who joined and there info they put in on flash. And a feedback form as well. I have the forms made just dont know how to make it work on the server it works in flash.
 
Honestly it is a breeze - just depends on your hosting account having PHP enabled. Then write a send mail PHP page.

It works in exactly the same way - only it actually DOES work. Have you done much server-side programming?

;-)
 
not really this is my first experience with this and i tried it the way the control panel said it that way blows plus you have no control that really is bad. I just really know hot to make the form in flash but the actions on the submit button i guess i dont know much about. the loadvariable i put it directed to the formail.pl or formail.php in my cgi-bin folder but i get no results with either i gave up doing the control panel way. i sent my formmail.pl file to my host support and they said they found no errors but i think they didnt even look LOL. if i have no errors in my page and in my formail.pl then it should work so now i am here talking to you guys probably the best support because you guys are straight foward :)

thanks

 
They're probably right, there will be no errors, it just will not work - have you tried using getURL?

You will see that works - giving a bit of an indication there are weird things afoot.

I asked around here once before why this happens, and I got zip.

Please just use PHP - I hate to be one of those greasers, but I will write you one if you like. Assuming your account has PHP on it? Ask your hosts.

benbiddington@hotmail.com

<bb>
 

...I asked around here once before why this happens, and I got zip...

I could give you many clues as to WHY!

But you're so charming... You probably already figured it out!

Regards,
wink4.gif
ldnewbie
 
I noticed the strange thing with the form in Flash. When you submit it, it does not send the environmental variable $HTTP_REFERER.

If your host uses the security check that the script called from the same server, that it is done via checking the $HTTP_REFERR and it comes from a flash form as empty.

I just noticed this thing and try to find solution, because such security check is very useful, and still I wish to use the form in Flash.
 
I found the only thing that works good with flash is PHP in my opinon its the only way to go. It was EXTREMELY easy to do and install and configure for my site. plus you can get generic PHP file for form mail tons of places on the net. I personaly got mine from a VERY nice programmer out of New Zealand. He wrote the file for me! Although after learning it i found that i could have used any generic and it would have worked fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top