/ Forside / Teknologi / Udvikling / ASP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
ASP
#NavnPoint
smorch 9259
Harlekin 1866
molokyle 1040
Steffanst.. 758
gandalf 657
smilly 564
gibson 560
cumano 530
MouseKeep.. 480
10  Random 410
form submission via email + db insertion
Fra : Quinn


Dato : 19-02-02 15:55

I have a user thats really bugging me in my open forum on my website, and I
would like to see if I could get his e-mail-address so that I can tell him
that I know who he is and that he should stop bugging me.

When I first started using HTML i used the <form
action="mailto:....................."> tag and I received all the
submissions through e-mail. This way the users e-mail-address was visible
when I received the mail.

The tricky part is that as this is an open discussion group I want to keep
his submissions to the forum as well, which means that I have to perform two
tasks:

1. form submission via mail
2. insertion to database with ASP. (just like normal on the discussion
group).

Any ideas on this one?

thanks for your help!

Quinn



 
 
Lars Hoffmann (19-02-2002)
Kommentar
Fra : Lars Hoffmann


Dato : 19-02-02 16:16

Quinn <sstian@online.no> escribió en el mensaje de noticias
TGtc8.8681$HL2.199291@news2.ulv.nextra.no...
> I have a user thats really bugging me in my open forum on my website,
and I
> would like to see if I could get his e-mail-address so that I can tell
him
> that I know who he is and that he should stop bugging me.

I could talk for hours about what a really bad idea this is, but just
take the following into consideration:
1) he might not use his personal computer to bother you, and it is
possible that you get the email of somebody who has nothing to do with
it.
2) With most email programs you can simply answer 'NO' whenever a
homepage tries to send an email, any person who is aware of beeing
annoying would simply click no to sending a form that way
3) action="mailto..." has mayor compatibility issues, and thus you might
end up bothering one of your innocent users.


> The tricky part is that as this is an open discussion group I want to
keep
> his submissions to the forum as well, which means that I have to
perform two
> tasks:
>
> 1. form submission via mail
> 2. insertion to database with ASP. (just like normal on the discussion
> group).
>
> Any ideas on this one?

Yeah sure, its not difficult at all, but I wont help you either. The
thing to do it is: Log his IP, use www.geektools.com to find his ISP,
and write a complaint to them.
Best regards
Lars Hoffmann




Quinn (19-02-2002)
Kommentar
Fra : Quinn


Dato : 19-02-02 17:05


"Lars Hoffmann" <lars@intercambiodvd.com> wrote in message
news:a4tq6f$i7v$1@newsreader.mailgate.org...
> Quinn <sstian@online.no> escribió en el mensaje de noticias
> TGtc8.8681$HL2.199291@news2.ulv.nextra.no...
> > I have a user thats really bugging me in my open forum on my website,
> and I
> > would like to see if I could get his e-mail-address so that I can tell
> him
> > that I know who he is and that he should stop bugging me.
>
> I could talk for hours about what a really bad idea this is, but just
> take the following into consideration:
> 1) he might not use his personal computer to bother you, and it is
> possible that you get the email of somebody who has nothing to do with
> it.
> 2) With most email programs you can simply answer 'NO' whenever a
> homepage tries to send an email, any person who is aware of beeing
> annoying would simply click no to sending a form that way
> 3) action="mailto..." has mayor compatibility issues, and thus you might
> end up bothering one of your innocent users.
>
>
> > The tricky part is that as this is an open discussion group I want to
> keep
> > his submissions to the forum as well, which means that I have to
> perform two
> > tasks:
> >
> > 1. form submission via mail
> > 2. insertion to database with ASP. (just like normal on the discussion
> > group).
> >
> > Any ideas on this one?
>
> Yeah sure, its not difficult at all, but I wont help you either. The
> thing to do it is: Log his IP, use www.geektools.com to find his ISP,
> and write a complaint to them.
> Best regards
> Lars Hoffmann

Sure, I know this - that's not why I asked the group about it...
I was only wondering if anyone had ideas about how this could be done...
Anyone who could answer the question seriously?

>
>
>



Lars Hoffmann (19-02-2002)
Kommentar
Fra : Lars Hoffmann


Dato : 19-02-02 17:29

Quinn <sstian@online.no> escribió en el mensaje de noticias
xIuc8.6539$%m1.135589@news4.ulv.nextra.no...
>
> Sure, I know this - that's not why I asked the group about it...
> I was only wondering if anyone had ideas about how this could be
done...
> Anyone who could answer the question seriously?

My answer was as serious as could be, but if you just want the code for
doing something that wont work, try this:

On the page where you treat all the form data:

<%
'Your regular form processing here
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Processing Form</title>
</head>

<body onload="document.GetBastardOfMyBack.submit()">
<FORM name="GetBastardOfMyBack" METHOD="POST" ENCTYPE="text/plain"
ACTION="mailto:your@email.here">
<input type="hidden" name="whatever" value="bla">
</form>
</body>
</html>

But anyway, it wont work and it'll bother all of your other users So
consider it a waste of time.
Best regards
Lars Hoffmann



Søg
Reklame
Statistik
Spørgsmål : 177554
Tips : 31968
Nyheder : 719565
Indlæg : 6408852
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste