> What is the best way to strip CRs and LFs from a string?
Should do the trick.
- Sean
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-
> The key's all set up properly, but it just finds nothing if you
> browse to it...
> we've set the SSL port to be 443 in IIS, so it should know it
> exists. We've also
> set the IP and headers with that port.
>
> We're definitely using the URL the key was registered for.
>
> Any ideas?
You aren'
> Does anyone have any experience setting up Cluster Cats or any other solid
> backup/failover server system?
ClusterCats is a software based web server load balancing service. It will
do you absolutely no good if your DB server dumps it's motherboard again.
For true fault tolerance you would ne
> Ok I have found that when i return alot of returns to a page,
> 5000+ it adds
> quite a bit of time to the processing on the CF side with displaying the
> information as opposed to it being database bottleneck.
My guess is that it's less of a CF issue and more of a bandwidth issue.
Like, how la
> Actually I was think of writing a little VB app that would allow
> you to save
> all studios settings as wddx ,would many people be interested in this?
Ooh. That would be a beautiful thing. Having to recustomize every time I
reinstall the OS or switch machines is tedious. I would love to be abl
OK, so I really want to update to 4.5.2, particularly for the "remembering
that your in an RDS session". However, I have customized the crap out 4.5.1
and I am scared off by these mails that say the 4.5.2 installer kills your
snippet and hotkey settings.
Is there any way to back these up? Or have
Remember, you don't HAVE to use the sortby for each row (you were already
onto that with your grouping idea. Just set the field default to like 99 and
then only specify a sortby value for rows you want at the top.
You can order by more than one column too, so order by "sortby" first, then
"countr
I usually add a "sortby" field to all my lookup tables. Make it a smallint
and then populate it with 1,2,3,4,5 depending on the way you want the
Dropdown sorted. Then just do one query and order by "sortby". This gives
youthe most flexibility. If you want Boston at the top for some reason, you
can
> The need to deliberate the issue further is a mute point."
Ouch. Does he/she mean "moot" point perhaps?
I feel for you.
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
(t) 207.439.6030
om the IP address of
your CF machine? If not, that's why your mail fails.
Good luck.
- Sean
~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
(T): 207.363.7374
(C): 207.332.6340
~~
http://www.dealforce.com
http://www.mer
The statement should be:
DELETE from auction_records where auction_id='#id#' and userid='#userid#'
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
(t) 207.439.6030
(c) 207.332.6340
~~
The custom tag does almost exactly that. You can get
it at www.fusebox.org.
- Sean
~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
(T): 207.363.7374
(C): 207.332.6340
~~
http://www.dealforce.com
http
blem before too, but I was positive they were
running 4.5.1. Now I check and see they are running 4.5.0. Must have
reinstalled for some reason.
Thanks!
- Sean
~~~~~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
(T): 207.363.73
the IT guy at the company the SMTP
service is working.
- Sean
~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
(T): 207.363.7374
(C): 207.332.6340
~~
http://www.dealforce.com
http://www.mergernetwork.com
anyone advise?
Press F9 ?
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
(t) 207.439.6030
(c) 207.332.6340
http://www.dealforce.com
http://www.dealstream.com
htt
IMS is out. I can only
use coldfusion custom tags that can be called with cfmodule.
TIA.
- Sean
Sean Daniels
Manager, Engineering
Marketplace Technologies
(t) 207.439.6030
(c) 207.332.6340
http://www.dealforce.com
http
ape = true; }
// form field params
fieldsize.text = iif(netscrape,20,40);
fieldsize.textarea = iif(netscrape,30,60);
I only do this for Netscape vs. IE, but the concept could be expanded to
account for the Mac versions as well, methinks.
- Sean
~~~
('#id#','#jsstringformat(recordname)#')
Thanks for the help, Courtney.
- Sean
~~
Sean Daniels
Manager, Engineering
(T): 207.439.6030
(C): 978.764.0799
~~
http://www.dealforce.com
http://www.mergernetwork.com
>
>
> (escape single quotes by replacing them with \')
But are single quotes the only evil things I need to watch out for? If so,
woo hoo! But I kind of doubt it?
- Sean
~~~~~~
Sean Daniels
Manager, Engineering
(T): 207.439.6030
(C)
I've gotten in the habit of using jsstringformat in several of my apps. Now
I've got one that I have to deploy in a CF 4.01 environment. Anyone out
there have a custom tag or regex expression that will accomplish the same
thing?
TIA
- Sean
~~~~~~
Sean Daniels
t run though. All it does by the way is
increment a counter in a db table.
TIA
- Sean
~~~~~~
Sean Daniels
Manager, Engineering
(T): 207.439.6030
(C): 978.764.0799
~~
http://www.dealforce.com
htt
Thank you very much, this will work beautifully.
By the way, I liked the map suggestion too, but not practical for the GUI
implementation. Thanks.
- Sean
~~
Sean Daniels
Manager, Engineering
(T): 207.439.6030
(C): 978.764.0799
~~
http
Anyone out there have a custom tag or data table that would allow me to
easily include a select box for choosing time zone?
TIA
- Sean
~~
Sean Daniels
Manager, Engineering
(T): 207.439.6030
(C): 978.764.0799
~~
http://www.dealforce.com
r for any of those statements.
Try:
select *
from tbl
where 1=1 or
id = #id# or
name = #name# or
1=1
- Sean
~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
(T) 207.439.6030
(C) 978.764.0799
~~~
ou need to install IIS 5 from the Windows 2000 CD. Just stick the CD in and
click "Add Components" or something like that. IIS should be the one
selected by default.
By the way, if you are running Win2k Pro, as opposed to Server, you will
only be able to host one site with IIS.
- Sean
I am looking for a groupware solution written in CF, preferably open source.
Anyone have any recommendations? Primarily I need calendar, task management,
discussion functionality.
TIA.
- Sean
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL
t I cannot find it ..
onrequestend.cfm
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
tel: 207.439.6030
cel: 978.764.0779
http://www.dealforce.com
http://www.dealstream.com
http://www
cs for the tags.
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
tel: 207.439.6030
cel: 978.764.0799
http://www.dealstream.com
http://www.mergernetwork.co
ean
~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
tel: 207.439.6030
cel: 978.764.0799
http://www.dealstream.com
http://www.mergernetwork.com
http://www.dealforce.
ersion which retails for
> something like $30K ... is there something cheaper than that -- what do
> most people do for their web sites??
I have purchased the internet connector license for each SQL 7 server I run.
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
> why not just insert
>
> '#DateFormat(Now())# #TimeFormat(Now())#'
Or, you can use the RDMS native function. I'm not sure how widely supported
this is, but for example in MS-SQL you can use:
insert into table (datefieldname)
values (getdate())
- Sean
~
uery:
last_name = '#lname#'
...
- Sean
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
tel: 207.439.6030
cel: 978.764.0799
http://www.dealstrea
le are the same you can "UNION" them I think.
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
tel: 207.439.6030
cel: 978.764.0779
http://www.dealforce.com
http://www.dealstream.com
http://www.m
ent
that contains the images to preload.
- Sean
~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.dealstream.com
http://www.mergernetwork.com
tel: 207.439.6
ous account IIS uses has script permission (RX) on the
directory.
Also, make sure that the web service --> Properties --> Home Directory -->
Script Source Access is checked. (?)
Not sure about that second one.
Hope this helps.
- Sean
~~~~
Sean Daniels
the problem?
> :-)
This is what I would have suggested. One way to make it slightly more
elegant (eloquent, whatever) would be to stuff that code into a custom tag.
Then whenever you need to authorize, just call the custom tag:
- Sean
Sean Daniels
M
gn key in the history table. That
makes a lot of sense.
Thanks to everyone for the feedback.
- Sean
~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.dealstream.com
http://www.mergernetwork.com
te
anks in advance for any advice.
- Sean
~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.dealstream.com
http://www.mergernetwork.com
tter in IE 5 than Netscrape,
but, what are you gonna do?
- Sean
~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.dealstream.com
http://www.mergernetwork.com
tel: 207.439.6030
Are you using the method="post" attribute in the form tag?
Another suggestion would be to scrutinize how the form and /form tags are
nested. Anything weird there?
Otherwise, try posting the code here, maybe that would reveal something.
- Sean
~~~~
Sean Danie
some of the articles are rather long for a normal
> text field.
Textarea doesnot have a value attribute. Use the following:
#body#
It is also useful to apply the trim() function to the body variable, to
prevent any addition whitespace.
- Sean
Sean Daniels
Manag
op?
One way to do this:
#i# week/year
or, less complicated looking:
#i# week/year
#i# week/year
Hope this helps.
- Sean
~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.dealstre
. There
were a number of cfmail related problems in 4.5.0.
If you already have 4.5.1, go to the admin page, click Mail under
Miscelleneous, and change the "Spool Interval" to 15. It will then send
spooled mail every 15 seconds.
- Sean
~~~~
Sean Daniel
, so if
you are using SSL, you need a distinct IP address for each site.
- Sean
~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
tel: 207.439.6030
cel: 978.764.0779
http://www.dealforce.com
http:
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.dealstream.com
http://www.mergernetwork.com
tel: 207.439.6030
cel: 978.764.0779
--
Archives
> ReplaceNoCase(strClean, "", Chr(13),"ALL")
>
> What am I missing.
Try this:
")
Or, even easier:
HTH
- Sean
~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.dealstrea
o that string to
> make the link 'clickable' within the text.
>
> Is this too far out there?
Curt,
I have a custom tag that will do this. Contact me off list if you are
interested.
- Sean
Sean Daniels
Manager, Engineering
Marketplace Technologi
ect me if I'm wrong, but it sounds like a great leap
forward to me. And I currently know very fundamental Java (although I want
to learn and use it more).
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.deals
nd ASCII to hex conversions?
I have a Java book with conversions in the appendix and you are correct.
0x1C is ASCII 28.
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.com
tel: 207.439.6030
ce
> Code are passed as
> selState = 'AL,AK,AS,AZ,AR,CA,CO,CT,DC,DE,FL,GA'
>
> I wonder if there is a way to make the list like
> selState = 'AL','AK','AS','AZ','AR','CA','CO','CT','DC
o Titlecase and works like a champ.
- Sean
~~~~
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.com
tel: 207.439.6030
cel: 978.764.0779
--
documented problem?
TIA.
- Sean
~~~~
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.com
tel: 207.439.6030
cel: 978.764.0779
-
I saw this once. It happened when the name of the first query was the same
as the variable name. Is the name of your first query "project" by any
chance? If so, you are overwriting the variable with the query structure.
- Sean
~~~~
Sean Daniels
Manager, E
e properties.
There are two toggles for auto-including all files and all sub-folders. The
subfolders take on the properties of the parent unless told otherwise.
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http:/
d find /
replace dialog is to search through an entire project.
My guess is that this would be painfully slow in a remote situation.
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.com
tel:
27;ll end up having to do anyway.
Good luck.
- Sean
~~~~
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.com
tel: 207.439.6030
cel: 978.764.0779
--
d be aware of it.
>
> ...just thought it was interesting -emily
That is interesting indeed. Thanks for the research!
- Sean
~~~~~~~~
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.com
tel: 207.439
> I have a varchar field size 255 in sql. I want to display only
> the first 6
> words in this field. How do I go about doing that?
Treat the string as a list - delimited by spaces:
#newWords#
- Sean
~~~~
Sean Daniels
Manager, Engineering
DealS
> Can info be formatted someway when called like this?
Tim,
You can use the function: htmleditformat(myVariable)
Good luck and welcome aboard.
- Sean
~~~~
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.
ink all he's missing are
the #'s.
- Sean
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.com
tel: 207.439.6030
cel: 978.764.0779
--
Archives
do this?
> Thanks inadvance
You can use loops instead:
- Sean
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.com
tel: 207.439.6030
cel: 978.764.0779
-
te. Like:
Also, WOW! That's a long index name! Don't you get fairly sick of typing
that?
- Sean
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream
> Is there a handy URL for getting the 4.5.1 update? I poked around
> Allaire's site and came up empty.
http://beta.allaire.com
- Sean
~~~~
Sean Daniels
Manager, Engineering
DealStream.com
[EMAIL PROTECTED]
http://www.dealstream.com
~
tever the latest release candidate is.
(knock on wood).
However, I've heard others on this list say 4.5.1 didn't fix their mail
issues.
I'd bet it's worth a try on a non-production box though. I think the only
other sure fix is to roll back to 4.0.1.
- Sean
~~
aphic I don't understand why it's taking that
> long.
I had the same experience. It was a great quiz, well thought out and a nice
interface, but damn, that two minute wait between questions was painful.
- Sean
Sean Daniels
Manager, Eng
> INSERT INTO test_tbl
> string = '#evaluate("formstring#stringTypeID#")#'
How about:
INSERT INTO test_tbl
string = '#preservesinglequotes(evaluate("formstring" & stringtypeid))#'
- Sean
Sean Daniels
Manager,
Are you using in the same script that you set the cookie? If
so, this is your problem. will not work when followed by
. Yu should use a javascript redirect or meta refresh instead.
> -Original Message-
> From: Jason Egan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 06, 2000 3:12
> Can anyone tell me why it takes IE4 forever to bring up this
> dynamic path. IE5 and NS4 flys to it with no problem. The
> DataChunks.DCNAME variable is generated by a query.
>
> url="../datachunks/#Trim(DataChunks.DCNAME)#/index.cfm" addtoken="No">
The last time a had a problem like this was
CSS is true, however, it's interpretation
of the spec is weak. I've found that a ton of IE stuff doesn't come out
right in Netscape.
Oh well.
- Sean
~~~~~~~~~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
"good thing" as Martha Stewart would say.
- Sean
~~~~~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
~
tel: 207.439.6030
cel: 978.764.0799
Fax: 240.269.6319
> -Original Message-
> From: [
to reinvent the wheel.
Thanks,
- Sean
~~~~~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
~
tel: 207.439.6030
cel: 978.764.0799
Fax: 240.269.6319
--
Archives: http://www
ality is hardly trivial.
- Sean
~~~~~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
~
tel: 207.439.6030
cel: 978.764.0799
Fax: 240.269.6319
--
Archives: http:
submitted bugs to the beta forum, but haven't
gotten much response.
I wish I could believe that all this is due to the fact that I'm using a
beta, but I just don't have the confidence that all these issues will be
fixed.
Oh well, it's still a superior tool. It's nice to ve
is helps.
- Sean
~~~~~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
~
tel: 207.439.6030
cel: 978.764.0799
Fax: 240.269.6319
--
Archives: http://www.eGroups.c
pplication Construction
Kit.
- Sean
~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
~
tel: 207.439.6030
cel: 978.764.0799
Fax: 240.269.6319
--
Archives: h
. All you need to do is
put the icon you want to use in the root of your web site directory and name
it "favicon.ico".
IE 5 takes care of the rest.
- Sean
~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
~
tel
e(varDate) :-)
SELECT *
FROM myTable
WHERE myDateTime >= #createodbcdate(varDate)# and myDateTime <
#createodbcdate(dateadd("d",1,varDate))#
Have fun.
- Sean
~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
s creates a "Universally-Unique" id value with a mask of
---.
It's a handy thing, but make sure you are running at least CF 4.01.
CreateUUID() was introduced in that version.
- Sean
~~~~~
Sean Daniels
Manager of Engineeri
nd your form field
was 'bolts', the record would match.
Is that what your are trying to do?
- Sean
~~~~~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
~
tel: 207.439.6
.
Then the rest of the site is built around those variables.
- Sean
~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
~
tel: 207.439.603
tuation, I feel your pain.
- Sean
~~~~~
Sean Daniels
Manager of Engineering
DealStream, Inc.
[EMAIL PROTECTED]
~
tel: 207.439.6030
cel: 978.764.0799
Fax: 240.269.6319
--
Archiv
> Maybe you noticed, but the submit button in this code is all
> wrong, it should
> say:
>
> :>
>
> That may sort it out..
>
> :> -Original Message-
> :> ENCTYPE="multipart/form-data">
> :> http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion
101 - 182 of 182 matches
Mail list logo