XMLFormat() turns single quotes into apos;. Help?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 11:43 AM
To: [EMAIL PROTECTED]
Subject: RE: WDDX Breaking Hidden Field
XMLFormat()
= = = Original message = = =
Thanks.
Yeah, it has to do with the NT permissions. I have the same
problems at times writing to the server when I am logged on as a
power user and not an administrator. You need to go into local
security policies under local policies/uers right assignment/take
ownership of files and add power users etc
Actually, surprisingly, either work :)
Funny... I think the only difference between the two fields comes when you
get into indices. With tables, views, and stored prcedures, they look the
same.
-Original Message-
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Friday, April
Like so:
cfset client.variable#URL.Test# = some_value
OR
cfset evaluate(client.variable#URL.Test#) = some_value
I'm told the first method is a little quicker, and it's obviously less
typing, and easier to read (in my opinion).
Shawn Grover
-Original Message-
From: Andy Ewings
I'll get with the nt admin to help me with this, but..
How does this apply to end-user web users? Or does the iuser account need
to be put into the take ownership of files permission?
Thanks for the help.
Matthew P. Smith
Web Developer, Object Oriented
Naval Education Training Professional
There are custom tags that say they work with UPS's XML API, but I have
never been able to get them to work. I suspect it is because they all use
cfhttp and I believe UPS uses 128 bit SSL which cfhttp does not support. I
want Neo now! :) Anyway, I ended up using msxml to do the tracking.
As to
Have you considered qmail and ezmlm? You can do what your asking with
them.
On Fri, 26 Apr 2002, Scott Weikert wrote:
Any Sendmail and/or listserv gurus out there?
I've got some questions, hopefully you've got answers. This is to do with a
CF project so it's not entirely off-topic. :)
Go to http://aloha-webdesign.com and look at SQLGen 3.0 there is a free demo
with open source code that gets a list of tables, columns etc from
SQLServer, Access.
Download the trial version of the software and you can see how this is done
with the ADO object.
John
-Original Message-
Two years seems reasonable to me - more than most companies give you for
migration. If it makes programmers unhappy, it's b/c they'll realize
that they have been lazy for 2 years.
---
Billy Cravens
-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]]
Sent: Friday,
UPSPrice is the easiest to use and has better features, hands down. But
if UPS decides to they can kill it, and they did so at least once in the
past, when they went to cgi v1.1 (they eventually backed off and brought
it back).
UPSRateMonger requires maintenance, and featurewise is a poor
Add a counter
cfset i = 0
CFLOOP Query=GetFields
cfset i = #1#+1
CFQUERY name=GetValues datasource=#dsn#
SELECT #GetFields.FieldName#
FROM #TableName#
WHERE ID=#ID#
/CFQUERY
CFSET
Where URL.Test=test
cfscript
SetVar('Client.' URL.Test,1)
/cfscript
Now #Client.Test=1#
var. e.g. test=1 and you want client.variable#url.test#.
__
This list and all House of Fusion resources hosted by CFHosting.com. The
Make that
SetVariable('Client.' URL.Test,1)
oops...
Where URL.Test=test
cfscript
SetVar('Client.' URL.Test,1)
/cfscript
Now #Client.Test=1#
var. e.g. test=1 and you want client.variable#url.test#.
__
Get the
Add a counter
cfset i = 0
CFLOOP Query=GetFields
cfset i = #1#+1
CFQUERY name=GetValues datasource=#dsn#
SELECT #GetFields.FieldName#
FROM #TableName#
WHERE ID=#ID#
/CFQUERY
CFSET
Ok, the file from the form is uploaded to the temp directory fine, it bombs
when it hits the cfmail tag.
It works on the development server, but not on the production box. We
looked at both c:\temp and c:\cfusion\mail\spool on both boxes and both have
permissions set up the same.
Matthew P.
cfset x = getValues[colname][rownum]
CFINPUT Name=#x# value=#DefaultValue#
Help me out. I don't get it.
Why isn't this an evaluative action?
David DiPietro
Systems Developer / Engineer
OSU College of Medicine Public Health
Voice (614) 292-5960
Fax (614) 292-0745
-Original Message-
cfset x = getValues[colname][rownum]
CFINPUT Name=#x# value=#DefaultValue#
Help me out. I don't get it.
Why isn't this an evaluative action?
In the strictest sense, it is - you're evaluating a variable to get a value.
However, what Ray is referring to is the use of the Evaluate function,
Has anyone done an S/Mime implementation in CF? I just want to send
encrypted email, not read it.
jon
__
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
Could you post the code from the mail tag?
Success is a journey, not a destination!!
Doug Brown
- Original Message -
From: Smith, Matthew P -CONT(DYN)
[EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, April 26, 2002 11:27 AM
Subject: RE: Problem with CFMAIL attachements
I think that sounds like the best plan. From what I have heard, it's fairly
easy to convert access db's to mySQL.
Cheers
will
-Original Message-
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
[mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 18:01
To: CF-Talk
Subject: RE: double post:
Interesting links. Thanks Stephen.
will
-Original Message-
From: Stephen Galligan [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 17:55
To: CF-Talk
Subject: RE: double post: access2000 on unix. Is it even possible??
www.unixodbc.org
At 02:11 PM 4/26/02 -0400, Raymond Camden wrote:
cfset x = getValues[colname][rownum]
This'll work with Access? I've been reading that evaluate is a bad idea,
but I'm still not clear on what to do instead - if you could explain it, or
suggest a webpage, it'd be great.
T
Here is the entire contents on the mail that it generates(replaced sensitive
with foo):
--
x-cf-version: 4.5.0
x-cf-server: foo
x-cf-port: 25
x-cf-timeout: 60
x-cf-from: [EMAIL PROTECTED]
x-cf-to: [EMAIL PROTECTED]
Pardon me if this has been covered before but why does the code:
cfoutput
#isNumeric('3D2')#BR
#isNumeric('4E2')#BR
#isNumeric('3424234E23')#BR
#isNumeric('6456423D324')#BR
/cfoutput
return 'YES' values? It will work with any combination of numbers as long as
there is at least
why don't you use the urlencodedformat() before serializing the data. this
will take care of any quotes, double quote, pound signs, or any other
character that might cause a problem. then use the urldecode() to convert it
back.
second time
Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL
probably treating the 'e' as exponent. as for the 'd' not a freaking
clue!
-Jeff
-Original Message-
From: Kent Bulmer [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 4:28 PM
To: CF-Talk
Subject: isNumeric Trivia
Pardon me if this has been covered before but why does the
Thanks
David DiPietro
Systems Developer / Engineer
OSU College of Medicine Public Health
Voice (614) 292-5960
Fax (614) 292-0745
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 2:45 PM
To: CF-Talk
Subject: RE: Variable names in CFINPUT
Pardon me if this has been covered before but why does the code:
cfoutput
#isNumeric('3D2')#BR
#isNumeric('4E2')#BR
#isNumeric('3424234E23')#BR
#isNumeric('6456423D324')#BR
/cfoutput
return 'YES' values? It will work with any combination of
numbers as long as there
Dave master of mathematical errata
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 2:36 PM
To: CF-Talk
Subject: RE: isNumeric Trivia
Pardon me if this has been covered before but why does the code:
cfoutput
Hello all,
Is there a cgi variable I could use to tell what page a user came from? Or
maybe a way to pull that from the history through javascript? I'm trying to
find out what page a user has come from when they pop onto an error page.
Thank you.
Ryan Pieszak
Ryan J. Pieszak
Applications
Which of these is best?
1.
cfset x = getValues[colname][rownum]
CFINPUT Name=#x# value=#DefaultValue#
2.
cfset x = #x#+1
CFINPUT Name=#getValues.ColName##x# value=#DefaultValue#
3.
CFINPUT Name=#getValues[colname][rownum]# value=#DefaultValue#
David DiPietro
Systems Developer / Engineer
OSU
Yeah, I was like huh?
Success is a journey, not a destination!!
Doug Brown
- Original Message -
From: Mark A. Kruger - CFG [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, April 26, 2002 12:36 PM
Subject: RE: isNumeric Trivia
Dave master of mathematical
Ryan,
cgi.HTTP_REFERER works...
v/r,
Jeff
-Original Message-
From: Ryan Pieszak [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 3:35 PM
To: CF-Talk
Subject: previous cfm page
Hello all,
Is there a cgi variable I could use to tell what page a user came from? Or
maybe a way to
I just found a reason to be positive about the rumored phaseout...
If they phase out the technology that allows CF_UPSPrice to work, it would
give me a legitimate reason to provide my clients more work at new
billables... (Can't blame me that UPS made a corporate policy change that
impacts
#cgi.http_referer# Should do the trick.. you may have to trim some stuff
off if you need..
Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector v2.0 - Commerce Builder
Hello all,
Is there a cgi variable I could use to tell what page a user came from?
Or
maybe a way to pull
here's a bunch of cgi's
cfoutput
#cgi.Http_Referer# referer
b#cgi.HTTP_WHOIS_ID# -- OSU User/bbr
#cgi.HTTP_WHOIS_ID#br
#cgi.Remote_Addr#br
#cgi.Auth_Type# Auth Typebr
#cgi.Auth_User# Auth userbr
#cgi.Content_Length# Con Lenbr
#cgi.Content_Type# Con Typebr
#cgi.Document_Root# Rootbr
CGI.HTTP_REFERER
-Original Message-
From: Ryan Pieszak [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 1:35 PM
To: CF-Talk
Subject: previous cfm page
Hello all,
Is there a cgi variable I could use to tell what page a user came from? Or
maybe a way to pull that from the
posts not showing up!
__
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ:
Anyone know why single quotes and double quotes that are cut and pasted from MS Word
into a text area change into question marks when inserted into an ORACLE clob column?
It seems to work fine if the user types them directly into the text area. Any work
arounds are appreciated.
Thanks!
Carl
On the topic of CLOB's. How do you insert it when using cfqueryparam?
Shawn McKee
Manager, Web Development
NewsStand, Inc.
8620 Burnet Rd., Suite 100
Austin, TX 78757 USA
512-334-5100
Read newspapers and magazines from around the world in a whole new way.
NewsStand delivers them to your PC
On the topic of CLOB's. How do you insert it when using cfqueryparam?
I've had no trouble using the following with Oracle:
cfqueryparam value=#variable_name# cfsqltype=CF_SQL_LONGVARCHAR
Can't speak for other DBMS platforms though.
Regards,
Dave.
Since I'm using Oracle this sounds like the answer, thanks.
Shawn
-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 3:13 PM
To: CF-Talk
Subject: RE: ORACLE CLOB, single quotes double quotes turn into question
m arks
On the topic of CLOB's.
Sure. Place this in your body tag:
body onload=javascript:window.resizeTo(width,height);
cf_rant
However, I cannot tell you how annoying it is when a web site just
automatically decides to resize my browser window.
/cf_rant
Best regards,
Dennis Powers
UXB Internet - A Web Design and Hosting
Yeah I read this yesterday while looking for an answer to my problem. I
almost tried it, just for the hell of it...
I was able to get my component working to return an array. Thanks for
everyone's advice.
Dave.
-Original Message-
From: Joseph Thompson [mailto:[EMAIL PROTECTED]]
Sent:
I am using a spell check (ben forta's). Has anyone used this and made an
ignore all button?
I'm trying to figure out what the best way to do it...
I look at it thinking it should be easy...
So how do I flag the query output to not show the same word over and over
again as it checks the spelling?
I agree Dennis, a standard website resizing my windows is damn annoying.
That said however, there are legitimate reasons within web applications
where this is extremely useful. We have a few samples of it in our current
app, but I'm not allowed to go into details (cuz of the NDA).
My
I'm enhancing a record edit screen that includes images. If you opened a
record for editing and saved it without changing the images, it was
generating a CFFILE can't find the file to uploard error on a mac. In
the code, there was a conditional if form.image is '' then do nothing,
but it was
Yeah.. Like those silly flash opening windows. Resizes the main browser
screen to the site to full screen. Completely ticks me off.
.. My .02
| -Original Message-
| From: Shawn Grover [mailto:[EMAIL PROTECTED]]
| Sent: Friday, April 26, 2002 1:42 PM
| To: CF-Talk
| Subject:
Yeah them damn designers...
Success is a journey, not a destination!!
Doug Brown
- Original Message -
From: Lee Fuller [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, April 26, 2002 1:50 PM
Subject: RE: Window resize
Yeah.. Like those silly flash
On the mac, often a carriage return is appended to the form fields, so the
check to see if the field is empty will not work.
Try using a Trim() on the upload field.
bd
At 04:48 PM 26/04/02 -0400, you wrote:
I'm enhancing a record edit screen that includes images. If you opened a
record for
if MS Smartquotes is turned on, cutting and pasting into Oracle/SQL Server will blow
up.
christopher olive
cto, vp of web development, vp it security
atnet solutions, inc.
410.931.4092
http://www.atnetsolutions.com
-Original Message-
From: Carl [mailto:[EMAIL PROTECTED]]
Sent: Friday,
Trim() was the first thing I tried. But the value of the field was not a
space or carriage return, but something like c:WINNT\TEMP\SomeFile.tmp
which I thought was weird. How was a path existing on the server get
into the form field?
Brook Davies wrote:
On the mac, often a carriage return is
Hey All,
Any difference in performance between using a
cfswitch
cfcase
/cfcase
/cfswitch statement
and using
cfif
cfelseif
/cfif statement?
Does anyone know which is faster and why?
Thanks
__
Do You Yahoo!?
Yahoo! Games - play
cfswitch is much faster ... but both are usable in different situations ...
look through the archives, others have done tests and outputed their
variances
I am assuming it is faster because it doesn't have to evaluate an expression
and just has to evaluate a value.
Paul Giesenhagen
Come to CFUN-02 ColdFusion Conference in 6 weeks - speakers include
famous CF authors and speakers Ben Forta, Charlie Arehart, Michael
Dinowitz, Steve Drucker and Hal Helms. You get two days chocked full
of hidden CF tips and methods and learn about the new version of
ColdFusion - CF MX -
Hello.
I have a fusebox application I am working on and need some advice.
I have a custom tag around each index.cfm file in each circuit of the application.
In one circuit I have a page that displays a form. The user fills out the form and
submits it. Well I then have a fuse called
Thanks Christopher! That's the problem.
Carl
- Original Message -
From: Christopher Olive [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, April 26, 2002 4:55 PM
Subject: RE: ORACLE CLOB, single quotes double quotes turn into question
marks
if MS Smartquotes is turned
form.fieldNames will give you a list of the form elements and then
all you need to do is loop through the list and copy it over to
the caller scope. The below code should accomplish this. There may
be an easier way and if so, someone chime in.
IE
cfloop list=#form.fieldNames# index=i
cfset
Good question. I recall seeing this happen also. I thin we solved it like this:
cfif trim(formfield) is not and listlast(formfield,.) is not tmp
cffile action=upload blah blah
/cfif
bd
At 05:06 PM 26/04/02 -0400, you wrote:
Trim() was the first thing I tried. But the value of the
what I need to do is copy that structure (form) so that it will be
available to the calling template.
The Form structure should be available by default to all templates
within the request - no need to copy to make it available to custom
tags.
- Gyrus
- [EMAIL
If you're using CF 4.5.x or higher, you should use the SCOPE
attribute when locking memory variables, and the NAME attribute
for locking other things, like CFX tags, if they need to be locked.
Is the goal in locking a CFX tag to prevent two users from accessing the
tag simultaneously? So if
cfloop list=#form.fieldNames# index=i
cfset #form_element# = FORM. #i#
cfset formfields = #evaluate(form_element)#
Ack, no. The Form scope is a structure. To get form data, you don't need
evaluate:
cfset formfields = form[i]
I knew that Raymond, I was just testing you :-)
Success is a journey, not a destination!!
Doug Brown
- Original Message -
From: Raymond Camden [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, April 26, 2002 7:55 PM
Subject: RE: Copying a structure
cfloop
Brook Davies wrote:
Good question. I recall seeing this happen also. I thin we solved it like this:
cfif trim(formfield) is not and listlast(formfield,.) is not tmp
cffile action=upload blah blah
/cfif
bd
I used: ...and Find(.tmp,form.fieldname) eq 0 etc. Is the browser
trying to
101 - 164 of 164 matches
Mail list logo