Encrypt/Decrypt

2011-06-17 Thread Steve Reich
If I have Encrypt(x,y) which equals z OR Decrypt(x,y) which equals z, can z be determined (encrypted or decrypted) without having both x and y? Example: cfset variables.secretKey = dj0yJmk9TTJOUXFnakphWjVlJmQ9WVdrOVVtMU9jak5rTjJNbWNHbzlPREV4TVRrNE5EWXkmcz1jb25zdW1lcnNlY3JldCZ4PWQx cfset

Scripting website or host header will IIS and CF

2011-05-19 Thread Steve Reich
It seems simple enough. My user inputs a web address he wants configured on my server and I programatically create it in IIS through my CF application. And then I may want to create subdomains though host headers on the same IP. Using CF9. Surely this has been done hundreds of times... anyone got

ExactTarget SOAP API

2011-04-18 Thread Steve Reich
Does anyone have any experience with CF and ExactTarget's SOAP API. We have been using the XML flavor, but want to switch to the more robust SOAP API. Unfortunately, their documentation is pretty unorganized and I can't find any sample code on the web. I can't be the first one doing this. Anyone?

Re: other companies and developers to watch out for

2011-02-03 Thread Steve Reich
That's freakin' hilarious! Please don't go! This I better than anything on TV! On Feb 3, 2011, at 11:17 AM, Michael Firth mftr...@att.net wrote: Please consider this a retraction of my previous statement and an apology to those who feel they have been harmed. Under the threat of legal

Text Databases

2004-06-27 Thread Steve Reich
I've never had to set up an ODBC connection to a text file, but I am now. I have a file that is delimited with the pipe character (|). I have successfully set up the datasource, but CF can't seem to tell what the delimiter is. How do I do this? I can't seem to find information anywhere. Thanks,

RE: Text Databases

2004-06-27 Thread Steve Reich
It's in the ODBC driver setup. In windows DS administrator, click Configure, use the options define format buttonthen choose custom delimited. Perfect... Thanks! Steve My Inbox is protected by SPAMfighter 16127 spam mails have been blocked so

Double Messages?

2002-12-23 Thread Steve Reich
At about noon today I started receiving 2 of every message. Am I all alone? Thanks, Steve ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

RE: Login/Password screen

2002-12-13 Thread Steve Reich
Here's the basic concept... You have a login page. The user puts their username and password in and it submits to an action page that checks to see if they are a user. You then set a variable (I usually use session variables). Then you check for that session variable on the pages that are

RE: Login/Password screen

2002-12-13 Thread Steve Reich
[mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 8:43 AM To: CF-Talk Subject: RE: Login/Password screen Quoting Steve Reich [EMAIL PROTECTED]: Here's the basic concept... You have a login page. The user puts their username and password in and it submits to an action page that checks

SQL UBound?

2002-12-10 Thread Steve Reich
I'm looking for the SQL function that will return the highest value in a column. I have a field that is the datatype 'decimal' and I want to return the record with the highest value in that column. Can someone help me? Thanks, Steve

RE: SQL UBound?

2002-12-10 Thread Steve Reich
-Original Message- From: Steve Reich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 8:37 AM To: CF-Talk Subject: SQL UBound? I'm looking for the SQL function that will return the highest value in a column. I have a field that is the datatype 'decimal' and I want to return

CF Error: The request has exceeded the allowable time limit

2002-12-09 Thread Steve Reich
I keep getting the following errors for no apparent reason The request has exceeded the allowable time limit Tag: CFQUERY ..or... The request has exceeded the allowable time limit Tag: CFOUTPUT It isn't taking along time or doing anything special. Almost seems more like a connction issue

RE: MX Hosting

2002-12-04 Thread Steve Reich
I use hostmysite.com and have had good luck with them. Great support with no waiting and pretty cheap too Steve -Original Message- From: Robert Bailey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 6:52 PM To: CF-Talk Subject: MX Hosting This is a multi-part message

RE: Stripping end of cfhttp.filecontent

2002-12-02 Thread Steve Reich
Try this cfhttp URL=#WWURL# method=get resolveurl=true/cfhttp cfscript // Replace link colors and rename content color = ReReplace(#cfhttp.filecontent#, 800854, 99, All); // Modify all links to second agent page with variable links =

RE: Writing a file with CFFILE

2002-11-26 Thread Steve Reich
viable as html even after it's been saved several times. Nevermind... I'm an idiot over thinking the basics... HTMLEditFormat()..! hehe, Steve -Original Message- From: Steve Reich [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 9:26 PM To: CF

RE: Writing a file with CFFILE

2002-11-26 Thread Steve Reich
the only method) of preserving the content in its original format, so it's still viable as html even after it's been saved several times. Nevermind... I'm an idiot over thinking the basics... HTMLEditFormat()..! hehe, Steve -Original Message- From: Steve Reich

RE: Writing a file with CFFILE

2002-11-26 Thread Steve Reich
it's been saved several times. Nevermind... I'm an idiot over thinking the basics... HTMLEditFormat()..! hehe, Steve -Original Message- From: Steve Reich [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 9:26 PM To: CF-Talk Subject: RE: Writing a file

Writing a file with CFFILE

2002-11-25 Thread Steve Reich
+0194) character. Can someone shed some light on this problem and a solution? TIA, Steve Reich ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm

RE: Writing a file with CFFILE

2002-11-25 Thread Steve Reich
I'm guessing you're using MX ... Probably using setEncoding() whether you specify ISO latin or UTF-8 on the form scope on the action page will resolve the issue... I'd likely place it in the application.cfm and apply it to both form and url. Thanks! That fixed that problem. I have another

RE: Writing a file with CFFILE

2002-11-25 Thread Steve Reich
Nevermind... I'm an idiot over thinking the basics... HTMLEditFormat()..! hehe, Steve -Original Message- From: Steve Reich [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 9:26 PM To: CF-Talk Subject: RE: Writing a file with CFFILE I'm guessing you're using MX ... Probably

RE: Other Mailing lists

2002-11-23 Thread Steve Reich
Try http://www.aspfriends.com... HTH, Steve -Original Message- From: Fregas [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 1:56 PM To: CF-Talk Subject: OT: Other Mailing lists This is way off topic, but does anyone know of some mailing lists similar to CFTALK but for Java,

RE: Preventing URL Display in Status bar

2002-11-17 Thread Steve Reich
Is there a way to stop the status bar from displaying the URL / path when the pointer is over a hypertext link on a website. Use JavaScript a href=index.cfm?fuseaction=home onmouseover=window.status='Click for home page...'; return true onmouseout=window.status=''; return trueHome/a .

Re: Javascript Anyone?

2001-12-01 Thread Steve Reich
I know this is a little off topic, but does anyone know how to disable CTRL+N and F11 in IE??? I'm not sure about the CTRL+N key combination, but this script will disable the F11 key in IE... the only catch is that you have to stop bugging the CF community with Javascript questions and join us

Re: asp vs. cf

2001-11-30 Thread Steve Reich
My boss just asked me for a list of pros and cons. I want to show him that CF is superior to ASP, but I don't know ASP. If you guys could help with my list I'd appreciate it. I will add to this by saying that I am a CF programmer at heart, but I am presently working on an ASP application.

Re: VTM Files

2001-11-22 Thread Steve Reich
Thanks for the help. I solved my problem but am still looking for more information on creating VTM files. Do resources (websites, books, etc..) exist for these or is the documentation (rather shallow) with CF Studio all there is...? Thanks, Steve

VTM Files

2001-11-21 Thread Steve Reich
Does anyone know of any online resources for writing .vtm files? Specifically, I'm looking for a way to have a color picker popup for the user to select a color. Thanks, Steve ~~ Get the mailserver that powers this list at

Re: VTM Files

2001-11-21 Thread Steve Reich
Ummm...are you talking CF Studio? It already has a colour picker built in I realize that, but when the user selects 'Edit Tag' and pulls up the tageditor dialog, I want them to fill one of the fields with a color value. How can I access the color picker from within the VTM? Thanks, Steve

CFMAIL 5.0

2001-10-05 Thread Steve Reich
Does CFMAIL simply not work in CF5? Everything appears normal, but the messages are never received. I confirmed connection from CF Server to the mail server. It spools the mail to the Spools folder and then appears to send it out, emptying the spools folder. No undeliverables, but no logs either.

OT: New Discussion List

2001-09-04 Thread Steve Reich
and contributions! Thanks, Steve Reich Moderator, IT-Talk ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe

Re: Javascript Validation Coldfusion ?

2001-08-16 Thread Steve Reich
First I recommend you send a blank email to [EMAIL PROTECTED] and join JS-Jive, the javascript list. You'll get lots of help with Javascript. But to answer your question, you need to access the selectedIndex property of a select box to validate it script function validateSelect(){

Re: (SQL) Selecting Random Record From Database

2001-08-16 Thread Steve Reich
Someone posted this idea a while back. SELECT TOP 1 employee_id, newid() as new_id FROM yourtable CC That pulls the first1 record from the database. This will pull the first 1000 records... SELECT TOP 1000 employee_id, newid() as new_id FROM yourtable I need a random record. Isn't there

Re: test if Java is on

2001-08-16 Thread Steve Reich
how can you test to see if the user has Java Scripting turned off? Join JS-Jive and ask the question there. (Just send a blank email to [EMAIL PROTECTED]) Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at

(SQL) Selecting Random Record From Database

2001-08-15 Thread Steve Reich
How do I select a single, truly random (random seed) record from my database? Thanks, Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ:

Marking Email Messages 'Read' with CFPOP

2001-08-09 Thread Steve Reich
I am using iMail (6.0 I think). Is there anyway I can mark a message on the server as 'Read' using CFPOP? The iMail web interface seems to know what messages have been read. How can I do this with CF? Thanks, Steve ~~ Structure your ColdFusion

Kill all cookies

2001-08-03 Thread Steve Reich
How do I kill all cookies at once? Thanks, Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives:

OT: Javascript Questions Answers

2001-07-27 Thread Steve Reich
I've noticed a lot of javascript posts lately and wanted to remind everyone about the JS-Jive javascript group. There are nearly 1100 developers on the list and it's proven to be an excellent resource for Javascript questions. The list was spawned from this one and there are many, many CFers on

Re: Printing CFEXECUTE

2001-07-12 Thread Steve Reich
On Windows2000, I have successfully used: print /d:\\server\printer x:\path\filename I'll give that a try. Thanks, Tony! Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at

Re: Meta Tags for search engines and verity

2001-07-12 Thread Steve Reich
I have found that meta tags vary in importance on the various search engines. What I typically do is a search using the keywords I would expect users to use. Then I take a look at the sites that come up first and try to determine why. Sometimes it's obvious, other times it's oblivious. This has

Re: OT - Allaire website

2001-07-10 Thread Steve Reich
Is anyone else getting *very* slow searches on the Dev-Exchange site? Allaire's ColdFusion is slightly slower than Macromedia's ColdFusion. Positioning your tongue on the right side of your mouth while clicking the form buttons will help some, but keeping your Dev Exchange searches limited to

Printing CFEXECUTE

2001-07-10 Thread Steve Reich
What's the command line parameter and flag to print a document? Can I choose the printer or is default all I get? I want to use it with CFEXECUTE to print to the web server's printer on our Intranet. Thanks, Steve ~~ Structure your ColdFusion

Re: Ordering query results

2001-06-30 Thread Steve Reich
Two ways to do it... first, is Nate Weiss' CF_QuerySort tag... a definite must have for any CFer's toolbox... you can get it here http://devex.allaire.com/developer/gallery/info.cfm?ID=CA3470F8-2830-11D4-AA 9700508B94F380method=Full But you might try something like this...

Encrypt/Decrypt Functions [NOT cfencrypt/cfdecrypt]

2001-06-29 Thread Steve Reich
I am having a problem with the encrypt/decrypt functions. Here is my code: *** This creates the user when they register... cfset dbPassword=#Encrypt(password, application.seed)# cfquery name=CreateUser datasource=#application.dsn# username=#application.dsn_username#

Re: Encrypt/Decrypt Functions [NOT cfencrypt/cfdecrypt]

2001-06-29 Thread Steve Reich
Also, I'm not sure why I can encrypt the same value twice and not get the same value. I'm thinking my problem must be in the seed string length, but I'm not sure? Are there known issues with this? Why am I having this problem? Can someone shed some light? After a little more trial and

Re: Encrypt/Decrypt Functions [NOT cfencrypt/cfdecrypt]

2001-06-29 Thread Steve Reich
Maybe it's just a wierd browser thing. What do you see if you View SOurce? No.. I checked that. It's very strange because there is no consistency to it. Some strings encrypt the same everytime, others don't. If I run this in my browser cfset encryptedPW = #Encrypt(password,

Re: Encrypt/Decrypt Functions [NOT cfencrypt/cfdecrypt]

2001-06-29 Thread Steve Reich
cfif form.Login_Password NEQ Decrypt(LoginAction.Password, key) cfset Error = Invalid UserID and Password. cfelse Dick, That did the trick! I was trying to compare two encrypted strings and I should have been comparing their decrypted values. Thanks for the help it was

Application Variables

2001-06-29 Thread Steve Reich
Seems basic, but I've never really addressed this. Assuming this code is in my application.cfm file, what is the difference in these two cfset bgcolor=black and... cfset application.bgcolor=black I guess I need a quick lesson on application variables. I know they are included in the

Re: Trim Question

2001-06-29 Thread Steve Reich
Try #Trim(OutputVariable)#. Otherwise, you will need to go into your custom tag and figure where the code is adding the spaces. It's not a problem of CF Server adding the spaces. HTH, Steve Brian Scott Barnett [EMAIL PROTECTED] wrote in message 000701c100df$c9b69e20$[EMAIL

Re: Spell Checking a Textarea Field

2001-06-29 Thread Steve Reich
http://www.spellchecker.net/ is quite good. Wow! That is very cool (and cheap)... thanks! Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives:

Attachments CFPOP

2001-06-29 Thread Steve Reich
Is there a way to detect an attachment without having to download it to the server? If a user has a 2 mb attachment, and 50 email messages, it's going to be a while I want my users to see that there is an attachment, but only download if they choose to. Is there a work around? Thanks, Steve

Spell Checking a Textarea Field

2001-06-28 Thread Steve Reich
How can I have my users spellcheck a textarea? Thanks, Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/

Counting Sessions

2001-06-27 Thread Steve Reich
How does a web site know that there are 26 users on our site right now... oh, wait, now 27?? Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives:

Retrieving Multiple Attachments w/CFPOP

2001-06-27 Thread Steve Reich
Seems like I just did this 5 years ago, but I'm writing a CFPOP application and am having trouble when there is more than one attachment. The docs say that it should return a tab delimited list of the attachments, but I am only getting the first one returned. Can anyone offer a suggestion?

Re: Counting Sessions

2001-06-27 Thread Steve Reich
Dylan Bromby [EMAIL PROTECTED] wrote in message 000c01c0ff3a$9808bf30$6401a8c0@bromby">news:000c01c0ff3a$9808bf30$6401a8c0@bromby... the specifics depend on the OS, but generally speaking, the web server's open threads/processes are counted. -Original Message- From: Steve Reich

Re: STILL CAN NOT GET CF-TALK EMAIL

2001-06-26 Thread Steve Reich
I can send to the group, and I can see my email show up in the archive, but I have been getting nothing for days. Michael what is going on. You said yesterday on js-jive it would be fixed within the day. It's been just about 24 hours since you said that and I haven't gotten anything. Please

Re: Where to place developer exchange tags?

2001-06-23 Thread Steve Reich
Place it in the Custom Tag directory. It's C:\CFUSION\CUSTOM TAGS by default. If it's a cfx (.dll) then you need to register it with CF Server. You can also place the .cfm tag in the directory of the templates you are using it in. But if you have multiple sites on a server that use the tag, it's

Code Check...

2001-06-22 Thread Steve Reich
Here's my code. cfscript if (HTTP_USER_AGENT CONTAINS Mozilla AND HTTP_USER_AGENT DOES NOT CONTAIN Gecko AND HTTP_USER_AGENT DOES NOT CONTAIN MSIE) BROWSERTYPE=NS; else BROWSERTYPE=MSIE; /cfscript I am using this to detect the browser

CFSCHEDULE User Agent

2001-06-22 Thread Steve Reich
I just figured out something interesting and useful... If you have a template that is fired using CFSCHEDULE, it will have the cgi.http_user_agent string CFSCHEDULE. With that, you can prevent the template from running if you only want it executed by the scheduler... I have some database

OT: RIM / Go.America Support Forum

2001-06-21 Thread Steve Reich
it. If you have questions or comments, please feel free to contact me off list. Thanks, Steve Reich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf

Re: SOLVED: This should be simple--why is it not working?

2001-06-14 Thread Steve Reich
Somehow CF sees the year as being 1905 when I wrap dateformat around it [#dateformat(2001, 'YY')#]! CF was correct! 2001 is the numeric value of the date 06/23/1905. Here's a quick lesson on numeric date (and time) values DateFormat(6/14/2001, YY) would output 01 DateFormat(2001, YY)

WinSysPath Variable(s)

2001-06-14 Thread Steve Reich
Is there a variable that CF understands to map to the windows system folder? Here's what I'm trying to do... cffile action=READ file=$WinSysPath$\myeula.txt variable=eula What about the root folder and windows folder? My horoscope said these variables are not supported. I'm running IIS5 if that

Re: Any MS Access mailing lists half as good as this mailing list?

2001-06-14 Thread Steve Reich
news://msnews.microsoft.com ... has all the information you can stomach! [EMAIL PROTECTED] wrote in message 001b01c0f400$a14eb080$[EMAIL PROTECTED]">news:001b01c0f400$a14eb080$[EMAIL PROTECTED]... Michael, Thank you for the years of hosting this GRAT list. Jeff Craig.

Re: Can this be done? Flashy way??

2001-06-10 Thread Steve Reich
if someone can point out on where I can find CF TAGS to build FLASH stuff (I don't know FLASH AT ALL!) I'll be happy! How about the CF_BuildFlashMovie tag? You just enter what you want the application to do and pass it your experience level with Flash and it will spit out a movie file and code

Re: need some advice

2001-06-09 Thread Steve Reich
First join JS-Jive at http://groups.yahoo.com/group/JS-Jive for all the Javascript help you can stand. But to answer your question, your best bet is to control the forms action depending on how the form in submitted (either through the submit button or the onchange event of the select box). You

Re: JavaScript Help

2001-06-08 Thread Steve Reich
How do I get JavaScript to evaluate tdID into its true value and not think that I'm refering to an object named tdID? I recommend to anyone that uses javascript in there applications to join the JS-Jive mailing list (just send a blank email to [EMAIL PROTECTED]). The list has over 900

Re: Loan Calculator

2001-06-08 Thread Steve Reich
I wrote a loan calculator tag that is in the tag gallery. Can't recall the exact name of it now, but I think if you search for Loan you will find several, including one from Ben Forta, etc. DC Excellent! That's exactly what I was looking for. I saw Forta's tag in there, but it was in

Re: Best way to return multiple records?

2001-06-08 Thread Steve Reich
I have a query that returns anywhere from 1 to 1800 records. I've implimented a next/previous button but this keeps calling the query over and over again. Is there a way to return all the records and then process them using next and previous? I'm thinking something like a structure maybe?

CF Wireless

2001-05-31 Thread Steve Reich
Other than the CF-Wireless mailing list, is anybody aware of other wireless Cold Fusion resourecs such as tags, tutorials, etc... Thanks, Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at

Re: WhoIs tag that returns a variable

2001-05-29 Thread Steve Reich
What about using WDDX? Russel Madere [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey all, I need a free WhoIs tag that will return the results as a variable, not as part of the HTML page. I looked at Lewis Sellars CFX_TCPIPClient tag and thought it was

Re: Dictionary/Thesaurus

2001-05-25 Thread Steve Reich
You can buy the Mirriam Webster edition on CD... http://www.m-w.com/service/deluxc10.htm. In the mean time, try this... Include this javascript on your page and doubleclick any word this is a dictionary script, but could easily be edited for the thesaurus. Might not be what you are looking

Re: Downloading Files NOT in Webroot

2001-05-25 Thread Steve Reich
What's wrong with creating a virtual directory...? CF-Talk [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What is the best way to allow users to download from a collection of files that are not in the webroot but rather elsewhere on the server's file

Re: [Re: Downloading Files NOT in Webroot]

2001-05-25 Thread Steve Reich
You should be able to create a virtual directory to point to any directory on the server... regardless of the webroot... at least you can with IIS. Alex [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... cfcontent pointed to file NOT in webroot Steve Reic

Re: Compacting .cfm files

2001-05-25 Thread Steve Reich
There used to be a tag called StripWhiteSpace or something like that. I just looked in the tag gallery and couldn't find it on my first pass. I would push to rethink your specs. The architecture of your page sounds like an endless pit of nightmares good luck! Steve Brian Fox [EMAIL

Writing Custom Functions

2001-05-24 Thread Steve Reich
I already know the answer to this, but I thought I would see what it might inspire Is it possible to write a custom function? Here is an example of what I would like to be able to do. The following code limits the display of lname to 8 characters cfif len(lname) GT 8#Left(lname,

Re: Slightly OT: Tracking Usage

2001-05-24 Thread Steve Reich
Sorry about the OT post but I am a little stumped. I was wondering if anyone out there knows how to find out the following information about visitors to a web site: Screen Resolution: (ie. 1024x768, 800x600) Color Depth: (ie. 16-bit, 32-bit, 256 colors, etc...) For screen resolution and

Re: Writing Custom Functions

2001-05-24 Thread Steve Reich
Awesome! Thanks Michael...! Will those user defined functions be included in a global functions page or how are they accessed? Say you have 50 user defined functions you wouldn't want to include them all, right? Steve Reich Michael Dinowitz [EMAIL PROTECTED] wrote in message 048001c0e484

Re: Need a bad word list

2001-05-24 Thread Steve Reich
Should we submit them to the list...? :-) There are a ton a javascript examples that have short lists in them. But a bad word is relative. There is the handful that is generally accepted, but you will likely have to be the one to determine what words are acceptable or not depending on your

Re: Need a bad word list

2001-05-24 Thread Steve Reich
ROFL... thanks for that one! I learned a few cuss words in other languages you're a klootzak disclaimer(per the definition on the page of the URL you sent)/disclaimer! Dan Phillips [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm not sure if this is what

Re: Writing Custom Functions

2001-05-24 Thread Steve Reich
The normal operation is to have your UDF either on the same page as you need them or in a CFINCLUDE. If your especially evil then you can load them into server or application variables in an initialization page and then use them as server.stringlimit('this is my string', 5). Using them in

Re: Writing Custom Functions

2001-05-24 Thread Steve Reich
Sounds good! Who am I to argue with Ben Forta and Micheal Dinowitz!?!? Looking forward to the UDF's at any rate... thanks for the info! Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at

Re: Need a bad word list

2001-05-24 Thread Steve Reich
Should we submit them to the list...? :-) A bad word is relative. There is a handful of the obvious, but you will likely have to be the one to determine what words are acceptable or not depending on your audience and how much you intend to impede on your users 1st amendment rights sorry,

Dynamic Queries (RecordCount)

2001-05-22 Thread Steve Reich
How do I set a variable equal to the recordcount of this query? Here's what I've been trying ~CODE cfset queryName = MyQuery cfquery name=#queryName# datasource=#application.dns# dbtype=ODBC username=#application.dns_username# password=#application.dns_password#

Re: Dynamic Queries (RecordCount)

2001-05-22 Thread Steve Reich
you should be able to just output the queryname.recordcount. make sure it is spelled correctly I tried that but it still didn't work. In fact, I've tried about everything I can think of. Steve ~~ Structure your ColdFusion code with

Re: Dynamic Queries (RecordCount)

2001-05-22 Thread Steve Reich
adding a character on the front of it, like: cfquery name=q_#queryName# ... ... cfset queryCount= evaluate(q_ queryName .recordcount) -Original Message- From: Steve Reich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 4:07 PM To: CF-Talk Subject: Dynamic Queries

Pinging an email address

2001-05-09 Thread Steve Reich
Is there a way to ping an email address to verify that the mailbox exists? It doesn't neccessarily have to be a CF routine either... Thanks, Steve ~~ Structure your ColdFusion code with Fusebox. Get the official book at

CFREGISTRY (the inner workings of CF Admin)

2001-05-09 Thread Steve Reich
I am thinking I'm going to disable CFREGISTRY on one of my servers for security reasons. Then it occurred to me, how does the CF Administrator check passwords, retrieve datasources, etc... if it's disabled. Does disabling it exclude pages within the CF Administrator...? Mostly just curious

Re: Pinging an email address

2001-05-09 Thread Steve Reich
If the email is accepted it's likely valid. We are using iMail on our server and you can set up an alias named 'nothing' that will accept all email to the domain that doesn't point to an existing account. With this in mind, our mail server would never return mail as undeliverable. So I just

Next-Previous Record Display

2001-05-07 Thread Steve Reich
Does anyone know of a good, robust tag to do the Previous 10 - Next 10 routine on displaying recordsets? I need it to output the number of pages in the return as well. There is cf_nextrecords in the tag gallery, but it is too thin for my needs. I know I've seen a couple of good one's out there,

Re: Customisation question

2001-05-07 Thread Steve Reich
You'll have to create a separate table for the administration information. Then where you have FORM.NTS in your query, it will be replaced with the value from the database. HTH, Steve Seamus Campbell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I cannot see how to do the

SQL Query Headache...

2001-04-11 Thread Steve Reich
This works... cfquery... SELECT messages.messageid, messages.title AS mesTitle, messages.userid, messages.body, messages.datestamp, users.userid, users.fname, users.lname, users.company, users.copyReplies FROM messages JOIN users ON (users.userid = messages.userid) WHERE

Re: SQL Query Headache...

2001-04-11 Thread Steve Reich
Try to use PreserveSingleQuotes function: . WHERE messages.parent = 0 AND messages.active = 1 #PreserveSingleQuotes(KeyWords)# . Marian That was it! Thank you very much! Steve ~~ Structure your ColdFusion code with Fusebox.

CF Server parsing .js files...

2001-04-06 Thread Steve Reich
I have a single javascript file (*.js) that I want to include CF variables with. I know how to set IIS up to allow CF Server to process a specific file extension, but I don't neccessarily want it to process all .js files. My question is Is there any command I can use to only process the

Re: CF Server parsing .js files...

2001-04-06 Thread Steve Reich
Why not leave the file as a .cfm file but put CFCONTENT TYPE="application/x-javascript" at the top? I tried renaming the .js file to a .cfm file and it worked like a champ until I opened the page in Netscape... it doesn't seem to want to accept it as a javascript source file. Worked

Re: CF Server parsing .js files...

2001-04-06 Thread Steve Reich
That's the way we do it... works like a champ. When your stylesheets get big, you really should link to them, rather than include them, so that browsers can cache them and speed up all your pages. Works for us in Netscape, too, vs. Steve's experience in the next post. It's not a stylesheet.

OT: Seeking Database

2001-03-27 Thread Steve Reich
A little off topic, but I am building a sample real estate application and I have no data. I'm wondering if there is anyone out there with a sample real estate database of home listings. Doesn't need to be real data, but hopefully somewhat complete. Anyone? Thanks, Steve

CF Variables in database...

2001-03-25 Thread Steve Reich
I have data in my database that contains CF varaibles. For example, "Hello, Mr. #lname#" might be in my database. I call this data from a query and insert it into a page that has lname defined. So I want it to assign a value to the variable. But when I out the code, it is returned as #lname#,

Re: CF Variables in database...

2001-03-25 Thread Steve Reich
ocessed as anything other then text/html Bill Wheatley Director of Development Allaire Certified ColdFusion Developer AEPS INC Allaire ColdFusion Consulting Partner www.aeps.com www.aeps2000.com 954-472-6684 X303 ICQ: 417645 - Original Message - From: "Steve Reich&qu

Parsing Headache (Removing Multiple Images)

2001-02-14 Thread Steve Reich
OK.. I am writing a tag with CFHTTP to blah, blah, blah... it works fine. Now I want to port my application to the Palm Pilot so I want to remove the images from the output. Here's my line of thinking at the moment... cfscript output = #Trim(CFHTTP.FileContent)#; imageStart =#Find("img",

Re: JavaScript?

2001-02-14 Thread Steve Reich
Does anyone have a good javascript that will allow you to type ina startDate and endDate and it will calculate the number of days inbetween and populate a 3rd form field on the fly? any help would be appreciated. Since you asked I guess I'll post my quarterly reminder that there is an

Re: Parsing Headache (Removing Multiple Images)

2001-02-14 Thread Steve Reich
put, imageStart)#; imageLen = imageEnd - imageStart + 1; output = #Replace(output, Mid(output, imageStart, imageLen), "", "ONE")#; /cfscript /cfloop Thanks, Steve "Steve Reich" [EMAIL PROTECTED] wrote in message 3a8ac460$[EMAIL PROTECTED]">news:3a8ac460

Re: Reading INI Files

2001-02-01 Thread Steve Reich
GetProfileString() built in function Syntax GetProfileString(iniPath, section, entry) Perfect! Thanks Joe! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives:

  1   2   >