Best of Talk (6/26/03)

 
Jul 19, 2003

by Dina Hess

Title: Carriage Returns
Date: 06/26/03      11 Posts
Summary: Need to replace carriage returns with <br>? Here's the Windows solution:

   Replace(bd_desc,chr(13)&chr(10),"<br>","ALL")

Note that Mac and Unix represent carriage returns a little differently than Windows.
 
Title: How to Get the Tablenames in a Database
Date: 06/26/03      8 Posts
Summary: Need to return a list of database tables at runtime? Try either of these solutions for SQL Server:

  • select * from information_schema.tables
  • select name from sysobjects where xtype = 'u' and name not like 'dt%' order by name
 
Title: XML XPath Equivalent in CF Notation
Date: 06/26/03      8 Posts
Summary: Trying to use XMLSearch with an XPath expressions to return specific elements in an XML document? Take a look at the XPath Visualizer, a free tool for learning and authoring XSLT and XPath.
 
Title: Client Variable Problem -- Duplicates in CDATA
Date: 06/26/03      7 Posts
Summary: A problem with duplicate client variables in the CDATA table elicits a suggestion to enable UUID-based CFTOKENs in CF Admin for added security. Look for Macromedia technotes on this and related topics.
 
Title: Setting Mail Server to Block Relaying
Date: 06/26/03      16 Posts
Summary: How can you lock down your mail server to deny unwanted relaying? Configure your mail server to relay only from a specific subnet or IP range, use authorized SMTP (which may become a problem as ISPs increasingly block traffic on port 25), or disallow relaying by your customers. Note that ArGoSoft is suggested as an alternative to the Post.Office mail server. An informative link about mail relaying is also included.
 

Add a Comment
(If you subscribe, any new posts to this thread will be sent to your email address.)
  
Privacy | FAQ | Site Map | About | Guidelines | Contact | Advertising | What is ColdFusion?
House of Fusion | ColdFusion Jobs | Blog of Fusion | AHP Hosting