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:
[WebDNA] .htm files (2008)
Weird cart problem (webcat 2.x) (2000)
HELP..Changing Price after adding to cart. (1999)
[HIDEIF] inside [FOUNDITEM] (1997)
[WriteFile] problems (1997)
removelineitems (2000)
[math date] with non-US date format (2000)
carriage returns in data (1997)
Public Beta for WebCatalog 4.0 is Available (2000)
problems with 2 tags (1997)
RE: File Uploads (1998)
Not really WebCat (1997)
[LOOKUP] (1997)
Shopping Cart ID (1998)
[searchString] (1997)
Fun with dates (1997)
OT: Variables in printed URL (2007)
Checking two required fields (1998)
WebDNA & Suse Linux (2004)
Buying sans cart (1997)