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:
> 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:
Sun doesn't have an emailer app? (2000)
SMSI (Scott) clues?? (2005)
Extended [ConvertChars] (1997)
Date Sorting (1997)
Public beta 5 of WebCatalog 4.0 is now available (2000)
Is there a way......... (2000)
Docs error: encrypting templates... (2000)
WebCat name recognition (was MacFinder -- a new WebDNAweb site) (1998)
WCS Newbie question (1997)
OSX Dev Server? (2004)
Imagemagick and fonts -- Success! (2004)
Updating fields from different platforms (1998)
WC2b12: Yes, Formulas.db is for real (1997)
WebCat2 - [format thousands] (1997)
[Sum] function? (1997)
HELP WITH DATES (1997)
Multiple cart additions (1997)
WebCatalog (1998)
Missing from Docs [folderName] (1997)
Showing unopened cart (1997)