Listcontains question

2001-09-19 Thread van Wyk, Carlo
Hi I have the following piece of code that checks to see if a user can see a specific pageid or not. Unfortunately it is not doing the job as I have a list that looks something like this: 4,14,3,2,8,44 If the user is allowed to see page 4, then he would be able to see all pages that contains a

CFINDEX error

2001-09-19 Thread ChristianWatt
Been using cfindex for quite sometime now with now problems. Transfere everything to a 2000 server and CF5 and it seems to work in testing, switch machine as the production server...and it fails. Error trying to open batchFilename Can anyone please shed some light on this. I have searched a

I've lost a week's work!!!

2001-09-19 Thread Michael Lugassy
I just had to hard reset my computer while editing a cfm template in coldfusion studio, and when I logged in again found out it was 0 byte!!! All of my week's work is gone (the file was around 15Kb of code). I didn't save it in a diffrent location. is there still a place where I can find it??

Re: Encrypting files

2001-09-19 Thread Matt Robertson
well, if you must ftp the files (secure ftp?), how about providing the user with a web-based (https) template in a protected admin area? Give them a field to input the decryption key, and a field to paste in the string to be decoded. --- Matt Robertson

RE: SQL question about JOIN

2001-09-19 Thread Alistair Davidson
Chad, These two queries are NOT doing the same thing! In your second query, the FROM statement and WHERE clause FROM JOBINFO, ACTIVITYLOG WHERE JOBINFO.JOBNUM = ACTIVITYLOG.JOBNUM imply an INNER JOIN, not a LEFT OUTER JOIN. This will only select rows from either table where the JOBNUM field

lotus domino and cfserver

2001-09-19 Thread Lorenzo Imperatrice
who use lotus domino server and cold fusion server 4.5??? byz... lore Lorenzo Imperatrice Project Manager [EMAIL PROTECTED] -- PROMOSnet s.r.l. Firenze - Via A. di Duccio, 20/22 Tel. +39 055 7135176 - +39 055 7134740 Fax +39 055 7131634 -

Locking database rows

2001-09-19 Thread Thomas Chiverton
I have an application where one set of people can enter some details about a set of jobs, and another set can review these and approve or reject them, which feeds back to the first set. My problem is how to lock the records in the Oracle database while the 2nd set is reviewing them, so the 1st

RE: Code Red backdoor triggered?

2001-09-19 Thread Matt Robertson
Frank, According to CERT, you're out of luck. You're facing a network disconnect and a ground-up reinstall. http://www.cert.org/tech_tips/win-UNIX-system_compromise.html Naturally you should research this thoroughly before doing something like that. Sorry for the downer.

The New worm bites!!!

2001-09-19 Thread net_man
How are people fighting this thing? It uses Port 80 so filtering is not working well, has anyone else found something to concentrate on to filter at the router or firewall. It is not doing damage since I am patched, but it is creating enough traffic to slow website performance. Thanks,

RE: Listcontains question

2001-09-19 Thread Colin Fyfe
Hi Carlo, If the user is allowed to see page 4, then he would be able to see all pages that contains a 4, so it does not work correctly. cfif listcontains(newlist, #pageid#) cfinclude template=#page# (snipped) Try using ListFind instead of ListContains. ListContains will

RE: cflocation/javascript

2001-09-19 Thread Shawn Grover
You're right, the cflocation would execute before the page is sent to the browser - so the javascript wouldn't get executed. It sounds to me like your root cause is page caching (or more specifically in your case, a lack of page caching). We ran into that Data Missing condition a bunch of

RE: Killing a Structure

2001-09-19 Thread ChristianWatt
Use an onclose javascript to call a page that deletes their name out of the structure, then close that page via java (since you opened with java, netscape shouldn't kick an error to the user). If deleting the struct key is all your doing, it will be almost invisible. I Would also check to see

list messages not being distributed?

2001-09-19 Thread Matt Robertson
Am I the only one not getting list mail? Correction... I've gotten three messages since yesterday afternoon; prior to which I received a steady stream. So the mail hasn't *completely* stopped. Checked my mail server logs and saw no problems there. Overall msg traffic *seems* down, but I'm

Re: Listcontains question

2001-09-19 Thread cf refactoring
You should use ListFind rather than ListContains --- van Wyk, Carlo [EMAIL PROTECTED] wrote: cfif listcontains(newlist, #pageid#) cfinclude template=#page# cfelse cfoutput #application.securityerror# /cfoutput /cfif Regards Carlo = I-Lin

Re: ImageMagick - anyone use with CF?

2001-09-19 Thread Michael Lugassy
If your project needs to create thumbnails, copy/rename/move images alone, just use CFX_IMAGE. http://www.intrafoundation.com CFEXECUTE is easy to use, just read the docs, call the cmd prompt with the right arguments to complete the task for you. Again, I'm not sure how ImageMagik handles

cfhttp connection failure

2001-09-19 Thread FARRAH NG
hi everybody, i am developing a email outbound system in which the send out email page uses CFHTTP to grap a dynamic page ( data from oracle database ) from the same website ( the CF server and the CF source codes are on the same server, but the oracle database is on a different server ).

Re: Listcontains question

2001-09-19 Thread Joseph Thompson
Try ListFind() Also (if you can) build your lists with a good delimiter. the Bell character is great. ListAppend(YourList,YourListItem,chr(7)) Then: ListFind(YourList,AnItem,chr(7)) Hi I have the following piece of code that checks to see if a user can see a specific pageid or not.

RE: I've lost a week's work!!!

2001-09-19 Thread Duane Boudreau
-Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 7:36 PM To: CF-Talk Subject: I've lost a week's work!!! I just had to hard reset my computer while editing a cfm template in coldfusion studio, and when I logged in again

Re: A New CF-Community Site!

2001-09-19 Thread Michael Dinowitz
We've been putting up back issues to catch up but things just keep piling on. I think we're going to jump ahead and do the latest issue and then back track. The weekly alerts (Fusion Authority) are few and far between. -Original Message- From: Erika L. Walker [mailto:[EMAIL

RE: Listcontains question

2001-09-19 Thread Neil Clark
Try using a structure and using Struct Funtions like Find, Get etc... ~~ 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:

RE: File Upload from MAC to PC-HELP!

2001-09-19 Thread Ben Whalley
Not totally clear on this but I do remember we had loads of problems uploading from Macs - think the problem was that some versions of IE didn;t implement file upload properly. I do have a site that does this but only with IE5. Maybe you could check your code (which looks fine at a glance) with

Re: cflocation/javascript

2001-09-19 Thread BEN MORRIS
Perhaps you should re-think the entire process going on here. With form validation, and invalid information is entered, I usually give an error message at the top of the page, and then show the form populated with the information that they have entered. If you really want to be fancy, then

Re: Suggestion to list

2001-09-19 Thread Michael Dinowitz
Its been suggested, its been tried and its been abandoned. In its place we have a TO which is ALWAYS CF-Talk. Filter on that. P.S. remember not to set up two filters on the same message type as it will duplicate the message and you'll think your getting double mail. I just read the comment of

Re: Listcontains question

2001-09-19 Thread David Burt
4,14,3,2,8,44 If the user is allowed to see page 4, then he would be able to see all pages that contains a 4, so it does not work correctly. This code should be what you need: If the user is allowed to see page 4, then he would be able to see all pages that contains a 4, so it does not work

CFContent problem - need urgent help

2001-09-19 Thread Shawn Grover
We have a site that uses the CFContent tag for downloading files to the user. We ran into problems with it today where it is giving us blank/empty files. If we check the physical file, everything is fine. Funny thing is that this is not happening for ALL files, just most. Some files are

Re: I've lost a week's work!!!

2001-09-19 Thread Joseph Thompson
Ouch.. my sympathies. Inspired me to zip and save my project on a remote server! I just had to hard reset my computer while editing a cfm template in coldfusion studio, and when I logged in again found out it was 0 byte!!! All of my week's work is gone (the file was around 15Kb of code).

cfparam on dynamically numbered checkboxes

2001-09-19 Thread Kay Smoljak
Hi all, I have a dynamically generated form, with numbered fields. I have the following code on my action page to set all checkboxes to 0 by default (the hardcoded 50 is for testing purposes): cfloop from=1 to=50 index=p cfset str=form.include #numberformat(p,00_)# cfparam

Custom 404 Question

2001-09-19 Thread Evan Lavidor
I have a custom 404 page that I've got set up as the default missing template handler in CF admin, and as the custom 404 in IIS. I also have a mapping set up in CF Admin named /includes In the template that is my 404 page, I'm trying to do a cfinclude in the following manner: cfinclude

What is cfserver.exe doing?

2001-09-19 Thread Justin Hansen
Is there anyway to tell what page(s) cfserver.exe is running? Our production server cfserver.exe is running very high usage more often than it should for a sustained amount of time. Most of our applications are pretty light and should not be hitting it so hard. So, my boss is freaking out and

Best Bulk Emailers

2001-09-19 Thread Darryl Lyons
What are the best bulk email programs out there that integrate with CF? E.g. Dear functionality --- Regards, Darryl Lyons Senior Systems Developer Fuzion: http://www.fuzion.com.au Email : [EMAIL PROTECTED] Phone : (07) 3620 1000 Fax : (07) 3620 1001

asp help

2001-09-19 Thread Joshua Tipton
Does anyone see a problem with this ' FileName=Connection_odbc_conn_dsn.htm ' Type=ADO ' HTTP=false ' Catalog= ' Schema= ' MM_Lingerie_STRING = dsn=sales;uid=admin;pwd=safe4176; MM_Lingerie_STRING= Provider=SQLOLEDB.1; Network Library=dbmssocn;Password=safe4176;User ID=admin;Initial

RE: Need help with error message.

2001-09-19 Thread Tilbrook, Peter
Probably something to do with the key being URLencoded. -Original Message- From: Chris Bohill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 19 September 2001 1:23 To: CF-Talk Subject: Need help with error message. Can anyone explain why I am getting this error message, when trying to

RE: Listcontains question

2001-09-19 Thread Don Lundgren
Good morning, The ListContains function does not work as you wish it to. You should use the ListFind and ListFindNoCase functions. Here is what the docs say about ListFind. I use this quite a bit. ListFind Returns the index of the first occurrence of a value within a list. Returns 0 if

FW: asp help

2001-09-19 Thread Joshua Tipton
-Original Message- From: Joshua Tipton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 6:29 PM To: CF-Talk Subject: asp help Does anyone see a problem with this ' FileName=Connection_odbc_conn_dsn.htm ' Type=ADO ' HTTP=false ' Catalog= ' Schema= '

test

2001-09-19 Thread Michael Lugassy
test ~~ 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: Listcontains question

2001-09-19 Thread Joshua Miller
2 Possible Solutions off the top of my head: 1. Use List Qualify and then add qualifiers around the data being passed. 2. Use the UDF Below if you're running CF5. This is essentially the same as above, just in UDF form so that it's easy to remember. usage:

RE: SQL question about JOIN

2001-09-19 Thread DeVoil, Nick
There is no reason to, unless you need to make sure that you will get all the relevant records from one or more of the tables regardless of whether they have corresponding records in the other tables. That's what an outer join is for. If you put a row into JOBINFO with no corresponding rows in

RE: Moving from Access to SQL server

2001-09-19 Thread Kola Oyedeji
Hi I have a site which I would like to move from Access to SQl server are there any things I need to be aware of code wise things like dates perhaps? Kola Oyedeji Web developer Macromedia Certified Advanced ColdFusion 5 Developer http://www.Alexandermark.com (+44)020-8429-7300

RE: Killing a Structure

2001-09-19 Thread Neil Clark
Chad, There are probably a few ways to do this; one way I can think of would be to call something on the onBlur() command when the user close the window... maybe call another function which in turn calls either a CF or cfscript function to clear the structure by a popup window. The small window

RE: Listcontains question

2001-09-19 Thread Andrew Scott
Yes listcontains will do this! What you might need to do is something like this:-) Turn the list into an array, then run a loop until you find the first occurrence. Regards, Andrew Scott -Original Message- From: van Wyk, Carlo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 19 September

Encrypting files

2001-09-19 Thread Chad McCue
I am trying to find the best way to encrypt a .txt file or just a credit card number going onto that file. I looked at the encrypt function, but after I encrypt the credit card number, I am writing the results to a txt document for my client to access via ftp. I need my client to have the

JMAIL

2001-09-19 Thread Darryl Lyons
Any ideas how many emails JMAIL can handle? Ie. Could it send 80,000? If not, most likely worth looking into a complete listserv/mailing list system? --- Regards, Darryl Lyons Senior Systems Developer Fuzion: http://www.fuzion.com.au Email : [EMAIL PROTECTED]

RE: Listcontains question

2001-09-19 Thread Tyson Vanek
Try using the listFind() function instead. -Tyson -Original Message- From: van Wyk, Carlo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 4:28 AM To: CF-Talk Subject: Listcontains question Hi I have the following piece of code that checks to see if a user can see a

Re: Listcontains question

2001-09-19 Thread Koo Pai Lao
do a list loop instead. it loops through the list and checks it with the number u are looking for (line 5). If it matches, it includes the tmeplate and breaks off the loop. Then on line 11 it checks to see if it has checked through everything in the list, and if it has and has gotten this

Re: cflocation/javascript

2001-09-19 Thread cf refactoring
Reply follows... --- Garry Red 5 [EMAIL PROTECTED] wrote: We have a problem involving cflocation. In our code we have a user-intensive form, and when this is processed various (complicated) checks are performed to ensure data validity. If the numbers entered do not meet certain

Re: Need some help...

2001-09-19 Thread phumes1
Hi, I'm using cfdirectory to list files in a specific direectory. What I would like to do is have a preference page with checkboxes with all the possible filename extensions. By checking a box(s), this information will be saved and when the user does another listing of that directory only the

RE: Listcontains question

2001-09-19 Thread Sima Lee
Hi , Please use ListFind(newlist,4). There is a difference between listcontains and ListFind, somehow, the following code will print index:2,index2:5: cfset newlist=1,44,5,40,4,50 cfset index=listContains(newlist,4) cfset index2=listFind(newlist,4) cfoutputindex: #index#br index2:

RE: Listcontains question

2001-09-19 Thread Matthew W Jones
for that type of comparison, you might be better served staying away from the listfind or listcontains functions. try something like cfset authorized = false cfloop list=#newlist# index=accessiblePage cfif accessiblePage eq pageid cfset authorized = true /cfif

Re: Killing a Structure

2001-09-19 Thread David Burt
Can you do an onUnload javascript to open a new window calling a cfm page to delete that user from the structure and then use javascript to close the window that was just opened. only problem I see with this is that javasript has to enabled and the user has to let the page load without closing

CF 5.0 Logs

2001-09-19 Thread Neil H.
I thought there would be a way to say after 5 megs of logs clear them or archive them in CF 5.0? Anyone have any ideas on the automation of this? Thanks, Neil ~~ Your ad could be here. Monies from ads go to support these lists and provide more

RE: Listcontains question

2001-09-19 Thread Billy Cravens
Use ListFind() instead --- Billy Cravens Web Development, EDS [EMAIL PROTECTED] -Original Message- From: van Wyk, Carlo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 4:28 AM To: CF-Talk Subject: Listcontains question Hi I have the following piece of code that