mysql insert rut roh

2004-08-09 Thread dave
having some troubles inserting, lol problem is that if i copy and paste(which i have to do) the # maybe like this 06618300 but when its inserted it strips the zero off the front to this 6618300. its mysql the field is a varchar cause it could also have letters. its really not a big deal except

RE: Val function seems buggy

2004-08-09 Thread Pascal Peters
REReplace(myvar,\D,,all) -Original Message- From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED] Sent: 09 August 2004 04:24 To: CF-Talk Subject: Re: Val function seems buggy OK, I expected a bit too much from Val :), needed to get all the digits portion of a VAR.Thanks for

Tuning CF response speeds

2004-08-09 Thread Micha Schopman
Does anyone have experience in fine tuning CFMX responses? I often have the feeling the CFMX server, is going into hibernation between requests. One moment a request pops up at a reasonable response, and sometimes I just have to wait for 2 a 3 seconds for the same template which actually does

Re: server-side forwarding in CFMS

2004-08-09 Thread Greg Stewart
Just out of curiosity is it possible to a re-direct to a new domain/url? something like: cfscript getPageContext().forward(http://www.somedomain.com/); /cfscript I know this doesn't work, but is there an equivalent (idealy using cfscript) without having to do a client side re-driect? Cheers G

RE: server-side forwarding in CFMS

2004-08-09 Thread Micha Schopman
cflocation but I wonder, have you even checked the cfml reference? :-) Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast

Re: Downloading image

2004-08-09 Thread John Croney
Thank you all for your replies [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

MySQL on Linux

2004-08-09 Thread Robert Orlini
Anyone can tell me how to setup/start MySQL on Linux Enterprise. I can't seem to find where to begin. Thanks. Robert O. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: MySQL on Linux (OT)

2004-08-09 Thread Rick Root
Robert Orlini wrote: Anyone can tell me how to setup/start MySQL on Linux Enterprise. First of all Robert, I only know you're referring to REDHAT because you've posted previously.You need to specify REDHAT, otherwise people won't know for sure what you're talking about... I think Suse also

Re: MySQL on Linux

2004-08-09 Thread Jochem van Dieten
Robert Orlini wrote: Anyone can tell me how to setup/start MySQL on Linux Enterprise. There is no Linux Enterprise, Linux is the kernel and the only qualifier is the version number. You are probably refering to the Enterprise version of some distribution. Anyway, if MySQL is properly

RE: MySQL on Linux (OT)

2004-08-09 Thread Robert Orlini
Thanks Rick, Jochem, Sorry for the OT subject on this. Will check other references as well. Robert O. -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Monday, August 09, 2004 8:18 AM To: CF-Talk Subject: Re: MySQL on Linux (OT) Robert Orlini wrote: Anyone can

cfchartseries y-axis problem

2004-08-09 Thread Uwe Degenhardt
Hi list, we are having some problems concerning y-scaling on the y-axes under cfchart/CFCHARTSERIES. (CFMX 6.1/Windows) The values which are shown are representing a value exact 10 times higher what it should be. We doublechecked the values with a normal cfoutput with no errors at all. Any clues

RE: MySQL on Linux (OT)

2004-08-09 Thread Dave Wilson
Robert, May I suggest you google for Getting started with MySQL - the first result is an excellent how-to for getting up and running in minutes. Dave [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Count logged in user sessions

2004-08-09 Thread Raymond Camden
There are a few different ways to do this. There is a ServiceFactory method that will help. This article, http://www.findarticles.com/p/articles/mi_m0MLU/is_10_5/ai_109039749, written by myself, shows code that Sam Neff wrote. You can also do tracking in application.cfm by doing (pseudo-code)

Re: server-side forwarding in CFMS

2004-08-09 Thread S . Isaac Dealey
Just out of curiosity is it possible to a re-direct to a new domain/url? something like: cfscript getPageContext().forward(http://www.somedomain.com/); /cfscript I know this doesn't work, but is there an equivalent (idealy using cfscript) without having to do a client side re-driect?

RE: server-side forwarding in CFMS

2004-08-09 Thread S . Isaac Dealey
cflocation but I wonder, have you even checked the cfml reference? :-) Nope, cflocation is a client-side redirection tool as well... It uses an http header to indicate document moved with information about where it's been moved to which is what the browser uses to go to the next page. I believe

Re: server-side forwarding in CFMS

2004-08-09 Thread Greg Stewart
Cheers Micha, but I was looking for a sever side re-direct! ;) On Mon, 9 Aug 2004 13:58:07 +0200, Micha Schopman [EMAIL PROTECTED] wrote: cflocation but I wonder, have you even checked the cfml reference? :-) Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort

Re: server-side forwarding in CFMS

2004-08-09 Thread Greg Stewart
Ah well, thanks Isaac. G On Mon, 9 Aug 2004 08:40:19 -0400, S. Isaac Dealey [EMAIL PROTECTED] wrote: Just out of curiosity is it possible to a re-direct to a new domain/url? something like: cfscript getPageContext().forward(http://www.somedomain.com/); /cfscript I know this doesn't

RE: Count logged in user sessions

2004-08-09 Thread Katz, Dov B (IT)
Does anyone know the performance cost of things like the SessionTracker code? Without sessionTracker, I wanted to do something similar, but in my case, I wanted to make a struct for each session, put it in the session, and in the application, and then access it from both, for some realtime

New custom tag

2004-08-09 Thread Claude Schneegans
Hi, I have just release a new custom tag that for thos who want get color information about an image by clicking on it. See CFX_mapClick at the address below. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm?p=hf

Re: server-side forwarding in CFMS

2004-08-09 Thread S . Isaac Dealey
Welcome... wish I had better news for you. Ah well, thanks Isaac. G On Mon, 9 Aug 2004 08:40:19 -0400, S. Isaac Dealey [EMAIL PROTECTED] wrote: Just out of curiosity is it possible to a re-direct to a new domain/url? something like: cfscript

RE: Count logged in user sessions

2004-08-09 Thread Samuel R. Neff
You don't need to keep track of sessions, CF does it for you: Access session vars from outside the session http://www.rewindlife.com/archives/46.cfm HTH, Sam Blog http://www.rewindlife.com TeamMM http://www.macromedia.com/go/team

Output in 2 columns

2004-08-09 Thread Marco Antonio C. Santos
Hi all how to output my 10 news in 2 columns(CSS div style)? Thanx [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Count logged in user sessions

2004-08-09 Thread Ewok
Thanks. This is what I ended up using... cflock scope=session throwontimeout=no timeout=10 cfscript function getSessions(appName) { var tracker = createObject(java,coldfusion.runtime.SessionTracker); return tracker.getSessionCollection(appName); } /cfscript cfset nSessions = 0 cfset

RE: Output in 2 columns

2004-08-09 Thread d.a.collie
how to output my 10 news in 2 columns(CSS div style)? If I'm understanding you right the basics are: style type=text/css #news-left { float: left; } #news-right {float: right; } /style div id=news div id=news-left News 1br / News 2br / News 3br / News 4br / /div div

RE: Count logged in user sessions

2004-08-09 Thread Katz, Dov B (IT)
I know it keeps track of sessions.The problem with using that is (1) we have no guarantee from MACR that it's going to always be there (its like using the com.sun classes in java) (2) I still have no useful metrics on how accessing sessions from that factory/tracker might affect performance.

looping over dates?

2004-08-09 Thread John Beynon
I'm having a monday morning (afternoon) brain melt down... I want to programmatically create a consecutive list of months/dates starting from a certain month, eg March 2003 April 2003 May 2003 June 2003 .. .. .. July 2004 August 2004 up to the current month...I can't think for the life of me

Calendar data structure

2004-08-09 Thread Burns, John D
I'm looking for some advice on what sort of structure I should use for making a calendar app.My main question is about storing the dates.To accommodate multi-day events, is it better to do a startDate column and an endDate column or is it better to do a single eventDate column and insert multiple

RE: Downloading image

2004-08-09 Thread Dave Watts
cfhttp url=""> method=GET getasbinary=yes cffile action="" ... It's worth pointing out that you can just use the FILE attribute of CFHTTP, rather than having a separate CFFILE tag. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays

Re: looping over dates?

2004-08-09 Thread Massimo Foti
You should check cflib.org first, there are plenty of date-related UDFs: http://www.cflib.org/library.cfm?ID=13 Massimo Foti http://www.massimocorner.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

RE: looping over dates?

2004-08-09 Thread Tangorre, Michael
Not sure exactly what you are doing, but might spark some ideas... cfloop from=1 to=12 index=x #MonthAsString(x)# /cfloop Michael T. Tangorre I'm having a monday morning (afternoon) brain melt down... I want to programmatically create a consecutive list of months/dates starting from a

RE: Calendar data structure

2004-08-09 Thread Alistair Davidson
Read up on the iCal / vCal formats - they're attempted / de-facto standards for transfer of calendar data between applications, and they handle repeating events in a fairly straightforward manner. Last year I had to completely re-write a massive international calendar app from scratch, and the

Re: looping over dates?

2004-08-09 Thread John Beynon
yeah, i sort of got going with something similar; cfset startmonth=4 cfset startyear=2003 cfloop from=#startyear# to=#dateformat(now(),)# index=y cfloop from=#startmonth# to=12 index=i #dateformat('#i#/1/#y#', )#br / /cfloop cfset startmonth = 1 /cfloop On Mon, 9 Aug 2004

Re: looping over dates?

2004-08-09 Thread Joe Rinehart
Hey John, Here ya go: cfset startMonth=3 cfset startYear=2003 cfoutput cfloop from=#startYear# to=#datePart(, now())# index=currentYear cfloop from=1 to=#iif(currentYear neq datePart(, now()), 12, datePart('m', now()))# index=currentMonth #monthAsString(currentMonth)# #currentYear#br

RE: looping over dates?

2004-08-09 Thread d.a.collie
I want to programmatically create a consecutive list of months/dates starting from a certain month, eg Set your intial date, set your max date, loop round incrementing the month by one using dateAdd cfscript startDate = createDate(2003, 03, 01); endDate = now(); thisDate = startDate;

Re: looping over dates?

2004-08-09 Thread Joe Rinehart
Oops, forgot startMonth: cfset startMonth=3 cfset startYear=2003 cfoutput cfloop from=#startYear# to=#datePart(, now())# index=currentYear cfloop from=#iif(currentYear neq startyear, 1, startMonth)# to=#iif(currentYear neq datePart(, now()), 12, datePart('m', now()))# index=currentMonth

Re: Transaction Log Size

2004-08-09 Thread Dan O'Keefe
They get cleared, not removed, but the problem is they are not shrunk, which is why they tend to get blown out of size. Dan - Original Message - From: Samuel R. Neff [EMAIL PROTECTED] Date: Fri, 6 Aug 2004 16:36:38 -0400 Subject: RE: Transaction Log Size To: CF-Talk [EMAIL PROTECTED]

Re: Output in 2 columns

2004-08-09 Thread Marco Antonio C. Santos
Thanx dc, but our CSS style works fine... our problem is how to output using CF that news... How to divide that news in 2 columns, like this: Column 1Column 2 news 1news 4 news 2news 5 news 3news 6 Thanx On Mon, 9 Aug 2004 15:05:16 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: how to

Re: looping over dates?

2004-08-09 Thread John Beynon
i just got to: cfset startmonth=4 cfset startyear=2003 cfloop from=#startyear# to=#dateformat(now(),)# index=y cfif dateformat(now(),) eq y cfset endmonth = dateformat(now(),mm) cfelse cfset endmonth = 12 /cfif cfloop from=#startmonth# to=#endmonth# index=i

dump query before execution

2004-08-09 Thread George Abraham
Hi group, Does anyone have an idea of how to dump the contents of a query before it executes? Say I have a query named getThisUser. All I want is the contents of the select statement before it actually is passed to the database. I am having a problem with a long query (with lots of cfifs and

Re: dump query before execution

2004-08-09 Thread Ubqtous
I'd just take a copy of the query code and replace the CFQUERY tags with CFOUTPUT and then CFABORT afterwards to display the post-CF code processing SQL. On Mon, 9 Aug 2004 10:25:27 -0400, George Abraham [EMAIL PROTECTED] wrote: Hi group, Does anyone have an idea of how to dump the contents of

Re: looping over dates?

2004-08-09 Thread Joe Rinehart
John, Re-reading your post I realized my solution was all wrong, it's definitely Monday around here... Just use the dateAdd() , adding a month each time, until you get where you need to go.It'll handle the year etc. for you. -joe - Original Message - From: John Beynon [EMAIL PROTECTED]

RE: Output in 2 columns

2004-08-09 Thread d.a.collie
How to divide that news in 2 columns, like this: Again, if I understanding you right (not tested this code but it's thereabouts) cfset noNews = news.recordCount / cfset halfNews = int(news.recordCount/2) / div id=news cfoutput query=news cfif news.currentRow eq 1 div id=news-left

Re: dump query before execution

2004-08-09 Thread Joe Rinehart
George, If you enable CF debugging through the cf administrator site, you'll be able to view the SQL passed to the DB in the debugging information. -joe - Original Message - From: Ubqtous [EMAIL PROTECTED] Date: Mon, 9 Aug 2004 10:32:23 -0400 Subject: Re: dump query before execution To:

Re: dump query before execution

2004-08-09 Thread George Abraham
That's what I do ultimately. I was just wondering if someone had a less time-consuming way of doing this. Thanks though, George On Mon, 9 Aug 2004 10:32:23 -0400, Ubqtous [EMAIL PROTECTED] wrote: I'd just take a copy of the query code and replace the CFQUERY tags with CFOUTPUT and then CFABORT

Re: dump query before execution

2004-08-09 Thread George Abraham
Joe, I tried that and the problem is the query just times out and CFMX pops out a Stack Overflow error. I guess you'll get to see SQL in the debug information, only if it is passed to the DB successfully. George On Mon, 9 Aug 2004 10:36:11 -0400, Joe Rinehart [EMAIL PROTECTED] wrote: George,

RE: BLACKSTONE Sneak Preview Posted

2004-08-09 Thread Tom Jordahl
Question, for the Sourceless Deployment, is it possible to have mixed mode,that is, say, 99% code are compiled while leaving one or two templates like application.cfm source code editable?  TIA. Yes, you can use cfcompile to compile any cfm/cfc file you want. -- Tom Jordahl Macromedia Server

Re: Output in 2 columns

2004-08-09 Thread Dan Blickensderfer
I use the following for our website. cfset max= round(news.recordcount / 2) cfset row2 = max + 1 table cellpadding=2 cellspacing=0 border=0 td valign=toptable cellpadding=2 cellspacing=0 border=0 cfoutput query=news startrow=1 maxrows=#max# trtdColumn1 Results/td/tr /cfoutput /table /td td

Getting an image.. before display

2004-08-09 Thread Mark Drew
Imagine the situation.. you have thousands of records in a databse that refer to some images, you loop through these trying do display them cfloop query=getImages img src=""> /cfloop I get a lot of broken images and some not. How would I go about checking that the image is there first and if so

ANN: C# ASP.NET for ColdFusion Developers

2004-08-09 Thread Adam Churvis
Presentation and sample code We just finished giving our .NET Eye For the CF Guy presentation to the Atlanta ColdFusion User Group, and now have the presentation online.We built two identical apps -- one in CF and one in ASP.NET -- that run side-by-side in frames so you can play with both at the

Re: BLACKSTONE Sneak Preview Posted

2004-08-09 Thread Don
Question, for the Sourceless Deployment, is it possible to have mixed mode,that is, say, 99% code are compiled while leaving one or two templates like application.cfm source code editable?  TIA. Yes, you can use cfcompile to compile any cfm/cfc file you want. Tom Jordahl Macromedia Server

Re: Getting an image.. before display

2004-08-09 Thread Paul Giesenhagen
cfif fileExists(pathtofile) cfelse /cfif I hope this helps Paul Giesenhagen QuillDesign - Original Message - From: Mark Drew To: CF-Talk Sent: Monday, August 09, 2004 9:53 AM Subject: Getting an image.. before display Imagine the situation.. you have thousands of records in a

RE: Getting an image.. before display

2004-08-09 Thread Pascal Peters
cfif FileExists(ExpandPath(image)) -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: 09 August 2004 16:54 To: CF-Talk Subject: Getting an image.. before display Imagine the situation.. you have thousands of records in a databse that refer to some images, you loop

RE: Getting an image.. before display

2004-08-09 Thread d.a.collie
I get a lot of broken images and some not. How would I go about checking that the image is there first and if so displaying otherwise... just go along my merry way? fileExists? convert the URL to the path and use file exists... only work for local tho -- dc [Todays Threads] [This

RE: Output in 2 columns

2004-08-09 Thread Pascal Peters
Simplified: div cfloop index=i from=1 to=#qTest.recordCount# step=2 #qTest.field[i]#br/ /cfloop /div div cfloop index=i from=2 to=#qTest.recordCount# step=2 #qTest.field[i]#br/ /cfloop /div Pascal -Original Message- From: Marco Antonio C. Santos [mailto:[EMAIL PROTECTED] Sent: 09

Re: Getting an image.. before display

2004-08-09 Thread Mark Drew
I dont know the phisical path.. was looking for a url and a relative one at that! On Mon, 9 Aug 2004 10:00:42 -0500, Paul Giesenhagen [EMAIL PROTECTED] wrote: cfif fileExists(pathtofile) cfelse /cfif I hope this helps Paul Giesenhagen QuillDesign - Original Message -

Range in SQL

2004-08-09 Thread Mickael
Hello All, I was wondering if someone could help me with an SQL statement for Sybase.I need to do an update using on SQL not CF.What I would like to do is the opposite of TOP sort of.I have a query that returns lets x records and I would like to not update 125 records and have my statement update

Re: BLACKSTONE Sneak Preview Posted

2004-08-09 Thread Jochem van Dieten
Chunshen (Don) Li wrote: Great, good to know.Another one, is it possible to set expiration date a given custom tag or cfc or a group of them with Blackstone? You can do that in CFML: cfif Now() GTE '2004-09-30' cfabort /cfif Jochem [Todays Threads] [This Message] [Subscription] [Fast

Re: Getting an image.. before display

2004-08-09 Thread Paul Giesenhagen
cfhttp would beyour next best bet ... but that will be a performance hit ... but it would work.. Paul Giesenhagen QuillDesign - Original Message - From: Mark Drew To: CF-Talk Sent: Monday, August 09, 2004 10:05 AM Subject: Re: Getting an image.. before display I dont know the

Re: Getting an image.. before display

2004-08-09 Thread brobborb
isnt there some FILEEXIST function? ehehe - Original Message - From: Mark Drew To: CF-Talk Sent: Monday, August 09, 2004 9:53 AM Subject: Getting an image.. before display Imagine the situation.. you have thousands of records in a databse that refer to some images, you loop through

RE: C# ASP.NET for ColdFusion Developers

2004-08-09 Thread Marlon Moyer
Adam, Thanks for sharing that presentation.I found it to be very informative! -Original Message- From: Adam Churvis [mailto:[EMAIL PROTECTED] Sent: Monday, August 09, 2004 9:56 AM To: CF-Talk Subject: ANN: C# ASP.NET for ColdFusion Developers Presentation and sample code We

RE: Output in 2 columns

2004-08-09 Thread d.a.collie
Simplified: nicely refined Pascal... got the -verbose switch on all the time on my command line ;) -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

OT - CSS Talk and Class Announcment

2004-08-09 Thread Sandy Clark
Just an FYI for those out there, I will be speaking at the NYCFUG tomorrow night (Tuesday) on CSS. Hope to see many of you there. I am also offering a class in CSS in October, this will be a 4 days, hands on class.It is appropriate both for beginners and those who really want to delve more into

Re: Calendar data structure

2004-08-09 Thread Ewok
I have done this a couple of times and from experience I'd suggest this... one table to hold the event information, what where who etc... anopther table that holds dates with an EventID to tie it back to a particular event Also, in The Date table, I'd try something like DateID, SingleDate,

RE: Output in 2 columns

2004-08-09 Thread Pascal Peters
Actually, I reread my post and it doesn't do what he wants (yours does): My code News1 News2 News3 News4 News5 News6 Yours (this is what he asked for) News1 News4 News2 News5 News3 News6 Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09 August

Re: BLACKSTONE Sneak Preview Posted

2004-08-09 Thread Don
You can do that in CFML: cfif Now() GTE '2004-09-30' cfabort /cfif Jochem I know that, and thought about planting this sort of code in multiple templates and have them compiled, however, it's not an elegant solution, because when you want to remove them, it becomes messy.And you don't

RE: Output in 2 columns

2004-08-09 Thread d.a.collie
I wouldn't argue with you over it tho Pascal... principal is the same and can be modded to make it do what was required :) -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Range in SQL

2004-08-09 Thread Thomas Chiverton
On Monday 09 Aug 2004 16:08 pm, Mickael wrote: How do you do this in SQL? If your table has a primary key, just look yourself to see what the PK of the cut-off is, and use that in your where clause. -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL

Re: Getting an image.. before display

2004-08-09 Thread Claude Schneegans
I have the url not the path Is the url phisically on the same server? If not, then CFHTTP is you only (and time consuming) solution. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this

Problem of cfmx6.1 for windows eval installer (Urgent)

2004-08-09 Thread Don
The installer of the eval copy of cfmx6.1 for windows failed to install (it kept on asking for installation location) on a win2k machine.The same problem also happened to a client of mine.MM, please place a usable version or advise alternative.TIA. [Todays Threads] [This Message]

Re: Getting an image.. before display

2004-08-09 Thread Mark Drew
The URL IS on the same server... I shall look at converting the location... the problem is that from the database I would get something like ../somthing/somthin/image.jpg and it would be converting that to a path MD On Mon, 09 Aug 2004 11:31:32 -0400, Claude Schneegans [EMAIL PROTECTED] wrote:

Calling CFCs with wget or curl -- What am I missing?

2004-08-09 Thread Dick Applebaum
I can successfully call a remote (ws) cfc method with curl or wget, but I am unable to pass parameter data to the cfc. What's the secret? TIA Dick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Transaction Log Size

2004-08-09 Thread David Koehler
So, they should be shrunked? Dave They get cleared, not removed, but the problem is they are not shrunk, which is why they tend to get blown out of size. Dan - Original Message - From: Samuel R. Neff [EMAIL PROTECTED] Date: Fri, 6 Aug 2004 16:36:38 -0400 Subject: RE: Transaction Log

Re: Output in 2 columns

2004-08-09 Thread Greg Stewart
Just to get really into the semantics of markup ;)... I'd suggest using a list, here's DC's modified code for that... cfset noNews = news.recordCount / cfset halfNews = int(news.recordCount/2) / div id=news cfoutput query=news cfif news.currentRow eq 1 ol id=news-left /cfif li#news.item#/li

pathname, HELP :(

2004-08-09 Thread Metzy Martinez
Hello everyone, I'm trying to create a tree structure, i'm using coldfusion 5 on a unix box. I'm forbidden to use CFTREE and parent child relationships. all i have is a pathname column that i have to parse out to create a hierarchical visual representation of a directory structure. I'm having a

Re: Output in 2 columns

2004-08-09 Thread Marco Antonio C. Santos
Thanx Pascal... great job... works nice for me... On Mon, 9 Aug 2004 16:36:45 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I wouldn't argue with you over it tho Pascal... principal is the same and can be modded to make it do what was required :) -- dc [Todays Threads] [This

i don't want cookie.jsessionid...

2004-08-09 Thread Bert Dawson
On my local machine CF sets the cookie.jsessionid, but it doesn't on the test or live boxes. The first time i request a page the cookie doesn't show up in the debug output, but i can read it using _javascript_. On subsequent requests it does appear in cf debug output. I have the Use J2EE session

CFMail

2004-08-09 Thread Donna French
I need to send an email to our customer base - currently about 2800 and our hosting company will only allow sending 250 at a time, and they must be at least 30 seconds between each mailing. I was trying to use a Perl script but it's timing out and they aren't willing to change their server

RE: Output in 2 columns

2004-08-09 Thread d.a.collie
nice one greg... :D I like that :) -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: Calling CFCs with wget or curl -- What am I missing?

2004-08-09 Thread Dave Watts
I can successfully call a remote (ws) cfc method with curl or wget, but I am unable to pass parameter data to the cfc. What's the secret? You should be able to pass parameters within the URL of the CFC request: http://yourserver/your.cfc?param=value For obvious reasons, this will only

RE: CFMail

2004-08-09 Thread Paul Vernon
Matt Robertson has a great script for doing this on the following link! http://mysecretbase.com/Slowing_Down_CFMAIL.cfm Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: CFMail

2004-08-09 Thread Joe Rinehart
Donna, Matt Robertson's link should help. You could also use a table to store queued recipients, and a scheduled task that would pull the next 250 in queue then remove them. Cheers, Joe - Original Message - From: Donna French [EMAIL PROTECTED] Date: Mon, 9 Aug 2004 11:00:17 -0500

RE: Count logged in user sessions

2004-08-09 Thread Jim Davis
I do this with a custom framework. In there I create CFCs to supplement CF's native application framework: there's an Application.cfc, Session.cfc and Request.cfc. The application.cfc has, as a property, a collection of session.cfcs and the session cfcs are linked to the user's session and to

RE: dump query before execution

2004-08-09 Thread Burns, John D
You could just write your query in a cfsavecontent block and then you sql would be saved as a variable that you could put in a cfquery block or cfoutput block and do what you'd like with it.Maybe put conditions around the cfoutput block to output it only at certain times. John -Original

Re: Transaction Log Size

2004-08-09 Thread Dan O'Keefe
In my experience, here is what happens. start: log is 2 MB daily activity increase it to 3MB backup, log remains at 3MB but is empty daily activity increase it to 45MB* backup, log remains at 45MB but is empty daily activity = 3MB* backup, log remains at 45MB but is empty * typically a lrage

eWeek BLACKSTONE Article

2004-08-09 Thread dcooper
Macromedia ColdFusion to Get Feature-Rich Upgrade http://www.eweek.com/article2/0,1759,1633484,00.asp Regards Damon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: BLACKSTONE Sneak Preview Posted

2004-08-09 Thread dcooper
Yes. Question, for the Sourceless Deployment, is it possible to have mixed mode, that is, say, 99% code are compiled while leaving one or two templates like application.cfm source code editable?TIA. http://www.macromedia.com/software/coldfusion/ A few of the new ColdFusion

OT: Why is Flash so slow on OSX?

2004-08-09 Thread Damien McKenna
Does anyone (Macromedia folk particularly) know why Flash is so slow on OSX versus Windows?I've got a 1GHz G4 and it is usually slower than a co-worker's 266MHz PII Thinkpad.That just doesn't make sense.Is it a conspiracy or are Macromedia just using extremely sub-par compilers for OSX? --

Re: dump query before execution

2004-08-09 Thread George Abraham
That sounds workable, other than the problem with using cfqueryparam outside of a cfquery block. George On Mon, 9 Aug 2004 12:22:54 -0400, Burns, John D [EMAIL PROTECTED] wrote: You could just write your query in a cfsavecontent block and then you sql would be saved as a variable that you

Re: Getting an image.. before display

2004-08-09 Thread Claude Schneegans
The URL IS on the same server... Then you should be able to get the full path name. Have a look at CF_getNames at the address below (free tag) It can help you for this. -- ___ REUSE CODE! Use custom tags; See

Re: Calling CFCs with wget or curl -- What am I missing?

2004-08-09 Thread Dick Applebaum
On Aug 9, 2004, at 9:09 AM, Dave Watts wrote: I can successfully call a remote (ws) cfc method with curl or wget, but I am unable to pass parameter data to the cfc. What's the secret? You should be able to pass parameters within the URL of the CFC request:

CFX Tag help

2004-08-09 Thread Ketan Patel
Hi All, I am using CFX_google on one of the application I am working on. I have downloaded the tag from CFDEV website http://www.cfdev.com/xml/soap/google/ It comes in open source so you can pretty much change it. I want to know if any body can help me to change the max results in the class

RE: Calling CFCs with wget or curl -- What am I missing?

2004-08-09 Thread Dave Watts
That's just the point: http://localhost/cfusion/mycfmxapps/myWS.cfc? method=echoStringinput=Hello works from a browser but, wget http://localhost/cfusion/mycfmxapps/myWS.cfc? method=echoStringinput=Hello does not work from the command line If it can be done from a browser, it

Re: Transaction Log Size

2004-08-09 Thread David Koehler
Thanks Dan. I read that as long as I have a good backup I can detach the database and then delete the transaction log and then reattach the database. The new transaction log then begins at a small size. I tried this on a dummy database and all seems ok. Any inherent problems with doing this? Dave

OT: MySQL 4.1 reliability?

2004-08-09 Thread Damien McKenna
How reliable is MySQL 4.1?I know its flagged as beta but would it be safe to use for a small task, e.g. a bug tracker? -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 Nothing endures but change. - Heraclitus [Todays Threads]

RE: CFMail

2004-08-09 Thread Donna French
Got it and testing it out right now. Thanks Paul! Anyone else using this script? If so, how do you like it? Thank you, Donna French -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: Monday, August 09, 2004 11:12 AM To: CF-Talk Subject: RE: CFMail Matt

Re: OT: Why is Flash so slow on OSX?

2004-08-09 Thread Dick Applebaum
Mmmm Maybe that explains it!. I have been quite vocal about Flash performance and resource consumption (mainly CPU cycles). It is especially noticeable when you have several browser windows open to pages containing Flash swfs. But, others seem unconcerned or do not notice the performance

Re: Transaction Log Size

2004-08-09 Thread Tony Weeg
no. no problems with that. i have done/do that all the time ;) its ok. im really not sure why, but i think transaction logs are good as a LAST MEASURE to recover data. tw On Mon, 09 Aug 2004 13:45:37 -0400, David Koehler [EMAIL PROTECTED] wrote: Thanks Dan. I read that as long as I have a

Re: mysql insert rut roh

2004-08-09 Thread Barney Boisvert
Are you putting the value in quotes when you insert?If you're not, then you're telling MySQL to insert a number, and number don't have leading zeros.Behind the scenes, MySQL is then coercing the number to a string to put in the field, but it starts as a number.If you wrap it in quotes, then MySQL

RE: Getting an image.. before display

2004-08-09 Thread Kola Oyedeji
Could you perhaps use FileExists() ? Kola -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: 09 August 2004 16:44 To: CF-Talk Subject: Re: Getting an image.. before display The URL IS on the same server... I shall look at converting the location... the problem is

Re: OT: Why is Flash so slow on OSX?

2004-08-09 Thread Bryan Stevenson
Hey Dick, That's nothingtry loading a Flash animation that uses alpha transitions for fading effects and moving gradients. That eats about 90% of my CPU ;-) Guess why we ditched Flash for one of our recenty client's home page ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce

  1   2   >