/    Sign up×
Community /Pin to ProfileBookmark

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:[email protected]?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>

to post a comment
JavaScript

8 Comments(s)

Copy linkTweet thisAlerts:
@Phil_KarrasNov 21.2003 — 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:

[b][i] Hints: Sending Form Results by Email (mgm) [/i][/b]

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.
Copy linkTweet thisAlerts:
@IPNRCauthorNov 24.2003 — 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.


? ?
Copy linkTweet thisAlerts:
@Paul_JrNov 25.2003 — Do you have PHP support?
Copy linkTweet thisAlerts:
@ray326Nov 25.2003 — [i]Originally posted by IPNRC [/i]

[B]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.


? ? [/B]
[/QUOTE]

Your host system does not have PHP installed or PHP is not correctly configured.
Copy linkTweet thisAlerts:
@Phil_KarrasNov 25.2003 — 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.
Copy linkTweet thisAlerts:
@IPNRCauthorNov 25.2003 — 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.
Copy linkTweet thisAlerts:
@Phil_KarrasNov 26.2003 — 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!
Copy linkTweet thisAlerts:
@suzie-qsNov 26.2003 — 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.
×

Success!

Help @IPNRC spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...