Re: Trying to append from within a single template file

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61524
interpreted = N
texte = Kevin It can be done although it is an insecure way of doing things. A malicious person could write this index.tpl?command=delete&db=subscribers.db&nesubscriberemaildata=all Check your preferences under security to make sure that "Only the following commands may be issued by non-administrators" takes this into account. While you are checking that see if append is in that list, if it is that is the reason why the authentication box is popping up. On 24/03/2005, at 9:28 AM, Kevin Lippert wrote: > Hi, > I want to do a basic "Subscribe to our email newsletter" append on a > single page, for example: >
> >
>
> href="index.tpl? > command=append&db=subscribers.db&subscribedate=[date]&subscriberemail=[ > __subscriber]">Subscribe to our newsletter > > But this pops up an authentication dialog box, "To view this page, you > need to log in to area "Unauthorized User" on www.myserver.com" > > Can I do this, get data from and return to the same page, or do I need > to return to a different page? And can I mix and match form and > hyperlink in this way---doesn't feel quite right. But I see this kind > of "quick subscribe" box on a lot of sites, so I assume there must be > a way to do it. > > Thanks for any help, > > Kevin Lippert > > Princeton Architectural Press > 37 E. 7th St. > New York, NY 10003 > > www.papress.com > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Trying to append from within a single template file ( Kevin Lippert 2005)
  2. Re: Trying to append from within a single template file ( Gary Krockover 2005)
  3. Re: Trying to append from within a single template file ( Gary Krockover 2005)
  4. Re: Trying to append from within a single template file ( Stuart Tremain 2005)
  5. Trying to append from within a single template file ( Kevin Lippert 2005)
Kevin It can be done although it is an insecure way of doing things. A malicious person could write this index.tpl?command=delete&db=subscribers.db&nesubscriberemaildata=all Check your preferences under security to make sure that "Only the following commands may be issued by non-administrators" takes this into account. While you are checking that see if append is in that list, if it is that is the reason why the authentication box is popping up. On 24/03/2005, at 9:28 AM, Kevin Lippert wrote: > Hi, > I want to do a basic "Subscribe to our email newsletter" append on a > single page, for example: >
> >
>
> href="index.tpl? > command=append&db=subscribers.db&subscribedate=[date]&subscriberemail=[ > __subscriber]">Subscribe to our newsletter > > But this pops up an authentication dialog box, "To view this page, you > need to log in to area "Unauthorized User" on www.myserver.com" > > Can I do this, get data from and return to the same page, or do I need > to return to a different page? And can I mix and match form and > hyperlink in this way---doesn't feel quite right. But I see this kind > of "quick subscribe" box on a lot of sites, so I assume there must be > a way to do it. > > Thanks for any help, > > Kevin Lippert > > Princeton Architectural Press > 37 E. 7th St. > New York, NY 10003 > > www.papress.com > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > Regards Stuart Tremain idfk web developments 114a/40 yeo street neutral bay 2089 australia t +612 9908 2134 f +612 9908 4837 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

RequiredFields notes ... (1997) remotely add + sign (1997) Re:no [search] with NT (1997) showif and cart (1997) Discounts (2001) Ampersand Searching (2000) Using Plug-In while running 1.6.1 (1997) Searching multiple fields from one form field (1997) Different Tax levels (1998) Stopping bad HTML propagation ? (1997) Sendmail question [Newbie] (1999) FTP upload TCP Connect (2003) Emailer setup (1997) Exclamation point (1997) Include a big block of text (1997) Help! Odd, irreproducible happenings. (1998) Adding muliple sku + quantities (1999) Creating 404 Not Found pages (1999) Secure Sever and showcart errors (1997) firewall ports for Mac OS X/WebCatalog (2001)