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:

[WebDNA] Function "libraries" (2009) WebCat2b12 CGI Mac - [shownext] problem (1997) Faxing orders in place of email (1997) This list needs a digest: rant, rave... (1997) math a various prices (1997) How old am I? (2004) Windows 2003 Web Edition and WebCatalog 6.0a Guide (2006) MASTER_STORE revision (2002) PCS Frames (1997) Problems with SELECT MULTIPLE (1999) E-Mailer (WebCatb15acgiMac) (1997) [OT][OT] OSX email client (2002) FYI: Apache Module perchild (2002) supressing math results (1997) WebCatalog2 Feature Feedback (1996) Thanks for tips, more quest (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Signal Raised (1997) WebCat2 - many [carts] on one template page? (1997) Banner DNA (1997)