Forum Home
Press F1
 
Thread ID: 15800 2002-02-17 11:24:00 One for the Website Designers... Guest (0) Press F1
Post ID Timestamp Content User
36033 2002-02-17 11:24:00 Hi there...

I want my webpage to send me an email when the user clicks a button. The email needs to contain the text contained on the page in question...

Alternatively I need the text on the page to be put into a database. What is easier?

How can I do either?

In the case of the database I need a new record for each click of the button.

What I mean is that I don't want any of the data already in there to be overwritten...

Thanks in advance...

:)

Erin
Guest (0)
36034 2002-02-17 12:31:00 I would use CGI/Perl script to do both. Guest (0)
36035 2002-02-17 12:43:00 Erin,

I've got a php script for emailing from a website, you may be able to adjust that to suit your needs... send me mail at mike.l@ywamalumni.com and I'll send you the script (I found it again amongst all my files the other day).

Mike
Guest (0)
36036 2002-02-17 23:36:00 here is a peice of script i have lifted strait from one of my own pages

For feedback of a more
technical nature <a href='mailto:web@XXXXXXXX.co.nz?subject='fraid we have a problem Sir. &body= Tell me how i stuffed up!'>email
me</a>

this gives email
to: web@XXXXXX.co.nz
sub: 'fraid .....
message body: Tell me....

I like a simplisity.
Could this be adapted to your needs perhaps?
Guest (0)
36037 2002-02-18 04:22:00 Hi,

Sorry I forgot to add that my page is currently using asp. If it is possible to stick a bit of PHP or CGI in there, then I'd be grateful if you could send your scripts to Stumpy_guy@hotmail.com

Thanks!

Erin
Guest (0)
1