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
|
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
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
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
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
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
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
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
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
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
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
. 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
-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
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
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
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
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
*
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
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
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
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,
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
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
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
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
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
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,
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
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
29 matches
Mail list logo