Re: random .inc files pulled and placed

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46525
interpreted = N
texte = Put the file names into a db and then search with a random sort &max=1 On Sunday, December 29, 2002, at 01:18 PM, Lester Emo wrote:> As I continue to try this in a number of ways, I thought I'd ask . . . > . > > If I have a folder full of various ads, each of which is actually an > include file > ad1.inc > ad2.inc > ad3.inc > > etc. > > Can I yank one of these many inc. files and place them in an include > context? > > So that a page has random ads (which are these tiny include files) > appearing on it when a user visits a particular page in the site . . . > > I'm wondering if I can do this with listfiles, but so far no go . . . > > Or might there be a better way? > The info will not be in a database, although I suppose I could have a > database of the .inc filenames if thats an easier way to do this . . . > > thanks > > > ------------------------------------------------------------- > 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/ > > RegardsStuart 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: random .inc files pulled and placed (Dale's Stuff 2002)
  2. Re: random .inc files pulled and placed (Alain Russell 2002)
  3. Re: random .inc files pulled and placed (Lester Emo 2002)
  4. Re: random .inc files pulled and placed (Stuart Tremain 2002)
  5. random .inc files pulled and placed (Lester Emo 2002)
Put the file names into a db and then search with a random sort &max=1 On Sunday, December 29, 2002, at 01:18 PM, Lester Emo wrote:> As I continue to try this in a number of ways, I thought I'd ask . . . > . > > If I have a folder full of various ads, each of which is actually an > include file > ad1.inc > ad2.inc > ad3.inc > > etc. > > Can I yank one of these many inc. files and place them in an include > context? > > So that a page has random ads (which are these tiny include files) > appearing on it when a user visits a particular page in the site . . . > > I'm wondering if I can do this with listfiles, but so far no go . . . > > Or might there be a better way? > The info will not be in a database, although I suppose I could have a > database of the .inc filenames if thats an easier way to do this . . . > > thanks > > > ------------------------------------------------------------- > 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/ > > RegardsStuart 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:

WebCat2 - Getting to the browser's username/password data (1997) Followup question re: checksum for credit cards? (1997) # fields limited? (1997) Change Subtotal (2000) PIXO support (1997) Re[2]: showcart (2000) WebCat for Unix (1999) 2 easy questions re: [showif] and [sendmail] (1997) WebDNA tags in WebMerchant email templates ... (1997) BBedit glossary for WebCat? (2000) Purchased cart being overwritten (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Bug Report, maybe (1997) Encrypt Decrypt URL UnURL Weirdness (2001) WebCat with WebTen (1998) Clickable maps and WebCatalog? (1996) Weird G3 Happenings. (1998) [TCPSend] and whois? (1999) Help! WebCat2 bug (Ben's input) (1997) Show shoppingcart after remove last item (1997)