cfhttp again...

2001-04-19 Thread Holger Lockertsen
throwonerror="yes" On another server running the same configuration, the code runs well. Any more issues with cfhttp I should be aware of? || Holger Lockertsen - [EMAIL PROTECTED] || Sentralbord: +47 23 00 53 00 || Direkte: +47 23 00 53 04 || Mobil : +47 91 83 20 51 |

RE: Find Character in a string

2001-04-19 Thread Holger Lockertsen
One suggestion: If you know there will be only one "" in the string: cfif listlen(string,"") GT 1 cfoutput#Listlast(string,"")#/cfoutput cfelse The string didn't contain "" /cfif rgds || Holger Lockertsen - [EMAIL PROTECTED] || Sentralb

RE: Javascript turned off

2001-04-19 Thread Holger Lockertsen
If you have a template where javascript would cause problems then why have javascript there in the first place? It is not possible to alter security settings in the browser... fortunately. :) rgds || Holger Lockertsen - [EMAIL PROTECTED] || Sentralbord: +47 23 00 53 00 || Direkte: +47 23

RE: Dynamic Image Resize

2001-02-06 Thread Holger Lockertsen
Why would you want that? - Unless you want truly crappy-looking images? Although it surely can be done, there's only one way of doing this nicely - and that is to use flash. rgds * Holger Lockertsen, Solutions Developer * Pixelduck AS - Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03

RE: Detecting a mac

2001-02-06 Thread Holger Lockertsen
Try this: cfif cgi.http_user_agent CONTAINS "mac" AND cgi.http_user_agent CONTAINS "msie 5.5" cf_dosomething /cfif * Holger Lockertsen, Solutions Developer * Pixelduck AS - Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMA

RE: Detecting HTTP_USER_AGENT

2001-02-01 Thread Holger Lockertsen
ent# could be #URL.http_user_agent#, #FORM.http_user_agent#, #session.http_user_agent# and so on... rgds * Holger Lockertsen, Solutions Developer * Pixelduck AS - Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMAIL PROTECTED] * http://www.pixelduck.com/ -Origin

RE: Great idea Adam! [Was: Re: Adam, you got to be kidding?

2001-01-19 Thread Holger Lockertsen
javascript and cookies enabled, but then again - I wish for world peace as well... Have a nice day! rgds * Holger Lockertsen, Solutions Developer * Pixelduck AS - Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMAIL PROTECTED] * http://www.pixelduck.com

RE: Action on image

2001-01-18 Thread Holger Lockertsen
Is this what you're looking for? On the template where you're viewing the image: img src="template.cfm" border=0 On template.cfm: some cfcode /some cfcode cflocation url="theimage.gif" addtoken="no" rgds * Holger Lockertsen, Solutions Developer * Pixelduck A

RE: Adam, you got to be kidding?

2001-01-18 Thread Holger Lockertsen
always develope webpages with basic functionality that everyone can use. Submitting a form is in my mind considered basic functionality. Crossbrowser-compatibility is not only a question of brand, but of version and enabled options as well. rgds * Holger Lockertsen, Solutions Developer * Pixelduck

RE: string to number

2001-01-18 Thread Holger Lockertsen
You want this: CFSET Grp = form.adult + form.children When setting quotes around it, CF assumes it's a string. rgds * Holger Lockertsen, Solutions Developer * Pixelduck AS - Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMAIL PROTECTED] * http://www.pixelduck.com

cfcache action=flush

2001-01-17 Thread Holger Lockertsen
le after this. Since deleting the tmp-files with cffile was not recommended, I hoped that cfcache action="flush" directory="http://www.theurl/cache/" would solve it... TIA, rgds * Holger Lockertsen, Solutions Developer * Pixelduck AS - Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway

RE: Kooky Form Field/List question.

2000-11-20 Thread Holger Lockertsen
. Any thoughts? Do #evaluate(test)# instead of #FORM.#test##. like this: #test#: #evaluate(test)# rgds * Holger Lockertsen, Solutions Developer * Pixelduck AS - Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMAIL PROTECT

RE: hey I can't see my posts

2000-06-06 Thread Holger Lockertsen
-Original Message- From: Tom Rainey [mailto:[EMAIL PROTECTED]] If you're reading this would you please respond to [EMAIL PROTECTED] please. I can't see any of my posts and I need a reality check. Who doesn't...? :) * Holger Lockertsen, Solutions Developer, Horisont Information

RE: Problem with Query command

2000-05-23 Thread Holger Lockertsen
eldnames) FROM YourTable ORDER BY The_ID /cfquery If you append DESC to the order by-line, then the records will be sorted with the last records first. The max()-function in SQL is only designed to get the highest value of one field. Useful for getting the ID of the last record added to the databa

RE: Remote Monitoring

2000-05-16 Thread Holger Lockertsen
Take a look at ipMonitor from Mediahouse (http://www.mediahouse.com/) Works fine for us. * Holger Lockertsen, Solutions Developer, Horisont Information Systems AS * Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMAIL PROTECTED] http://www.horisont.no/ NB

RE: CSS2

2000-05-12 Thread Holger Lockertsen
a href="link.html" style="color: #00"Link/a That way you can specify the color on one specific place... OR: Specify another class in your stylesheet: A.alternate {color: #00;} Then use a href="link.html" class="alternate"Link/a * Holger L

RE: A replace question

2000-05-10 Thread Holger Lockertsen
Remove "..\" this way: cfif string CONTAINS "..\" cfset string = Replace(string, "..\", "", "All") /cfif Serving MP3's on the web is illegal you know... ;-) * Holger Lockertsen, Solutions Developer, Horisont Information Systems AS *

RE: Need help reducing the number of queries

2000-05-10 Thread Holger Lockertsen
Art. If this is a standard parent/child table of categories, you should look at CFX_MakeTree - You find it in the Tag-gallery. Or even CFX_fMakeTree which is the same as CFX_MakeTree but displays how you sort the query. The tag will make a tree based on all your categories. Rgds * Holger

RE: Stripping characters from the beginning of a string...

2000-05-10 Thread Holger Lockertsen
On the action-page: cfif left(FORM.string, 4) IS "the " cfset FORM.string = RemoveChars(FORM.string,5,len(FORM.string)) cfelseif left(FORM.string, 2) IS "a " cfset FORM.string = RemoveChars(FORM.string,3,len(FORM.string)) /cfif * Holger Lockertsen, Solutions

Error

2000-05-08 Thread Holger Lockertsen
emplate] Different templates at different times... And I have a suspicion that these are connected with a problem we have had with 100% CPU-load by the CF-server. Has anyone seen anything like it? TIA rgds * Holger Lockertsen, Solutions Developer, Horison

RE: Processing multiple selections from a select list box

2000-04-06 Thread Holger Lockertsen
On the actionpage: cfloop list="#FORM.dlo_id#" index="id" cfquery name="ins" datasource="YourSource" INSERT INTO YourTable (YourField) VALUES (#id#) /cfquery /cfloop rgds * Holger Lockertsen, Solutions Developer,

RE: HTML question about spacer GIF's

2000-04-06 Thread Holger Lockertsen
ow how NS5 will be different from NS 4.x? Will the CSS-implementation be better? Will the pixel-difference be gone? Have you checked out Mozilla? rgds * Holger Lockertsen, Solutions Developer, Horisont Information Systems AS * Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 5

RE: Help, still having trouble uploading Mac Image Files.

2000-04-05 Thread Holger Lockertsen
Encountered the same problem here. The workaround was to ask the user to use Netscape instead - because _Microsoft_ Internet Explorer on the Mac didn't work with _Microsoft_ NT... Believe that! rgds * Holger Lockertsen, Solutions Developer, Horisont Information Systems AS * Nedre Slottsgate 5

RE: Help refresh in frame

2000-04-05 Thread Holger Lockertsen
I do the same by adding '?n=#timeformat(now(),"hhmmss")#' to the templateurl. I always get a fresh page. * Holger Lockertsen, Solutions Developer, Horisont Information Systems AS * Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMAIL PROTECT

RE: Onchange submit

2000-04-05 Thread Holger Lockertsen
This works great for me... At least in MSIE and NS 4 and above form select name="id" onchange="submit(this)" option value=""id/option /select /form rgds * Holger Lockertsen, Solutions Developer, Horisont Information Systems AS * Nedre Slottsgate 5, N-0157 OSLO, N

RE: session disable

2000-04-05 Thread Holger Lockertsen
If you are disabling sessionvars on a particular page, then you can use: cfset exit = StructClear(session) rgds * Holger Lockertsen, Solutions Developer, Horisont Information Systems AS * Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMAIL PROTECTED] http

RE: Can I CFLOOP this?!?!?

2000-04-05 Thread Holger Lockertsen
This would do it I guess... cfset ques1=0 cfloop from="1" to="37" index="i" cfset ques1 = ques1 + evaluate("DIRCOUNT" i ".CNT" i) /cfloop rgds * Holger Lockertsen, Solutions Developer, Horisont Information Systems AS * Nedre Slottsgate 5,

RE: query.recordcount woes...

2000-04-05 Thread Holger Lockertsen
task=loginfailure" cfelse cflocation url="Main.cfm?UserID=#checklogin.UserID#" /cfif rgds * Holger Lockertsen, Solutions Developer, Horisont Information Systems AS * Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMAIL PROTECTED] http://www.horisont.no/ N

Increased CPUload

2000-04-04 Thread Holger Lockertsen
We are running CF on a dual processor Intel-machine. I finally upgraded from 4.01 to 4.5 and everything seemed to work nicely, but we have experienced a dramatic increase in CPU-load by the cfserver. Does anyone know of any issues with this? * Holger Lockertsen, Solutions Developer, Horisont