Welcome, Guest!

  • Welcome to the new FraggedNation.com!
  • Need help? Click Here!
  • Check out the latest Gamer News
  • New features added daily!
FraggedNation Home

Blogs

BanditMember Rating: Bounty Hunter


Public RSS FeedShare this page!

"onSubmit=email.asp" "onSubmit=return onSubmitForm"

Posted: Thu, Mar 25 2010 at 09:45am
Bandit Blog

So I am in need of some basic scripting help.


I am working on some asp files. The first file (upload.asp) creates a form that will allow someone to upload a file to my server.

I have included an additional file (email.asp) so that when the form is submitted, it also sends me an email.

Problem, I get two emails. Once when the form is simply loaded and once when the form is submitted.

I have managed to figure out that the following line has an impact:
<!-- #include file="email.asp" -->

If I leave it out, I do not receive any emails, if I put it back in, I get two.

I would be very happy if someone could assist and offer me some help. Of course I would post you the whole code. If you have any clues, please do let me know.

There are 69 members logged in, and 714 guest(s).
[Global Directors], [Platform Directors], [Game Directors], [Head Admins], [Referees], [Community Staff], [News Team

Beserksteak°, rhekk6°, Spd-kills°, Problem?Member Rating: Respectable, krichiss09, DeadFire87, castro3halo°, JLUVS33, The_BarcadelftMember Rating: Respectable, Huricane855°, CorprinusMember Rating: Credible, xRackse°, gt7570bMember Rating: Credible°, KriXus__°, corwin105100, roadrunnerspeed°, [FuN]ivor-bigoneMember Rating: Veteran°, RTFallen°...Show All 69 Online Members

There are 78,192 accounts registered, and 14,761 teams competing on all 1,173 Ladders, and 635 Tournaments.

FraggedNation has had 65,419,501 hits since 09-15-2003. 59,152 hits today, and 206,821 hits yesterday.Page Rendered in 0.0263(s)

© 2011 Nation Fusion, Inc. All Rights Reserved. Website engine's code is © copyright by FraggedNation.com and Nation Fusion, Inc.
FraggedNation.com is powered by Proteus v3.2 © 2008 by Mainstay Technologies
Privacy Policy, Terms of Service