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:
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:
Simple way to create unique SKU (1997)
[WebDNA] [OT] developer support needed (2014)
[WebDNA] How to build a Ubuntu 18.04 server on DigitalOcean (2019)
Searching for all records (1998)
Help! WebCat2 bug (1997)
summ=T (2003)
Tracking System? (1997)
WebCat 5 Intranet Question (2003)
Download URL & access on the fly ? (1997)
2.0 Beta (1997)
How big can WebCat go? (1999)
Nesting WebDNA in JavaScript (2003)
Download capabilities (1997)
database visibility (2000)
MacAuthorize order data fields WAS:How To question... (1997)
Getting Total Quantity (1997)
emailer on Windows Beta 18 (1997)
Webcat 2.0.1 date math bug -> Crash! (1997)
[WebDNA] Advices for Linux Config (2017)
Finding max value for a field (1997)