Re: [showif] based on data from [tcpconnect][tcpsend]?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33121
interpreted = N
texte = > Is it possible to base a [showif] (or even a [if][then][else]) on the results received from [tcpconnect][tcpsend]? > > We have a page that checks whether a domain is available, and rather than just returning the usual domain details, I'd like to return a This domain is available/taken message. > > Anyone doing anything like this with WebCat? >I am doing something similar, maily to allow one web server to determine whether the other one is up. It works like a charm; if one server is down, the other runs, without fail, the alternate routine I have setup. If the other server is up, it never runs. Here is what I have setup:[text]serverup=[showif [tcpconnect host=0.0.0.0]^An unknown error occurred:]F[/showif][/text] Dennis ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [showif] based on data from [tcpconnect][tcpsend]? (Rob Marquardt 2000)
  2. Re: [showif] based on data from [tcpconnect][tcpsend]? (Mark Derrick 2000)
  3. Re: [showif] based on data from [tcpconnect][tcpsend]? (Alex McCombie 2000)
  4. Re: [showif] based on data from [tcpconnect][tcpsend]? (Dennis J. Bonsall, Jr. 2000)
  5. Re: [showif] based on data from [tcpconnect][tcpsend]? (Mark Derrick 2000)
  6. Re: [showif] based on data from [tcpconnect][tcpsend]? (Dennis J. Bonsall, Jr. 2000)
  7. [showif] based on data from [tcpconnect][tcpsend]? (Mark Derrick 2000)
> Is it possible to base a [showif] (or even a [if][then][else]) on the results received from [tcpconnect][tcpsend]? > > We have a page that checks whether a domain is available, and rather than just returning the usual domain details, I'd like to return a This domain is available/taken message. > > Anyone doing anything like this with WebCat? >I am doing something similar, maily to allow one web server to determine whether the other one is up. It works like a charm; if one server is down, the other runs, without fail, the alternate routine I have setup. If the other server is up, it never runs. Here is what I have setup:[text]serverup=[showif [tcpconnect host=0.0.0.0]^An unknown error occurred:]F[/showif][/text] Dennis ------------------------------------------------------------- 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://search.smithmicro.com/ Dennis J. Bonsall, Jr.

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:

Parameter Passing (2000) Ooops-Serial Number for NT (1997) Templates for Customer Database? (1997) Building Calendars (1997) OT: Free Search Tools (2003) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) REPOST: Upgrage pricing... The future of WebCatalog is comingwith 4.0... (2000) Search design (1997) SQL Query Question (2001) truncating email part II (1997) MacAuthorize and WebMerchant (1997) How About Credit Card Transactions (1998) WebCatalog can't find database (1997) Data Variables partially show up (1998) FTP upload TCP Connect (2003) Locking up with WebCatalog... (1997) problem: search crashes webstar (1997) RE: Help name our technology! (1997) Problems passing [SKU] with $Replace in 2.0 (1997) Displaying photo attached to first record (1997)