Re: hidden (phantom) file downloads

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31493
interpreted = N
texte = ok, so for this purpose, we are assuming that the file resides in my.server.com/docs/mydoc.docok, so first you would want to create a db or something to store the names of the word files. then you have a link pointing to my.server.com/[RANDOM]/mydoc.doc In you error.html file, insert the lines:[SHOWIF [URL][THISURL][/URL]^.doc] [TEXT SHOW=F]ELEN=[COUNTWORDS Delimiters= +_/][THISURL][/COUNTWORDS][/TEXT] [TEXT SHOW=F]DSSTRING=[LISTWORDS WORDS=[THISURL]&Delimiters= +_/][HIDEIF [INDEX]=[ELEN]][WORD][SHOWIF [INDEX]<[MATH][ELEN]-1[/MATH]] [/SHOWIF][/HIDEIF][/LISTWORDS][/TEXT] [SEARCH db=^db/docs.db&eqDOCdatarq=[DSSTRING]&MAX=1] [HIDEIF [NUMFOUND]=0] [include file=/docs/mydoc.doc] [/HIDEIF] [SHOWIF [NUMFOUND]=0] File Not found [/SHOWIF] [/SEARCH][/SHOWIF]Something approximately like this should work. we use this techniue here often. > > > >I am trying to have a members only restricted area where paying >> >>subscribers can log in and download pdf or word files that they have >> >>paid for - but I do not want to reveal the true location of the file. >> >>Is anyone out there doing something like this? >> > >> >Welcome does this easily ... >> >>not on OS X/itools though - correct? > >Welcome is originally based (or inspired by) an Apache module called >mod_rewrite, so you can still do what you want :-) > > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 > Sweden http://www.ljusaideer.se > >------------------------------------------------------------- >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 >-- Derek Chauran Web Developer, Dark Horse Comics derekc@darkhorse.com http://www.darkhorse.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 Associated Messages, from the most recent to the oldest:

    
  1. Re: hidden (phantom) file downloads (Derek C. 2000)
  2. Re: hidden (phantom) file downloads (Mike Davis 2000)
  3. Re: hidden (phantom) file downloads (Derek C. 2000)
  4. Re: hidden (phantom) file downloads (Mike Davis 2000)
  5. Re: hidden (phantom) file downloads (Derek C. 2000)
  6. Re: hidden (phantom) file downloads (John Peacock 2000)
  7. Re: hidden (phantom) file downloads (Christer Olsson 2000)
  8. Re: hidden (phantom) file downloads (Michael O Shea 2000)
  9. Re: hidden (phantom) file downloads (Britt T. 2000)
  10. Re: hidden (phantom) file downloads (Kenneth Grome 2000)
  11. Re: hidden (phantom) file downloads (J Lane 2000)
  12. Re: hidden (phantom) file downloads (Kenneth Grome 2000)
  13. Re: hidden (phantom) file downloads (Britt T. 2000)
  14. Re: hidden (phantom) file downloads (Kenneth Grome 2000)
  15. hidden (phantom) file downloads (Britt T. 2000)
ok, so for this purpose, we are assuming that the file resides in my.server.com/docs/mydoc.docok, so first you would want to create a db or something to store the names of the word files. then you have a link pointing to my.server.com/[random]/mydoc.doc In you error.html file, insert the lines:[SHOWIF [url][thisurl][/URL]^.doc] [TEXT SHOW=F]ELEN=[COUNTWORDS Delimiters= +_/][thisurl][/COUNTWORDS][/TEXT] [TEXT SHOW=F]DSSTRING=[LISTWORDS WORDS=[thisurl]&Delimiters= +_/][HIDEIF [INDEX]=[ELEN]][WORD][SHOWIF [INDEX]<[math][ELEN]-1[/MATH]] [/SHOWIF][/HIDEIF][/LISTWORDS][/TEXT] [SEARCH db=^db/docs.db&eqDOCdatarq=[DSSTRING]&MAX=1] [HIDEIF [NUMFOUND]=0] [include file=/docs/mydoc.doc] [/HIDEIF] [SHOWIF [NUMFOUND]=0] File Not found [/SHOWIF] [/SEARCH][/SHOWIF]Something approximately like this should work. we use this techniue here often. > > > >I am trying to have a members only restricted area where paying >> >>subscribers can log in and download pdf or word files that they have >> >>paid for - but I do not want to reveal the true location of the file. >> >>Is anyone out there doing something like this? >> > >> >Welcome does this easily ... >> >>not on OS X/itools though - correct? > >Welcome is originally based (or inspired by) an Apache module called >mod_rewrite, so you can still do what you want :-) > > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 > Sweden http://www.ljusaideer.se > >------------------------------------------------------------- >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 >-- Derek Chauran Web Developer, Dark Horse Comics derekc@darkhorse.com http://www.darkhorse.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 Derek C.

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:

IIS Brain Dead (1998) Displays by Categories (2000) WebCatalog and Dreamweaver (1999) Feature Request: Autonumber adendum (2004) Fwd: HTML encoding in URLs (1997) No Data Results (1997) How To question on setting up downloads (1997) PCS Frames (1997) update on wn searching (1997) RePost: NAT and the CART (1999) [WebDNA] El Capitan (2017) Stopping bad HTML propagation ? (1997) passing search criteria (1997) syntax question, not in online refernce (1997) Re:Virtual hosting and webcatNT (1997) WebCat/Typhoon Status under Windows (1998) Multiple SSL Keys (1998) WebCat2b12 CGI Mac - [shownext] problem (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) purchase plugin (1996)