Click to See Complete Forum and Search --> : Forms -


IPNRC
11-21-2003, 11:56 AM
I'm new at this javascript thing and I was hoping someone could help me with this problem. I've created a form for my website to collect information from people who choose to be on my mailing list. Below, is the code that I'm using, but when I test it, it doesn't send my data to the email I've requested it to send it to.. It just brings up the a blank message to compose.

Can someone tell me what I'm doing wrong?




<FORM metod="post" action="mailto:sruffin@eden.edu?subject=IPNRC - Mailing List" onSubmit="window.location='thank.htm'" enctype="text/plain" name="addform" method="POST">
<input type="hidden" name="Form" value="Submit Sub">
<input type="submit" value=" Submit ">
<input type="reset" value="Reset Form" onclick=resetform()>
<INPUT NAME="button" TYPE="button" onClick="window.location='index.htm'" VALUE=" Return ">
</FORM>

Phil Karras
11-21-2003, 05:48 PM
This is rather a complex answer since it has to do with your browser and mail options. Which, are things you have no control over on your client's computers.

Look at this site for some help on this:

Hints: Sending Form Results by Email (mgm)
http://www.jsworkshop.com/bb/viewtopic.php?t=28

The best bet is to post the form to a free e-mail form response site like those mentioned in the link above.

IPNRC
11-24-2003, 02:57 PM
Phil

I implement the PHP file and now when I hit send, it brings up a dialog box asking me if I want to save this file. It show the PHP file as the file name, file source is shows my file path. That's not right, so do you know why that's happening?

I basically altered what was necessary in the PHP file, I didn't change any of the necessary variables, I my my email in the receiptent field, I put in my domain down, so I'm not sure what I'm doing wrong.
:confused: :confused:

Paul Jr
11-24-2003, 07:02 PM
Do you have PHP support?

ray326
11-24-2003, 08:14 PM
Originally posted by IPNRC
Phil

I implement the PHP file and now when I hit send, it brings up a dialog box asking me if I want to save this file. It show the PHP file as the file name, file source is shows my file path. That's not right, so do you know why that's happening?

I basically altered what was necessary in the PHP file, I didn't change any of the necessary variables, I my my email in the receiptent field, I put in my domain down, so I'm not sure what I'm doing wrong.
:confused: :confused:
Your host system does not have PHP installed or PHP is not correctly configured.

Phil Karras
11-24-2003, 08:28 PM
I believe that it means the server has not given you PHP rights OR you don't have PHP support. You'll have to talk to your site provider.

IPNRC
11-25-2003, 08:04 AM
I've asked the network administrator that before and he just said that we used a Windows server 2003 platform using IIS 6.0. And since I don't know server lingo, I just assumed that meant it supported PHP. But I'll ask again, and see what he says.

Thanks for your help! This is becoming very frustrating.

Phil Karras
11-25-2003, 06:47 PM
Usually a Windows server uses things like ASP not PHP, not that it can't so yes nail them down. Find out what server-side programming they allow you to do.

Good-luck!

suzie-qs
11-26-2003, 01:07 PM
Windows Server 2003 IIS 6.0 does not support php. It has to be installed in addition to IIS 6.0 and IIS has to be configured to allow .php to be executed.