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 Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

    
  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)
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 Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

Configuring E-mail (1997) WCS Newbie question (1997) RFE: [include file=filename.inc&strip=t] (2002) Attn: Bug in GeneralStore example b15 (1997) Re:no template caching (1997) WebCatalog can't find database (1997) [middle] of nowhere .. ? (2001) WebStar Secure on other machine (1997) Can I do these? (1997) details (2003) summ=T (2003) [WebDNA] Host List (2010) OT: Google (2002) WebCat2b13MacPlugin - [math][date][/math] problem (1997) WC2b15 File Corruption (1997) Multi Colonns (1998) [HIDEIF] inside [FOUNDITEM] (1997) RE: [REPLACE] inside [FOUNDITEMS] (1998) RE: Displaying Location (1997) Using [random] (1999)