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

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33122
interpreted = N
texte = Thanks, but I think perhaps I may not have clearly explained what I was hoping to achieve. I need to have a page that checks whether a domain name is available (Via NetSol), now I can easily put together a [tcpconnect][tcpsend] that will return me the results of a whois, but I actually need to be able to adjust the page depending on whether the domain name is available to be registered.IE: Congratulations, this name can be bought... etc etcCan I place the entire [tcpconnect][tcpsend] into a [showif]?Mark.On Tuesday, June 13, 2000, Dennis J. Bonsall, Jr. wrote: >> 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/ >------------------------------------------------------------- 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)
Thanks, but I think perhaps I may not have clearly explained what I was hoping to achieve. I need to have a page that checks whether a domain name is available (Via NetSol), now I can easily put together a [tcpconnect][tcpsend] that will return me the results of a whois, but I actually need to be able to adjust the page depending on whether the domain name is available to be registered.IE: Congratulations, this name can be bought... etc etcCan I place the entire [tcpconnect][tcpsend] into a [showif]?Mark.On Tuesday, June 13, 2000, Dennis J. Bonsall, Jr. wrote: >> 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/ >------------------------------------------------------------- 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/ Mark Derrick

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:

WC allow classified users to edit entry (1999) Where's Cart Created ? (1997) SSL and WebCatalog (1997) Change in Host? (1999) WebCat2 - Getting to the browser's username/password data (1997) WebCatalog-NT?'s (1996) using showpage and showcart commands (1996) Problem with pull down menu (1998) [include ...] behavior (1997) Pithy questions on webcommerce & siteedit (1997) WebCat Hosting - Pricing Question (2002) ReturnRaw context (1997) search comparison (2003) Not really WebCat (1997) WC2.0 Memory Requirements (1997) Error 11 (1996) b12 cannot limit records returned and more. (1997) changing prices in cart (1997) Keep away (1997) WebCat2b15MacPlugin - showing [math] (1997)