Posted: Thu, Mar 25 2010 at 09:45am
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.