This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Front Page > July 2004 > Numbered Coupon Generation
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Numbered Coupon Generation
|
|
| John Robert 2004-07-30, 4:14 am |
| Is there a simple way to generate a coupon where the number on the coupon is
incremented each time a user fills in their name and has the coupon emailed
to their mailbox? I'd like to have the visitor register with some brief
info (say name, company name, phone, email), the coupon has a number
assigned to it and then is emailed to themselves.
Thanks for any advice and help
| |
| Thomas A. Rowe 2004-07-30, 4:14 am |
| You would have to use a custom written server-side script written in whatever scripting language is
support by your host, but store the info in a database. You can send an email coupon as part of a
text or HTML email, but if you want to actually attach a file this will requires additional coding
to create a file, then attach the file to the email, might be better display the coupon on web page
and then have the user print it.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"John Robert" <mince@ix.netcom.com> wrote in message news:uEQfZuedEHA.592@TK2MSFTNGP11.phx.gbl...
> Is there a simple way to generate a coupon where the number on the coupon is
> incremented each time a user fills in their name and has the coupon emailed
> to their mailbox? I'd like to have the visitor register with some brief
> info (say name, company name, phone, email), the coupon has a number
> assigned to it and then is emailed to themselves.
>
> Thanks for any advice and help
>
>
| |
| MD Websunlimited 2004-07-30, 12:15 pm |
| Hi John,
That part is simple; what is hard is persisting the coupon number so that it can be identified as a valid coupon for that visitor
and whether or not it has been used, assuming you wish to track that information.
To accomplish that you'll need a database to store the information in. You can create the database using the DIW and I would suggest
that you create an auto number field to supply the coupon number, you can pre or post fix the autonumber field to make it unique.
When the visitor completes the form the confirmation page can display the coupon and you can set it up to have it emailed to them.
P.S. there should be little or no programming required.
HTH,
--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible
"John Robert" <mince@ix.netcom.com> wrote in message news:uEQfZuedEHA.592@TK2MSFTNGP11.phx.gbl...
> Is there a simple way to generate a coupon where the number on the coupon is
> incremented each time a user fills in their name and has the coupon emailed
> to their mailbox? I'd like to have the visitor register with some brief
> info (say name, company name, phone, email), the coupon has a number
> assigned to it and then is emailed to themselves.
>
> Thanks for any advice and help
>
>
| |
| John Robert 2004-07-30, 11:15 pm |
| Thanks for the ideas.... To both you you. I will play over the weekend and
see if I can get it done.
"MD Websunlimited" <none@none.com> wrote in message
news:OncWDCidEHA.3212@TK2MSFTNGP12.phx.gbl...
> Hi John,
>
> That part is simple; what is hard is persisting the coupon number so that
it can be identified as a valid coupon for that visitor
> and whether or not it has been used, assuming you wish to track that
information.
>
> To accomplish that you'll need a database to store the information in. You
can create the database using the DIW and I would suggest
> that you create an auto number field to supply the coupon number, you can
pre or post fix the autonumber field to make it unique.
>
> When the visitor completes the form the confirmation page can display the
coupon and you can set it up to have it emailed to them.
>
> P.S. there should be little or no programming required.
>
> HTH,
> --
> Mike -- FrontPage MVP '97-'02
> http://www.websunlimited.com
> FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible
>
>
> "John Robert" <mince@ix.netcom.com> wrote in message
news:uEQfZuedEHA.592@TK2MSFTNGP11.phx.gbl...
coupon is[color=darkred]
emailed[color=darkred]
>
>
| |
| chris leeds 2004-07-30, 11:15 pm |
| I made a coupon a while ago, no emailing, just a print button. I made it
increment using the mswc counter. a component included in .asp. It was
fairly simple, I just set a string of letters and numbers to make it look
official and had the counter at the end. You can mark it all up with a font
tag or class/ID it with some .css.
If you don't want to get into a database or other mechanism to increment the
# you may want to look into that component, or even the FrontPage hit
counter (if you make a custom image for the numbers).
HTH
--
Chris Leeds,
Microsoft MVP FrontPage
The email address on this posting is a "black hole". I got tired of all the
spam.
Please feel free to contact me here:
http://nedp.net/contact/
--
"John Robert" <mince@ix.netcom.com> wrote in message
news:Onb8S7odEHA.1152@TK2MSFTNGP09.phx.gbl...
> Thanks for the ideas.... To both you you. I will play over the weekend
and
> see if I can get it done.
>
>
> "MD Websunlimited" <none@none.com> wrote in message
> news:OncWDCidEHA.3212@TK2MSFTNGP12.phx.gbl...
that[color=darkred]
> it can be identified as a valid coupon for that visitor
> information.
You[color=darkred]
> can create the database using the DIW and I would suggest
can[color=darkred]
> pre or post fix the autonumber field to make it unique.
the[color=darkred]
> coupon and you can set it up to have it emailed to them.
> news:uEQfZuedEHA.592@TK2MSFTNGP11.phx.gbl...
> coupon is
> emailed
brief[color=darkred]
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|