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 41 members logged in, and 723 guest(s).
[Global Directors], [Platform Directors], [Game Directors], [Head Admins], [Referees], [Community Staff], [News Team

 FNDigi,  TR EE OF LI FE°,  Jedi4_20°,  xSAxJkkool,  agentnef240Member Rating: HonorableStaff Rank:Corporal°,  uchimatamasterMember Rating: l337Staff Rank:Sgt. Major°,  watanukidaisukeMember Rating: Credible°,  XoXoXXoXoXMember Rating: Credible°,  Has2ThighsMember Rating: Credible°,  sSsDoOmMember Rating: Credible°,  FN King Thomas 92Member Rating: VeteranStaff Rank:Sgt. Major,  Shiftshapers,  BIGmuddyBRONCO,  Atwater27,  biopsychologist,  br3nd0n827,  thesupermormonMember Rating: GodmodeStaff Rank:Brigadier General,  DBLDeathDealerMember Rating: Godmode°,  Rabid SquirrelStaff Rank:Private 2°,  frank509°,  InSaNiTy!!Member Rating: Respectable,  TryNstopME024,  Flintstone FlopMember Rating: Respectable,  The Squid,  prisonedbeast,  Sierra10433Member Rating: HonorableStaff Rank:Corporal°,  Brandon1363,  LudCorpMember Rating: Credible°,  x3Gx TeXaSMember Rating: Credible°,  Drewby-Booby°,  Synaptix°,  HNBxMORPHEUS,  [ZSZ]ChamberlyMember Rating: Respectable,  xRoyHD,  NarNar,  BuLLeT aBnMember Rating: Credible,  KingRafoose,  OG-staKCadolla°,  TybcMember Rating: Credible,  overlord836,  {C-oPs}PunisherMember Rating: VeteranStaff Rank:Corporal

There are 64,682 accounts registered, and 12,418 teams competing on all 1,118 Ladders, and 460 Tournaments.

FraggedNation has had 56,656,284 hits since 09-15-2003. 1,642 hits today, and 99,577 hits yesterday.Page Rendered in 0.053(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