Re: [showif] based on data from [tcpconnect][tcpsend]?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33162
interpreted = N
texte = On 6/13/00 9:54 am, Mark Derrick so noted...>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 etc>>Can I place the entire [tcpconnect][tcpsend] into a [showif]?Yes you can. I had done a page sometime back that would put the whois results into a [text] variable for formatting later down the page. If you're putting the results into a [showif], you may want to do the same since you'll want to be [URL]ing the results before doing the [showif] comparison (whois results can sometimes contain an exclamation point).[text]result=[TCPConnect host=internic.net&port=43][TCPSend][name][unURL]%0D[/unURL][/TCPSend][/TCPConnect][/text]Hmmm... what happens if a [unURL] appears inside a [URL]?[showif [URL][TCPConnect ... ][TCPSend] ... [unURL]%0D%0A[/unURL][/TCPSend][/TCPConnect][/URL]=something] ... [/showif]?Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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:
On 6/13/00 9:54 am, Mark Derrick so noted...>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 etc>>Can I place the entire [tcpconnect][tcpsend] into a [showif]?Yes you can. I had done a page sometime back that would put the whois results into a [text] variable for formatting later down the page. If you're putting the results into a [showif], you may want to do the same since you'll want to be [url]ing the results before doing the [showif] comparison (whois results can sometimes contain an exclamation point).[text]result=[TCPConnect host=internic.net&port=43][tcpsend][name][unurl]%0D[/unURL][/TCPSend][/TCPConnect][/text]Hmmm... what happens if a [unurl] appears inside a [url]?[showif [url][TCPConnect ... ][tcpsend] ... [unurl]%0D%0A[/unURL][/TCPSend][/TCPConnect][/URL]=something] ... [/showif]?Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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/
Rob Marquardt
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:
Press Release hit the NewsWire!!! (1997)
RE: E-mailer error codes (1997)
Carriage Returns on mail receipt (2002)
E-mail loop ! (1997)
Line Breaks (2003)
ups (1999)
syntax question, not in online refernce (1997)
Dismissing dialogs (was 2.1b3 --> way slow) (1997)
[group] ? (1997)
[protect] error page (1997)
[OT] 'Email this story to a friend' (2003)
WebCatalog/Mac 2.1b2 New Features (1997)
Bannerad Demo (1998)
Error:Too many nested [xxx] contexts (1997)
Page Counters? (1997)
find with exceptions (1997)
Dreamweaver (2002)
Orderfile Problem (2004)
database size? (1997)
Sorting when searching with grouped fields (2002)