Fun with CFFILE and ExpandPath()

2000-04-28 Thread Todd Ashworth
I am trying to let someone upload some image files into the 'images' folder on their web site. The trick is to get the file uploaded, clear out the file it is replacing, and rename the new file to the name of the old one, all while keeping the page 100% portable and without accidentaly

Re: Query output for dummies

2000-04-28 Thread Todd Ashworth
- Original Message - From: "Tiberiu Vasilica" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 28, 2000 9:44 AM Subject: Query output for dummies I just learn... Please tell me how I can refer to the output of a query, where the output is a single record (e.g. a CD

CFFILE - Invalid parser construct/expression format

2000-04-28 Thread Todd Ashworth
OK .. anyone know why I am getting this error? The D:\Path .. was changed for security purposes, but the path it shows in the error is 100% correct, which means that the "#Evaluate(ExpandPath('../images/Home_Picture2.#FILE.ClientFileExt#'))#" is being parsed correctly.

Re: CFFILE - Invalid parser construct/expression format

2000-04-28 Thread Todd Ashworth
n/m .. figured this one out .. just got rid of the Evaluate() .. doh! - Original Message - From: Todd Ashworth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 28, 2000 1:10 PM Subject: CFFILE - Invalid parser construct/expression format OK .. anyone know why I am getting

Looping through queries and submitting forms

2000-04-28 Thread Todd Ashworth
I have a query full of user data that I need to loop through and submit a form for each one. I here's a mock-up of what I currently have: --- snip --- !--- first I get the primary keys for all users involved --- cfquery name="qryGetPrimaryKeys" datasource="#datasource#" SELECT primary_key

Re: Browse to a directory

2000-04-27 Thread Todd Ashworth
I need to delete a file that I don't exactly know an extension for. I tried cffile action="DELETE" file="c:\path\to\where\the\file\is\file_to_delete.*" but CF doesn't seem to like that .* The extension can be one of only 3, so is there a way to test for the file and then delete it once found?

Deleting a file with an unknown extension

2000-04-27 Thread Todd Ashworth
Oops .. had the wrong subject line the first time. I need to delete a file that I don't exactly know the extension of. I tried cffile action="DELETE" file="c:\path\to\where\the\file\is\file_to_delete.*" but CF doesn't seem to like that .* The extension can be one of only 3, so is there a way

Was somone looking to hide downloads?

2000-04-18 Thread Todd Ashworth
/gallery/index.cfm?Objectid=15295 Todd Ashworth -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL

Re: WebHosting

2000-04-14 Thread Todd Ashworth
Our company is also getting into the hosting game. We are new to the field, but not inexperienced. We are new enough that we don't have any hard and fast rules. We will work with you to give you exactly what you need at not much cost. We have a full, almost completely 'unused' T1 and all of

Re: DB update with email notification

2000-04-13 Thread Todd Ashworth
t;msg_type" MAXROWS="max_msgs" MIMEATTACH="path" QUERY="query_name" GROUP="query_column" GROUPCASESENSITIVE="yes/no" STARTROW="query_row" SERVER="servername" PORT="port_ID" MAILER

Re: REM out CF codes

2000-04-11 Thread Todd Ashworth
!--- cf_tag --- That? Todd Ashworth Hi! Is there a way to temporarily REM out CF tags=20 so that the server doesn't execute them? -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http

Evaluate('Form.field#sub#')

2000-04-10 Thread Todd Ashworth
ate('Form.txtField#primary_key#')# So that means it's passing the CFIF statement even though it shouldn't be. If I eneter a value, it works perfectly fine. Any ideas? Todd Ashworth Saber Corporation Web Application Development www.sabersite.com (803) 327-

Re: Evaluate('Form.field#sub#')

2000-04-10 Thread Todd Ashworth
k from a query on the second page. This would be usefull for telling me if a certain query row was returned, but doesn't really help to tell if the box was filled on on the previous page, since I am, in essence, looping with the same value I would be checking for. Todd Ashworth

CFLOOP list=Query.Value ??

2000-04-07 Thread Todd Ashworth
I am getting is this: - - ODBC Error Code = S0002 (Base table not found) [Sybase][ODBC Driver][Adaptive Server Anywhere] Table or view not found: Correlation name 'qryGetKidsFromParentsID' not found - - The list="Query.Value" sounds good in theory, but I'm sure I'm d

Re: CFLOOP list=Query.Value ??

2000-04-07 Thread Todd Ashworth
Actually, ValuList() worked. (thanks Dave), so I think you are both right, but if anyone has a better, more streamlined solution than the hack job I'm doing, I would love to hear it. Todd Ashworth -- Saber Corporation Web Application Development www.sabersite.com

Re: CFLOOP list=Query.Value ??

2000-04-07 Thread Todd Ashworth
to. Is this not the best way to handle this? Todd Ashworth -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL

Re: stupid cfx tag question

2000-04-07 Thread Todd Ashworth
custom tag in the same directory as the page that references it, they should work just fine for you and you might just get away with it ;) I don't know if it works on _all_ custom tags, but I use this technique with 2 tags on one of my sites, because it's easier than fooling with having someone install t

Re: stupid cfx tag question

2000-04-07 Thread Todd Ashworth
ahh .. knew it was too good to be true for all of them ;) - Original Message - From: Mike Sheldon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 07, 2000 5:13 PM Subject: RE: stupid cfx tag question This only works for CF_ custom tags, not for CFX_ Michael J. Sheldon

Re: same form-based page for edit and display?

2000-04-04 Thread Todd Ashworth
styles the same way .. figures. Otherwise style sheets are your friend. Todd Ashworth - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 04, 2000 9:21 AM Subject: Re: same form-based page for edit and display? It doesn't work in what would be th

Re: Survey Again

2000-04-04 Thread Todd Ashworth
Just wrap this around the relevant input/update statements in your query if it complains. CFIF IsDefined('Form.hiddenFieldName') AND Form.hiddenFieldName IS NOT "" do your stuff /CFIF Is this what you mean? Todd Ashworth - Original Message - From: "Miriam Hi

Re: REGEX validating email

2000-04-03 Thread Todd Ashworth
Here's the RegEx string I use to validate E-mail addresses .. maybe thiw will work better for you? var emailexp = /^[a-z][a-z_0-9\.]+@[a-z_=0-9\.]+\.[a-z]{3}$/i Todd - Original Message - From: "Brian Peddle" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 31, 2000 6:10 PM

Re: naming databases for datasources

2000-04-02 Thread Todd Ashworth
I have many domain names pointing to one IP address. At that IP address, I have one main site with sub-directories that contain the sites of the other domain names I have pointed to it. What I would like to do is determine what domain name/URL my visitors are coming in on, and redirect them to

CFLOCATION based on URL?

2000-04-02 Thread Todd Ashworth
note Oops .. sorry about that all .. I should pay more attention ;) /note I have many domain names pointing to one IP address. At that IP address, I have one main site with sub-directories that contain the sites of the other domain names I have pointed to it. What I would like to do is

Re: CFLOCATION based on URL?

2000-04-02 Thread Todd Ashworth
wow .. that was fast .. thanks What about case sinsitivity though? Will this same code apply if they type the domain in all caps? - Original Message - From: Mike Sheldon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 02, 2000 3:02 PM Subject: RE: naming databases for

Re: Crystal Problems

2000-03-28 Thread Todd Ashworth
We are having the same problem. According to someone at allaire, Crystal Reports doesn't play well with CF anymore. The only solutions they offered were other, non-Crystal Reports solutions. If anyone out there has found a work around for this problem, please let us know :) Thanks, Todd

Re: Mark and Re-Crystalise

2000-03-28 Thread Todd Ashworth
Do you know who the creators of this software might be? So far, I haven't been able to find anything about it. Todd Ashworth - Original Message - From: "Mark Jones" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 28, 2000 10:43 AM Subject: RE: Crystal Proble

Re: DSNless connections

2000-03-28 Thread Todd Ashworth
Eddie: That looks like it just might do the trick .. thanks :) Nick: Yes, that makes sense, I think, except our database structure isn't quite work that way .. I don't think. Hmm .. I'm doing too much thinking .. I'll have to look into that a bit more just be be sure. Thanks, Todd Ashworth

<    1   2   3   4   5