Re: 8.0.1 webservice compile errors

2008-10-07 Thread Ben Doom
It appears that if I rename the cfc's, they then work. However, the files are not just used internally -- they are connected to by outside websites. Suggestions? --Ben Doom ~| Adobe® ColdFusion® 8 software 8 is the most

Re: 8.0.1 webservice compile errors

2008-10-07 Thread Ben Doom
The refreshWSDL attribute didn't work. I cannot create the webservice in the Administrator, which is weird. I've also tried deleting the stubs and restarting the CF service. --Ben Doom You might try restarting CF or try using cfinvoke with refreshWSDL=true. It sounds like CF has cached

8.0.1 webservice compile errors

2008-10-06 Thread Ben Doom
We're running a pair of CF 8 Standard Servers. Since installing the 8.0.1 updater, webservices have been giving me a headache. Each server runs a different site, and they are integrated by web services. Some of these services return complex values, defined by CFCs with no methods, only data.

Re: problem with cfdocument and font size

2008-03-05 Thread Ben Doom
Try styling the li instead of the containing div. --Ben Doom Rick Root wrote: Okay I'm having this very strange issue with cfdocument. My document has a couple of pages, and there is a header and footer. I can't seem to get the font size in my footer to do what I want. footer code

Re: SPAM: Macromedia 'Certified Professional' Pin

2008-03-04 Thread Ben Doom
Sounds about right. I got one for being a MX6 Advanced Developer. I wore it the day we got it, as a gag, but then it went in a drawer. It's probably in a box somewhere in my apt. --Ben Doom Andy Allan wrote: I think I got a pin for the CF6 exam but I definately didn't get one for CF7

Re: Prevent users from voting twice.

2008-02-29 Thread Ben Doom
What's to stop someone from stealing/hacking/gaining from friends physical devices? I think we're down to fingerprints, DNA scans, and retinal imaging. But your point is taken. :-) --Ben Doom Tom Chiverton wrote: On Thursday 28 Feb 2008, Ben Doom wrote: You can never completely eliminate

Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Ben Doom
with / as a delimiter. HTH. --Ben Doom Adrian Lynch wrote: Sorry again for the OT. I have a URL in the form: /with/item1/item2/item3/ Where there can be any number of items. Is there a RegEx to deal with this? I could cap the number of items to something acceptable, but either way would

Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Ben Doom
that the item list is the last bit of the URL, which may or may not be true. --Ben Doom Russ wrote: The simplest way would be to write a rule for each item up to a max that you think you'd hit RewriteRule ^something/([^/])+/*$ /somefile.cfm?items=$1 RewriteRule ^something

Re: Failing gracefully when using xmlParse()...

2008-02-29 Thread Ben Doom
You could use cfhttp to load the xml data into a variable, then parse the contents on a successful retrieval. --Ben Doom Che Vilnonis wrote: How can I fail gracefully when using xmlParse and the feed is not available/online? cfset xmlFeed = xmlParse(http://www.somedomainwithrssfeed.com

Re: Prevent users from voting twice.

2008-02-28 Thread Ben Doom
as a single IP. Add to that that if I go home or use a proxy (like a free internet proxy, or the TOR system) I could vote many times. You can never completely eliminate the possibility of someone voting early and voting often, but using a registration system or cookies can make it more reliable. --Ben

Re: SOT - SQL Union Problem

2008-02-28 Thread Ben Doom
. You'll have to select empty strings for the columns that are only present in one or the other table. This should give you a result set where you either have the addresses from one, or the other, or both. You can make display (or further processing) decisions based on that. --Ben Doom Mark

Re: How accurate is IP address / Geocode lookup?

2008-02-28 Thread Ben Doom
From what I understand, it's usually the ISP. However, it is often the last hop before the actual client, so it would only be inaccurate if, say, the person was in TN and the ISP was in KY. That said, at my last job, we were in KY, and we showed up as in (I think) PA, since that was where

Re: Interesting idea for next CF - thoughts...

2008-02-27 Thread Ben Doom
. Sorry to be so negative, but I just don't see it. --Ben Doom John Skrotzki wrote: As I was doing my stuff today I had an interesting idea and wondered what others thought. In a nutshell it would be cool to be able to have a HINT attribute for every CFML tag for VERY SHORT comments. I know

Re: Coldfusion 8 and Win 2003 problems

2008-02-25 Thread Ben Doom
It sounds like your permissions on the directories got hosed, possibly by changing permissions to allow the ASP extensions. That is, of course, mostly a guess. As a sidebar, why are you not running SP2 on your production machine? --Ben Doom Ali Awan wrote: I have an application running fine

Re: I ma stuck here . In coldfusion query

2008-02-20 Thread Ben Doom
You are trying to select where menuId = foundOn. I'm guessing foundOn is a text field. Check your subselect. --Ben Doom erik tom wrote: I have a column datatype text. And when i try to run the query I get the error [Macromedia][SQLServer JDBC Driver][SQLServer]Operand type clash: text

Re: I ma stuck here . In coldfusion query

2008-02-20 Thread Ben Doom
special tricks. If you need more of a pointer than that, Google the terms first. It's a pretty basic db concept. --Ben Doom erik tom wrote: You are trying to select where menuId = foundOn. I'm guessing foundOn is a text field. Check your subselect. --Ben Doom erik tom wrote: I have

Re: OT - Box has been attacked by cowboy

2008-02-15 Thread Ben Doom
Yep. They basically let you do whatever. We used to host with them. --Ben Doom Josh Nathanson wrote: That is the moral equivolent of holding a car rental company liable for accidents caused by people that rent the cars. The responsibility for the security for *unmanaged* servers

Re: OT - Box has been attacked by cowboy

2008-02-15 Thread Ben Doom
fix for security is not a reasonable solution. --Ben Doom Don L wrote: On the contrary, it's the only useful answer. If you have a known vulnerability, you have to fix it. The answer may not be as simple as put up a firewall, but if someone from Texas was able to get to your database

Re: all possible letter combinations

2008-02-14 Thread Ben Doom
In pseudocode: function f(sofar, more) { array strings foreach letter in more { strings = f(foreach+letter, more-letter) } return strings } HTH. --Ben Doom Greg Morphis wrote: anyone else? I was hoping to do this in CF alone? Thanks

Re: all possible letter combinations

2008-02-14 Thread Ben Doom
wordarray) before returning on each recursion. HTH. --Ben Doom Greg Morphis wrote: I thought I had it with this.. which is similiar to what you suggested Ben cffunction name=createWordList returntype=array cfargument name=wordArray required=yes type=array / cfargument name=strbase

Re: OT: What type of CF hosting do I need?

2008-02-14 Thread Ben Doom
a suggestion. --Ben Doom Che Vilnonis wrote: Thanks Jerry. That's not an option, really. My # of scheduled tasks would increase quite a bit if I took that approach and because of the inconsistencies of the feeds, extra steps are needed to be performed to make certain that all of the data

Why does CFMail timeout?

2008-01-31 Thread Ben Doom
OK, I seem to be missing something here. Why would CFMail ever timeout? I'm using spooling, so shouldn't it just write a file to the spool directory and let the scheduled delivery handle anything that might timeout? What am I missing? --Ben Doom

Re: DNS Hosting

2008-01-28 Thread Ben Doom
to 100 domains. --Ben Doom Dave Hatz wrote: I am looking for recommendations on a company to host our DNS. We are currently using Internap's CoLocation services and their DNS went down again. 3rd time in less than 2 months. Our customers are pissed and I don't blame them. I need to find

Re: Keep session alive for form

2008-01-22 Thread Ben Doom
, since they don't store an easily recognizable or fudgable ID (like the auto-incremented ID key for users 0-:) --Ben Doom Dennis Powers wrote: therefore I have a max session timeout of 20 minutes. we store username in their session My problem lies with a user typing and typing and going over

Re: writing insert query sql in coldfusion

2008-01-21 Thread Ben Doom
it. --Ben Doom Richard White wrote: Also, alot of people will advise you to use cfqueryparam (me included), so the code would look like: out of interest what is the difference in using the cfqueryparam and not? thanks

Re: White Space Eliminator

2008-01-21 Thread Ben Doom
designed specifically for reducing the size of web pages. Also, bandwidth is cheap. :-) --Ben Doom Nate Willard wrote: hello, I learned of of an issue with my whitespace reduction method that is almost funny. I do the following to remove whitespace cfsavecontent variable

Re: White Space Eliminator

2008-01-21 Thread Ben Doom
\s* is probably not what you want. * means 0 or more so it would insert a space between every character. I would use \s+ or \s{2,} instead. --Ben Doom Sonny Savage wrote: How about this? cfset pageholder_tboutputed = REReplace(pageholder_tboutputed, \s*, , ALL) On Jan 21, 2008 3:13 PM

Re: OT css/flash question.

2008-01-17 Thread Ben Doom
Offhand, it looks like you aren't closing your object block. --Ben Doom Mark Fuqua wrote: I'm using a template from freetemplates.com. The css file seems quite well done. I want to replace an image with a small flash movie. I thought I would just eliminate the image, and embed the movie

Re: Training a new programmer

2008-01-16 Thread Ben Doom
I'd pick something non-time-critical and non-mission-critical and, as it were, throw him in the shallow end. Give him all the help he asks for. Do a code review. Pick something more important, wash, rinse, repeat. --Ben Doom Ian Rutherford wrote: I have an employee who has tinkered around

Re: Help!!!

2008-01-14 Thread Ben Doom
I'm likely to be able to help based on the topic. --Ben Doom greg coleman wrote: hi, I am trying to install and configure Adobe Coldfusion to add dynamic content to my website. The problem is, i don't know how to configure coldfusion to work with my webhost's mysql, it is only setup

Re: Email Validation Question, Possible RegEx required?

2008-01-14 Thread Ben Doom
Once you've broken the list into individual elements, I'd use something like: email = rereplace(element, '.*(.*?)', '\1') This replaces everything before the open bracket, the open bracket, and the end bracket with just what is in between the brackets. --Ben Doom Nate Willard wrote: Morning

Re: Some help on defining passing a parameter in text HTML?

2008-01-09 Thread Ben Doom
Without some kind of server-side processing (PHP, ColdFusion, etc.) or some fancy JavaScript, you aren't going to be able to display a URL variable. Raw HTML can't do that. --Ben Doom ismail cassiem wrote: Hi, I need help please i usually code in coldfusion but now i want to create 2 text

Re: CFFILE

2008-01-08 Thread Ben Doom
If the file is on a shared drive, and the user CF runs as has access to that drive, then CFFile can access it. If that's not possible, you could set up FTP access and use cfftp (which would allow you to read/write it, instead of just read with cfhhtp). --Ben Doom Orlini, Robert wrote

Re: OT: DNS question...

2008-01-07 Thread Ben Doom
You want all the domains to redirect to a single domain? I'm not sure how to do it in IIS, but if you are on a private IIS install, you could set the default website to redirect to the correct domain, and then set the domain's web site separately. --Ben Doom Che Vilnonis wrote: I have about

Re: OT: DNS question...

2008-01-07 Thread Ben Doom
to create the new zones. --Ben Doom Che Vilnonis wrote: This isn't an IIS question, but a DNS server question. Basically, I don't want to create 75 new zones on the DNS Server. Dos this make more sense? -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Monday, January

Re: OT: DNS question...

2008-01-07 Thread Ben Doom
I think bad is probably a good summary. I know Google, for one, punishes multiple sites with the same or substantially similar (ie, different nav, or CSS) content. --Ben Doom Adrian Lynch wrote: Can anyone comment on the SEO ramifications of pointing mulitple domains at the same site rather

Re: sql clear data

2008-01-04 Thread Ben Doom
This seems kind of odd. Why not just delete the row? --Ben Doom Chad Gray wrote: Is there anyway to clear the data in a row in a database without using UPDATE table SET foo = '', Moo = '', Goo = '' WHERE ID = 1 I don't want to clear the ID just the other fields. My table

Re: sql clear data

2008-01-04 Thread Ben Doom
He wants to clear all *columns*, not rows. --Ben Doom Greg Morphis wrote: UPDATE table SET foo = '', Moo = '', Goo = '' leave out the WHERE clause.. it'll empty all rows On Jan 4, 2008 9:47 AM, Chad Gray [EMAIL PROTECTED] wrote: Is there anyway to clear the data in a row

Re: stuck with a loop count

2008-01-04 Thread Ben Doom
Every time you loop through the query, you reset your total variable. You may need two -- one for this loop, and one for the complete total. --Ben Doom Dr. Who wrote: i am having a problem trying to get the results of a count in a loop. could use another set of eyes.. results VTodd

Re: CF 5 and DAO

2008-01-03 Thread Ben Doom
We always used includes, although cfmodule would probably be better. We just broke each inline query out into an include, then called it as necessary. --Ben Doom Chad Gray wrote: I am so use to using MX and CFCs that now I have to work on a CF5 server for a client and Is there a good

Re: In Theory - Returning to a Search Results Page Question

2007-12-21 Thread Ben Doom
the results page with the updated results, you don't try to re-store the session info, just re-run the stored search. --Ben Doom Les Mizzell wrote: I've got a search page on an admin system - maybe 20 different search parameters that can be used in combination. Once the results are returned, I need

Re: Help on regex pattern in refindnocase

2007-12-21 Thread Ben Doom
, it would also match. One possible solution might be to find all the .gif references, and then check each one to see if it's blank.gif. Not necessarily elegant, but it would work. --Ben Doom Kris Jones wrote: Not being a big regex wizard, I'm sure I'm missing something basic here. I'm trying

Re: Another RegEx question...

2007-12-20 Thread Ben Doom
The first thing I see is that you are only allowing for single-character names. You don't have a + or * (+ would be better) after [a-z0-9_]. There may be more, but that's what I see at first glance. --Ben Doom Che Vilnonis wrote: In a sea of data, I need to pull the first image tag

Re: RegEx Tools

2007-12-19 Thread Ben Doom
No. My brain is not online ... yet! Just so you know -- tools can be useful, but like everything (computer generated code, translations, whatever) people-skills will sometimes yeild a more efficient or easier-to-work-with solution. Also, I'm a snob about my regex. --Ben The Regex Ninja Doom

Re: CFDOCUMENT creating a PDF - ARGH!

2007-12-18 Thread Ben Doom
I found I got better results with CSS by cfinluding the file into a style block, instead of doing what you did. HTH. --Ben Doom Les Mizzell wrote: I'm trying to use CFDOCUMENT (CF 7 with updates) to create PDF files for a client. If I remove the CFDOCUMENT tags surrounding my code

Re: Compare two tables

2007-12-14 Thread Ben Doom
I don't think you can do a subselect in a QofQ (someone correct me if I'm wrong) so I think the easiest thing would be to pull both in and then walk the arrays. Brute force and inelegant, but is this something you need to do once, or is this something that must be done often? --Ben Doom

Re: or statement problems

2007-12-13 Thread Ben Doom
Because the implication was that his mistake was a lack of knowledge about CF, not a logic mistake that would have affected him regardless of language. I'm pretty sure that the other two statements are the same thing in other languages -- PHP and ASP, if I had to guess. --Ben Todd wrote:

Re: CFEclipse Key mappings

2007-12-12 Thread Ben Doom
Why not just copy over your Eclipse folder? Then, *all* your settings, plugins, etc. would be the same. --BenD Dave Hatz wrote: I am using CFEclipse v3.3.0 and I am trying to install CFEclipse on a new laptop. I want to keep all my settings. I have been able to copy over my snippets,

Re: Filemaker Pro

2007-12-12 Thread Ben Doom
that they move to a more internet-ready DB. --Ben Doom Matt Williams wrote: A client has a pre-built system on Filemaker Pro 9. The db is hosted. The website is on a different host. Am I able to remotely query that db with CF? If so, what is involved? Does the Filemaker host need to do anything

Re: can't use the result of a regular expression as a variable?

2007-12-04 Thread Ben Doom
CF evaluates the replace string *before* sending it to the regular expression engine. Therefore, it's trying to find the struct key named '\1' which is not legal. There are several ways to get around this, but they all basically boil down to doing it in two steps. --BenD Johnny Le wrote: I

Re: finding a substring in string, target attribute of an anchor tag

2007-12-04 Thread Ben Doom
attributes, I'd do a find for the whole tag, the search that substring for a target attribute, then either replace or add as necessary. Make sense? --Ben Doom Andy Matthews wrote: I have a variable containing a string in which might appear any number of links to to kbb.com: a href=http://www.kbb.com

Re: cffile destination

2007-11-16 Thread Ben Doom
You could use something like #expandpath('..')#/tempUploads to do that. expandpath() can be *very* useful sometimes. :-) --Ben Doom Richard White wrote: hi, i am creating an upload facility using the cffile tag. from all i have read it seems that the destination attribute needs

Re: blocking spambots

2007-11-16 Thread Ben Doom
Which is more or less what I meant by variant. --Ben Doom Larry Lyons wrote: Always use CAPTCHA or a variant when possible. Check the referrer. nofollow links and moderate, or nofollow unmoderated links. --Ben Doom Unfortunately most captchas are not accessible, no text reader can work

Re: url variables not picked up in url with # anchor

2007-11-15 Thread Ben Doom
Off the top of my head, I think the #anchor has to come last. Everything after the pound sign is read as part of the anchor directive. So, page.cfm?foo=1#test should work. Not tested, YMMV. --Ben Doom Will Swain wrote: Can anyone help with this. This may be common knowledge but I've never

Re: Using reReplace Backreference as StructKey or Argument

2007-11-15 Thread Ben Doom
, and then passing the result as the replace value. --Ben Doom Jon Clausen wrote: I'm sure it's something simple that I'm missing, but I want to use a regex backreference as the struct key (i.e. - struct[key]) or as an argument (i.e. - function(argument) ) but I've failed in all my attempts so

Re: Cfoutput query backwards

2007-11-15 Thread Ben Doom
You could try something like: cfoutput cfloop from=#query.recordcount# to=1 index=i #query[column][i]# /cfloop /cfoutput I may have swapped column and i -- I can never remember if it's a struct of arrays or an array of structs. :-\ --Ben Doom Tom King wrote

Re: blocking spambots

2007-11-15 Thread Ben Doom
The smarter ones may be. Some may (gasp) actually post a correct referrer. But some will be caught. I figure the idea is not to stop them all, but to stop enough that the remainder can be handled manually (or by some other process). --Ben Doom Tom Chiverton wrote: On Wednesday 14 Nov

Re: In a bind

2007-11-15 Thread Ben Doom
IIRC, in IE the onChange does not fire until the form element loses focus. I think if you change the event to onClick, it will work the way you want. --BenD Brian McCairn wrote: When you click on a radio button clicking anywhere else on the browser seems to trigger ther bind to work. What

Re: Regex Gunslingers

2007-11-14 Thread Ben Doom
Pretty slick. --Ben Doom Ben Nadel wrote: A while back I wrote a custom tag for iterating over regular expression patterns. I think this would be a great use for it. I wrote up an example based on the proposed question: http://www.bennadel.com/blog/1037-RELoop-ColdFusion-Custom-Tag-Case

Re: What I need to Develop a standalone application on my LAPTOP usiong COLDFUSION?

2007-11-14 Thread Ben Doom
Edition is simply a locked down version of the full server, limiting the number of IPs that can connect to it. --Ben Doom sandeep saini wrote: Hey thanks Scott, So i need Eclipse and CFEclipse in place of Dreamveawer (means for writhing CF files..) But i am not getting which component

Re: blocking spambots

2007-11-14 Thread Ben Doom
Always use CAPTCHA or a variant when possible. Check the referrer. nofollow links and moderate, or nofollow unmoderated links. --Ben Doom Mike Little wrote: hi guys, it appears my addcomments.cfm page has become indexed in google. usually this page is only accessed when a user goes clicks

Re: Using includes to build pages

2007-11-14 Thread Ben Doom
It is, technically, slower. However, this slowdown is likely not even measurable in milliseconds. Honestly, I wouldn't worry about the performance. The ease of building/altering/updating the site pays for the shaved milliseconds very quickly. --Ben Doom Tim Ashworth wrote: Hi, Just

Re: Replace Syntax

2007-11-13 Thread Ben Doom
replace(form.description not replace('form.description'... form.description is the variable, 'form.description' is a string with the name of the variable. --Ben Doom Rick Sanders wrote: Hey list, I'm trying to replace double quotes for single quotes in a string using this syntax

Re: Regex Gunslingers

2007-11-13 Thread Ben Doom
, quotes doubled to escape them, unclosed quotes, etc. --Ben Doom Josh Nathanson wrote: Hey all, Got a regex challenge...I was able to solve it using an REFind and then REReplace, but I'm wondering if anyone can come with a one-shot way to replace without looping. I need to remove any

Re: ASCII String Value

2007-11-13 Thread Ben Doom
You could use mid(mystring, i, 1) which returns a substring starting at i and 1 long. --Ben Doom Richard White wrote: Hi, I have a javascript function that checks for any unwanted string character values - such as \ or / etc... In Javascript i loop through the length of the string

Re: Reuse regular sub-expression in larger expression

2007-11-09 Thread Ben Doom
be worthwhile. I know that I often do something like this for linebreaks so that I can easily change which linebreak I'm using, and not have to make sure I get every instance. :-) What can I say -- I'm lazy. --Ben Doom Andy Matthews wrote: Adam Howitt wrote a blog post asking for improvements

Re: Reuse regular sub-expression in larger expression

2007-11-09 Thread Ben Doom
IIRC, this only works if you want the same string for both matches. I don't think that is what Andy wanted. --Ben Doom Barney Boisvert wrote: Yeah, you can do that. Here's a simple example of it in action (using the backreference to match quotes). It also uses a non-greedy modifier

Re: changing a css file via coldfusion

2007-11-08 Thread Ben Doom
Well, you could store which stylesheet they are using in a session variable, change it when the click the links, and include it dynamically. There are lots of other ways to do it, but in lieu of more info, that's what I would suggest. --Ben Doom John P wrote: Is it possible create a way

Re: Wierd regex problem (isn't it always)

2007-11-07 Thread Ben Doom
one or more backreferenced things instead of one or more backreferenced things. I'd write it like this: @([a-zA-Z0-9]+) Then use the first backreference instead of the second. --Ben Doom Andy Jarrett wrote: Hi I'm trying to do a look through as string to find usernames and add a tags around

Re: Regex search problem

2007-11-06 Thread Ben Doom
No, you're right about the all. I'm confusing the refind() and rereplace() syntax. But, yes. By using a regex in the condition, you are running it twice per loop. --Ben Doom Bobby Hartsfield wrote: The option is called 'returnsubexpressions' and valid values are true or false. You can

Re: CFC Not acting like I expect

2007-11-06 Thread Ben Doom
I'm not seeing where you are actually assigning the return from your SP to propID. foo is not a query. --Ben Doom Bruce Sorge wrote: I have a CFC that both inserts a series of field variables and returns the ID number that was just created. I am getting an error that states the value

Re: Regex search problem

2007-11-06 Thread Ben Doom
, where n is the number of loops. --Ben Doom Bobby Hartsfield wrote: Ahh... I was REALLY hoping you were right about that. That would have been great. In any event, I learned something new about refind() so thanks! I'll always think of you and the time we shared in this thread when I use

Re: Question about writeToBrowser image action...

2007-11-05 Thread Ben Doom
Custom CAPTCA applications. On-the-fly resizing. --Ben Doom Rick Faircloth wrote: What would be the possible use(es) of the writeToBrowser image action? Rick ~| Get the answers you are looking for on the ColdFusion

Re: Regex search problem

2007-11-05 Thread Ben Doom
You can do an refind(text, \d+, 1, all) refind in text digits starting at position one find all This will return an array of structs with keys pos and len. Pos is the start position, and len is the length. You can then use mid() to grab them. --Ben Doom Web Exp wrote: Thanks Ray... Ok... I

Re: Regex search problem

2007-11-05 Thread Ben Doom
that runs the regex and throws away the answer. Don't do that. Ever. Please. It makes me weep. --Ben Doom Bobby Hartsfield wrote: Likea so... cfset txt = this is a test testId67Text more text more text testId49Text more text testId54Text more text testId56Text / cfset county = 0 / cfset

Re: Regex search problem

2007-11-05 Thread Ben Doom
what you stored. --Ben Doom Bobby Hartsfield wrote: Hah crybaby! ;-) I tried 'all' but it just throws an error on 6.1 ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Monday

Re: PDF Support with CF8 - Can this be done?

2007-11-02 Thread Ben Doom
If I understand what it is you want to do, look into cfpdfform. You'll have to build an XML data object to hold the form data, but that shouldn't be too difficult. --Ben Doom Frank Mamone wrote: Hi everyone, I've been out of the CF game for a very long time and now I have a little project

Re: number of times

2007-11-02 Thread Ben Doom
A couple of options: Loop over the text using find() or findnocase(). More code, may be faster. Use refind() or refindnocase() to find all the matches (return an array of them) and then get the arraylen() of what it returns. Easier code, but it will likely run slower. --Ben Doom Web Exp

Re: Merging Static PDFs and PDF Forms in CF8

2007-11-02 Thread Ben Doom
understood. --Ben Doom Jim Bates wrote: Hi All, The issue I am facing is this: 1200+ PDF forms that employees will need to sign. The docs are being created in MS Word, and all have a standard signature block. We have prototyped using LiveCycle Designer 8 to add fields to static PDF files

Re: CF 8 Perl on Win 2003 box

2007-11-01 Thread Ben Doom
Like several others, I've run CF (5, 6) in parallel with Perl (Activeperl) on Win2k server. Like the others, I didn't see any direct conflicts. Like the others, I'd watch your CPU usage carefully if you are using Perl do do any heavy lifting. --Ben Doom Ian Skinner wrote: I'm 99% sure I

Re: CFMAIL quesitons..

2007-11-01 Thread Ben Doom
I've never tried it, but Make sure your SMTP server is set to listen on all applicable IPs. Use the server argument to specify the SMTP server by IP instead of by name. HTH. --Ben Doom Al Musella, DPM wrote: Hi I am on CF7, with multiple websites on multiple IP addresses. When I

Re: Replacing Strings

2007-11-01 Thread Ben Doom
replace('dills', '', ', all) In other words, where you are explicitly writing double-quotes (like for the find string) wrap in single quotes, and where you are explicitly writing single quotes (like the replace string) wrap in double quotes. --Ben Doom Rick Sanders wrote: Hey list

Re: Replacing Strings

2007-11-01 Thread Ben Doom
Not to put too fine a point on it, but if this data is coming directly from an end user, it would probably be in your best interest to add the cfqueryparam anyway. It does quite a bit more than just quote escaping. Definitely a best practice recommendation. --Ben Doom Rick Sanders wrote

Re: brain freeze: which is faster, contains or REFind

2007-11-01 Thread Ben Doom
re* functions are inherently slower than their find* equivalents. There's a startup cost for the RegEx engine. --Ben Doom Barney Boisvert wrote: Those aren't equivalent. REFind does a case-sensitive RegEx search. find (which you didn't list) does a case-sensitive search. contains does

Re: How to break down a number into percentages

2007-11-01 Thread Ben Doom
fraction increases and decreases. For example, the first time they get a fraction of a cent, they go up to the next penny. The second time, they go down. The third time, up again, and so forth. It's not perfect, but it makes the math easy, and you should never be more than a penny off. --Ben

Re: Generating a Cutlist with ColdFusion

2007-10-31 Thread Ben Doom
Sounds like a variation on the knapsack problem in 2d. I don't have any code, but looking for knapsack algorithms might help. --Ben Doom Matthew Reinbold wrote: (my apologies if this appears twice - I posted to the web and then logged in and, because I didn't see the post on the list

Re: Copying a CFC Persisted in Session Scope

2007-10-29 Thread Ben Doom
the session scope directly -- CF is forgiving. :-) --Ben Doom Ryan Heldt wrote: The objects I am copying from are persisted in the session scope. I would like to be able to read from these objects at runtime without having to lock them all over the place. Does creating a pointer in the request

Re: URLEncodedFormat question

2007-10-26 Thread Ben Doom
Look into using cfstorecontent to grab the table into a variable. Then you only have to make one urlencodedformat() call on it. --Ben Doom john mcdonald wrote: Hi Everyone, I've been trying to solve this for a couple hours, and am getting nowhere fast. If anyone here as an idea that could

Re: URLEncodedFormat question

2007-10-26 Thread Ben Doom
Er, cfsavecontent rather. --Ben Doom Ben Doom wrote: Look into using cfstorecontent to grab the table into a variable. Then you only have to make one urlencodedformat() call on it. --Ben Doom ~| Check out the new

Re: SeeFusion vs. FusionReactor

2007-10-25 Thread Ben Doom
Regardless, I currently have one instance on one server. So licensing structure isn't a big deal. --Ben Doom DURETTE, STEVEN J (ATTASIAIT) wrote: Even with that change to the licensing, that still costs more than Fusion Reactor when you have 6 CF instances on one box. 1 Fusion Reactor

Re: Deleting Attachments Immediately After CFMAIL

2007-10-25 Thread Ben Doom
at the end of the email. Others (Jochem -- I'm looking at you!) could probably advise better about this. HTH --Ben Doom Nathan Wells wrote: Is there any way to safely delete files that were attached using a cfmailparam tag to an email that was generated with the cfmail tag? If you delete

Re: Best regex for this, getting software version numbers

2007-10-25 Thread Ben Doom
Without testingL ^.*?($|\d+\.\d+) Which is, basically, beginning of string, shortest possible string, (end of string or digits dot digits). --Ben Doom Andy Matthews wrote: I have these strings: Firefox 2.0.0.8 (Firefox 2.0) Internet Explorer 7.0 (Internet Explorer 7.0) Googlebot

SeeFusion vs. FusionReactor

2007-10-24 Thread Ben Doom
-- it seems cleaner and easier to use. It is, of course, a bit more expensive. Is it worth the extra money? For reference, I'm running CF8 Standard on Win2k3 R2. --Ben Doom ~| ColdFusion is delivering applications solutions

Re: SeeFusion vs. FusionReactor

2007-10-24 Thread Ben Doom
As Andy and Morgan pointed out, CF8 standard does not come with a server monitor. Trust me -- I'd have already been using it if standard shipped with it! Thanks for the FR nod. --Ben Doom Peterson, Chris wrote: Ben - the integrated server monitor in CF8 was not enough to figure out

Re: SeeFusion vs. FusionReactor

2007-10-24 Thread Ben Doom
out of them for a while, and they still kept answering the phones with a smile. lol This is IMHO a great recommendation. Service is very important to me. --Ben Doom ~| Download the latest ColdFusion 8 utilities including

Re: How should SQL handle same named columns from different tables?

2007-10-24 Thread Ben Doom
IIRC, it should actually error and force you either to pick one or give them unique names (a.userid as bob, b.userid as fred). Expecting Access to behave properly is like expecting teens not to drink. Sometimes it works, but most of the time, it's a mistake. --Ben Doom Jim McAtee wrote

Re: getting date from dynamic date ranges

2007-10-23 Thread Ben Doom
datediff() is what you are looking for. --Ben Doom Andrew Whone wrote: I retrieve a bunch of dynamic DateFroms and DateTos that a user has input into a form. !--- Loop through the dateField IDs to get the Dates ranges--- cfloop list=#form.DatefieldID# index=id !--- Get

Re: Which query would be better?

2007-10-23 Thread Ben Doom
Okay. Except Oracle != MySQL 5. MySQL 5 was what was specified in the original, forgive the pun, query. --Ben Doom Tom Chiverton wrote: On Monday 22 Oct 2007, [EMAIL PROTECTED] wrote: Which, according to the docs, is only limited by max_allowed_packet. You must be on the wrong page

Re: get the value of the drop down and pass it to the cfquery

2007-10-23 Thread Ben Doom
dropdown, and how are you referencing it in the query? --Ben Doom erik tom wrote: I need to be able get the value from the drop down and pass ethis value to cfquery function which located on the second tab of the form. Once i selected the drop down item i clicked on the submit button and going

Re: OT: Limit a MSSQL Server 2000 user.

2007-10-23 Thread Ben Doom
Set up a SQL Express server for him with nightly (?) replication, when it won't affect performance so much. Let him beat the crap out of that to his heart's content. Bonus points if you put it on his workstation, so he's dragging down his own workstation. --Ben don't mess with my servers

  1   2   3   4   5   6   7   8   9   10   >