Re: charset issue

2004-09-10 Thread Mark Woods
At 16:46 10/09/2004, you wrote: >thanks for the input Mark. > >hmm, the webservice is built in CF pulling from a MySQL DB all on SunOS 5.8. I'm not a MySQL user, but it's very possible that if MySQL is told to store a character with code position 150, it will store it. It has no idea what the vi

Re: charset issue

2004-09-10 Thread Mark Woods
>running CFMX 6.1 on winblows with the almighty oracle.  We are >grabbing some data from another server running CFMX 6.1 on Unix with >MySql via a webservice.  Seems the data we get is not displaying >correctly.  Things like the - char display as a wierd backward E among >other things.  Is there a

Re: SpeckCMS

2004-09-09 Thread Mark Woods
>I also know that Speck has been used by non-programmers for >content management requirements (apparently www.fashion.ie was built in a >weekend by someone who didn't know any CF when he started). >... > >www.fashion.ie looks like built in with fuseaction and "static" >content An CF newbie don'

SpeckCMS

2004-09-09 Thread Mark Woods
Hi, I noticed that during a recent thread regarding Farcry and SpeckCMS, not many people had heard of SpeckCMS (www.speckcms.com). So, I thought I'd provide a wee bit more info... Speck is an object-based open-source content management framework that was initially developed by Robin Hilliard

RE: Strange ODBC Error

2001-08-16 Thread Mark Woods
change your default Network protocol to TCP/IP in the SQL Server Client Config The named-pipes protocol does more than just shift data from A to B, it has some security mechanisms too. Any breaks in the network traffic between your web server and database can cause errors like this. Mark ~

Fantasy Football tag/app

2001-07-18 Thread Mark Woods
I've been asked to estimate the development time for a web-based fantasy football league, but I don't know anything about football (in this case, soccer) so I was hoping to find a ready-made app (either free or pretty cheap). No luck on the developers exchange though. Has anyone got a Fanta

Re: Grabbing image size values

2001-07-03 Thread Mark Woods
the CF_ImageSize tag in the tag gallery doesn't work correctly with some jpeg images saved in Photoshop 5.5 (possibly other versions too, haven't tested them though). Mark ~~ Structure your ColdFusion code with Fusebox. Get the official book a

running RDS service as non-system account (forgot to say...)

2001-06-25 Thread Mark Woods
I'm running CF Pro, not Enterprise so don't have the Advanced Security options in the administrator, though I've just seen a comparison matrix at: http://www.macromedia.com/software/coldfusion/productinfo/matrix/cf5_matrix.pdf which lists cf4.5 pro as having the advanced security options - whassa

running RDS service as non-system account

2001-06-25 Thread Mark Woods
I'm running CF 4.5.2 on Windows and currently have RDS service running and use CF Studio to develop on the 'live' machine (well, fix things here and there, there is a separate development server). I really, really want to continue using CF Studio for remote development, but I'm really, really

Re: Protect CF from SQL/Oracle errors?

2001-06-15 Thread Mark Woods
wild guess... are you using CFERROR TYPE="Exception" in the Application.cfm? If you are, check the error handling template for CFML errors. If there are any, CFERROR will keep calling itself indefinitely when an error is encountered. All assuming of course, you are not using try/catch blocks (

Re: CF_GOINGNUTS

2001-05-30 Thread Mark Woods
Maybe it's just a problem with the looping condition or code within the loop, but if you're sure it's not... AFAIK CFHTTP on windows uses the wininet.dll, which has various 'issues' (MS speak for 'bugs'). One of these is a limited number of concurrent connections per server. Check these articl

Brainbench certification

2001-05-30 Thread Mark Woods
http://www.brainbench.com Anyone know how well respected certification from this lot is around the world. I know there are loads of US and some UK and Australian users on the list - any of you heard of them? A friend of mine has just moved back to South Africa and she is apparently being aske

Re: Instantiate environment?????? Whats that?

2001-05-17 Thread Mark Woods
Instantiate normally refers to the creation of an instance of a class (ie an object) when dealing with object orientated programming (going back to ye olde telephone example from college - the object 'telephone' is an instance of the class 'telephones'). Ok, there's a little more to it than th

Re: store SQL time only

2001-05-08 Thread Mark Woods
108 06:32 PM 5/8/2001, you wrote: >I need to store in the SQL time only (as: 21:05:32) >can someone please tell me the function for date/time display/formatting >in SQL? I only know that this: (convert(char(10),getdate(),101)) will give me >this: 30-01-2000 (display code 101), but what is the cod

Re: OT - synch files automatically

2001-05-04 Thread Mark Woods
store all the images on one server and map drives to it from the other servers or use file replication service At 05:28 PM 5/2/2001, you wrote: >I am having problems replicating images across to load balanced servers. We >have users that are upload images to one server and need to have an >au

Re: How to Force https vs http

2001-05-03 Thread Mark Woods
check CGI.SERVER_NAME variable and take whatever action is required within your CF script. I can't think of any security issues with this. Mark At 02:56 PM 5/3/2001, you wrote: >Howdy all, > >Quick questionis it possible to have a URL redirect to a secure URL? For >example, someone enter

RE: CF Using 90-100% of processor time (911!)

2001-05-03 Thread Mark Woods
and in case you haven't already done so, make sure you have the latest service pack for your version of CF installed. At 02:42 PM 5/3/2001, you wrote: > > Would any of the log files give you a hint as to which pages > > were accessed when the server started using up resources? > >Not necessarily

Re: FW: cfx_http

2001-05-02 Thread Mark Woods
the company which provided it are at: http://www.fsc.follett.com/ but the CF tags seem to have gone missing. It doesn't support POST method, only HEAD and GET AFAIK (it was written to run as a spider). If you still want to get a copy, email me off list. Regards Mark At 09:28 AM 5/2/2001,

Re: Hosting

2001-05-02 Thread Mark Woods
try www.servervault.com At 09:01 PM 5/1/2001, you wrote: >Anyone know of a hosting company who will provide the CF/SQL server and >manage it? >I just need monthly cost for a year contract. Maybe setup too. > >Steph > > > ~~ Structure your ColdFusion

RE: autonumbering in oracle

2001-04-25 Thread Mark Woods
here to achieve this without using a combination of sequence and trigger? >Much simpler... depends on what your requirements are Mark >Ben > >-Original Message- >From: Mark Woods [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, April 24, 2001 10:42 AM >To: CF-Talk

Re: autonumbering in oracle

2001-04-24 Thread Mark Woods
standard way is to create a sequence and then use a trigger when inserting a row into the table, rather than explain any further, here's some code... /* dummy table */ CREATE TABLE test ( ID integer NOT NULL , sometext varchar2(50) NOT NULL , PRIMARY KEY (ID)

Re: Another regular expression question

2001-04-24 Thread Mark Woods
REFind("[^[:alnum:]]",attributes.usuario) will find any non-alphanumeric characters The cf 4.0 docs have a decent intro chapter on regular expressions in the advanced book: http://www.allaire.com/documents/cf4/dochome.htm At 11:23 AM 4/24/2001, you wrote: >Hi, > >Yes, I'm a newbie :) but

Re:

2001-04-23 Thread Mark Woods
watch out for permissions problems, CF runs under the local system account by default, which will not have access to do anything on another machine. You'll need to run CF under another account which has the required permissions. Mark At 03:32 PM 4/23/2001, you wrote: >Cold Fusion doesn't kno

Re: uploaded files

2001-04-22 Thread Mark Woods
>Or would >the sub dir inherent its parents settings? providing all the files go into sub-directories of the physical directory set as the root of your virtual directory, yes (oh, assuming none of these sub-dirs are used as the physical root of some other virtual directory) Mark >At 05:17

Re: uploaded files

2001-04-22 Thread Mark Woods
assuming you are using IIS, create a virtual directory on your web site. Remove all the application mappings for that virtual directory and remove execute permissions, even for scripts. I can't think of a problem with this, but it's Sunday night here and I've just returned from a few drinks do

Re: Updating 1000s of records

2001-04-22 Thread Mark Woods
you could add a SQL server scheduled task to bulk insert (see BULK INSERT command in SQL server docs) into a temporary table from your text file and then use the data in the temp table to update the user info. Just moves the processing from CF onto SQL server, which will definitely improve perf

Re: syntax for cli execution of a cfm page?

2001-04-22 Thread Mark Woods
At 08:32 PM 18/04/2001, you wrote: >Thanks for the info guys. In case anyone was wondering: > >cfml.exe c:\path\template.cfm > >does actually work. ;p cool, anyone know if this is new to cf 4.5? I don't know if I ever actually tried just running cfml.exe with the path as a parameter before, I'm

Re: SQL SERVER and IIS on the same machine?

2001-04-22 Thread Mark Woods
one of the sites I'm involved in serves about 8 million pages a month, well over half of them requiring a database connection (most of these will have more than one query) and the site runs on a dual processor pentium III with win2000 and SQL Server 7 - no problems. Just make sure you spend a l

Re: "Friendly" e-mail addresses

2001-04-20 Thread Mark Woods
If you enter the email addresses inside angle brackets, the server should interpret anything else as a comment. So... " etc. should do it (BTW, that should is there for a reason - no guarantee this will always work) Mark At 01:29 PM 4/20/2001, you wrote: >ColdFusion Server Version 4, 0, 1,

Re: Tunneling, Firwall?

2001-04-19 Thread Mark Woods
If IE is permitted, then it seems the restriction is based solely on the user agent header. Get you vc++ app to send a user agent header which is the same as an IE one. At 10:58 AM 4/19/2001, you wrote: >We're sending HTTP request to a CF server >from within a client that is not a browser (It'

Re: syntax for cli execution of a cfm page?

2001-04-18 Thread Mark Woods
The cfml.exe executes the template specified in the CF_TEMPLATE_PATH environment variable. So first set this to the physical path to the CFML template you want to execute. e.g. set CF_TEMPLATE_PATH=c:\inetpub\wwwroot\temp\test.cfm then run cfml.exe c:\cfusion\cfml.exe You can also pass query st

Re: Quick Question

2001-04-18 Thread Mark Woods
have you checked that you can using the YALLA datasource you can see the PeopleDirectory table? Just a simple select will confirm. It may be that the table was created by a different user to the one used by the datasource. If this is the case, you may need to refer to the table as something li

Re: Delimiters

2001-04-17 Thread Mark Woods
At 03:11 PM 4/17/2001, you wrote: >use a series of hard to find types. >something like: "~%~" I think a sequence of characters is interpreted as a sequence of different possible delimiters, rather than a single delimiter comprising of a sequence of characters. Might be wrong, but I'm sure I ra

Re: Delimiters

2001-04-17 Thread Mark Woods
unprintable US-ASCII control characters, chr(30) for example At 01:54 PM 4/17/2001, you wrote: >Besides commas and pipes, what are the next best choices for delimiting >lists? > >thanks, >Dave > > >=== >David R Hannum >Ohio University >Web Analyst/Programmer >(740) 59

Re: Reveral of a field

2001-04-12 Thread Mark Woods
trim(listLast(field)) & " " & trim(listFirst(field)) At 12:47 PM 4/12/2001, you wrote: >Hi, >I have a field with Smith, John as the contents. > >I want to display John Smith... > >I'm think I get the total length(a), then the charlength of the comma(b). > >Take contents b + 1 and subtract that fr

Re: Cftransaction on linux

2001-04-11 Thread Mark Woods
AFAIK, the latest version of MySQL does offer transaction support, though I couldn't tell you whether the ODBC drivers do or not. At 01:14 PM 4/11/01, you wrote: >I believe that MySQL does not support transactions at all. I understand >that this is a feature that the MySQL developers are looki

Re: Using an Object for ASP in CF

2001-04-10 Thread Mark Woods
should be able too, see the cfobject tag in the CF docs. At 02:41 PM 4/10/01, you wrote: >I have an object called ASPHttp by ServerObjects, inc. for GET/POST/HEAD >documents using http protocol and was wondering if I could use this dll with >ColdFusion pretty much the same way the ASP does. > >Th

Re: Weird page timeouts with Oracle

2001-04-04 Thread Mark Woods
Sounds like CF is timing out before the query is returned from the database, but this is not canceling the database transaction. CF still receives the query result set back from the database and is then caching it, making the second load of the page a lot faster. Very smart behaviour if this i

RE: using for ASP?

2001-04-04 Thread Mark Woods
you need to output the cfhttp.filecontent variable Is this the problem? At 05:07 PM 4/4/2001, you wrote: >Sure did. ;) > >I created a page named "test.asp" and within the body I have ><%response.write "This is a test..." %> > >In my cfm page I have in the body: >http://collections.sbc.com:800/te

RE: compare files??

2001-04-04 Thread Mark Woods
there is also a file compare program included with windows which can be run and the command prompt fc.exe At 03:48 PM 4/4/2001, you wrote: >Visual Source Safe can be used to compare files and show the differences. It >integrates pretty well with CF. IMHO, it's a good idea to use some version >

RE: CFUSION\MAIL\UNDELIVR

2001-04-03 Thread Mark Woods
I'm sure there is something available in the dev exchange that does this (and more). At 02:08 PM 4/3/2001, you wrote: > > Hope someone can respond to me off list, this is pretty urgent. > > > > Something in C:\CFUSION\MAIL\UNDELIVR is really bunging up my > > developing station. Something about

Re: Caching Query vs. Setting Application Var

2001-04-03 Thread Mark Woods
both methods put the data in memory so from an efficiency point of view, both should be pretty much the same. Query caching is a much simpler method of achieving the required result. If you store the query structure as an application variable, when does it get updated?? At least with Query cac

RE: support for unicode in CF5?

2001-04-02 Thread Mark Woods
I wish the chr() function would barf when passed a code it didn't understand then. At 06:42 AM 4/2/2001, Ben Forta wrote: >Kay, > >Nope, that's in CF6. > >--- Ben > > >-Original Message- >From: Kay Smoljak [mailto:[EMAIL PROTECTED]] >Sent: Monday, April 02, 2001 1:32 AM >To: CF-Talk >Sub

Re: Oracle drivers and 8bit (or multibyte) characters

2001-03-30 Thread Mark Woods
t and indirect >connections. If the values of NLS parameters are changed explicitly with >ALTER SESSION during a session, the changes are propagated to all instances >to which that user session is connected. > >Dominique > > > > >-Original Message- >From: Mark Woods

Oracle drivers and 8bit (or multibyte) characters

2001-03-29 Thread Mark Woods
Hi, I've been having some trouble with a simple content management system written in CF, running on RedHat Linux with Apache and connecting to an Oracle 8i database. When an 8bit character (character with code between 128 and 255 inclusive) is added using one of the web forms, it's gets dropp

Re: OT: Automate FTP

2001-03-29 Thread Mark Woods
type at /? at the command prompt to find out Alternatively, in Windows2000 use the scheduled tasks control panel Mark At 01:21 AM 3/29/2001, you wrote: >I've created a FTP batch file, ftpcmd.bat: > >%windir%\ftp.exe -s:%f0 >goto done >open financialcontent.com > (user name omitted) >

Re: Special cahracters in replacelist

2001-03-28 Thread Mark Woods
use #chr(13)##chr(10)# This corresponds to Carriage-return line-feed, which is the new line sequence for SMTP At 12:51 PM 3/28/2001, you wrote: >I'm trying to carry our a replace of and in a CFMAIL message so >the web content is split by line breaks at the and . I can carry >out a replace

RE: CFMAIL - twofold

2001-03-27 Thread Mark Woods
once you enclose your email address inside angle brackets, you should be fine. The mail server should ignore the rest of the command as a comment (note the word 'should', I didn't say 'will'). At 03:45 PM 3/27/2001, you wrote: >you CAN have FROM="Jay Patton<[EMAIL PROTECTED]>". i use that forma

RE: weird thing...

2001-03-26 Thread Mark Woods
>Maybe I read the Allaire article wrong, but I assumed that if you want to >use the method they suggest (calling the executable and passing it >parameters), you would have to reference the physical path to the template >you wanted to run, ie D:\Inetpub\wwwroot\directory\file.cfm. Yes, you would.

Re: Re. image sizes

2001-03-26 Thread Mark Woods
There is a simple CF tag called CF_imagesize in the tag gallery which will return dimensions for GIFs and JPGs. Can't remember if it'll work for progressive JPGs though. Anyway, thought I'd mention it 'cos it's probably faster that a CFX if all you want to do is get the image size. Mark A

RE: weird thing...

2001-03-23 Thread Mark Woods
At 03:22 PM 3/23/2001, you wrote: > > err, there's no need to do that. There is an executable you > > can use to > > process CFML templates via the command line. Have a look at: > > http://www.allaire.com/Handlers/index.cfm?ID=3328&Method=Full > >Thanks. I don't want to sound ungrateful, but with

Re: Help please

2001-03-23 Thread Mark Woods
>"Suggest a way out"? McDonald's is always hiring. :) only 'cos they're always firing too ;-> ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-ar

RE: weird thing...

2001-03-23 Thread Mark Woods
Are you sure this is the case, this seems very, very strange. I don't think I've ever needed to schedule a http request on Windows that connected to a port other than 80, but I have on linux without any difficulty. The problems I have experienced with CF scheduling are generally with the CFSCH

Re: Find position in a list

2001-03-23 Thread Mark Woods
use the listFind() and listGetAt() functions At 02:28 PM 3/23/2001, you wrote: >Hi > >Let's imagine I've got a list of id numbers and a specific id number within >this list. How could I output the "next" id number in the list and the >"previous" id number in the list, depending on the id number

Re: template and thread...

2001-03-23 Thread Mark Woods
I'm pretty sure it is in order, so variables you set in 1 are available in 2. Try that and see. At 01:17 PM 3/23/2001, you wrote: >Hi, does anyone know that how template behavior? > >My question is: when I have a bunch of > > > > >.. >.. >

RE: weird thing...

2001-03-23 Thread Mark Woods
>I've *never* managed to get a scheduled event to work and have to resort to >other applications which trigger batch files to open a browser and pass it a >URL as a parameter... pain! err, there's no need to do that. There is an executable you can use to process CFML templates via the command

Re: weird thing...

2001-03-23 Thread Mark Woods
coldfusion scheduling is notoriuosly unreliable. I've recreating these symptoms over and over, and followed various threads in the allaire forums about it, but never seen a straight answer. I suspect it's nothing to do with CF per se, that it's something set in windows somewhere which causes t

Re: maxlength of Tag.GeneratedContent?

2001-03-22 Thread Mark Woods
I've never used this tag, nor have I ever required the use of the GeneratedContent property, but I suspect in this case it may be something to do with the retrieval of long text from a database using an ODBC datasource. The long text buffer size default to 65000 characters. Mark At 01:45 PM

Re: Can I tell if a browser is 128 bit with CF

2001-03-22 Thread Mark Woods
ColdFusion won't do this for you, but you could make use of the Browserhawk COM component within your CFML. www.browserhawk.com At 12:30 PM 3/22/2001, you wrote: >Hi all, >Is it possible to determine if a clients browser is 128 or 40 bit with CF? > >Thanks >James Milks >Noncubicle Corporation

RE: Text area question

2001-03-22 Thread Mark Woods
I think this is what you are looking for (ideally, stick it in a custom tag for future use). ", "all")> ", "all")> ", "all")> ", "all")> ", "all")> ", "all")> #string# At 10:10 AM 3/22/2001, you wrote: >use paragraphformat() on the output, might get close to what you are after, >it only

Re: Finding host from IP

2001-03-22 Thread Mark Woods
you should be able to do this with the cfobject tag At 11:13 AM 3/21/2001, you wrote: >Hi all > >A question for the ASP-literate among you. We have some ASP code that looks >like this: > >Set DNS = CreateObject("TCPIP.DNS") >Host = DNS.gethostbyip(request.servervariables("remote_addr")) > >It s

RE: [RE: To ASP or not to ASP]

2001-03-21 Thread Mark Woods
what??? If you parse a script containing both ASP and CF code using the CF app server, you'll be able to see the ASP code in the HTML source - 'cos as far as CF is concerned, that's what it is. Same applies in reverse. At 03:40 PM 3/21/2001, you wrote: >Why not take the best of both worlds a

Re: Win2k

2001-03-21 Thread Mark Woods
we have had CF problems on our win2000 server, which appear to be related to CFHTTP. ColdFusion service has hung on numerous occasions (i.e. service not actually stopped, just failing to reply to requests - though sometimes continuing to log). There seems to be two possibilities, which I will

Re: Using Session Variable

2001-03-21 Thread Mark Woods
At 01:38 AM 3/21/2001, you wrote: >Hallo, >I want to use session variable in my coldfusion >application. >If my browser not support Cookie(disable cookie), can >I use session variable without passing session >variable in URL/form parameter? you need to make sure that every script on the server w

RE: Locale

2001-03-21 Thread Mark Woods
there is a setLocale() function, more info in the documentation. Mind you, I've never had to use it - I've just come across similar problems with VBScript ASP and SQL Server. Mark At 02:18 PM 3/20/2001, you wrote: >I wasn't aware CF server has a Locale? u mean the box or the actual >software

Re: Locale

2001-03-20 Thread Mark Woods
Have you set both CF and SQL server to use the same locale? At 12:24 PM 3/20/2001, you wrote: >Anyone had any problems with settting a Locale? > >I am using SQL server and Although I have explicitly set it as UK it seems >to be stuff in US? What other params so I need to check? > > > > > >

RE: passwrord protecting a page Got it..THANKS!

2001-03-20 Thread Mark Woods
d if then else. If the password and id (checked from an access >database) are correct then the above tag is executed. > >This book I'm using "Mastering Cold Fusion 4.5" seems to answer all my >questions but it's an issue of finding the correct sections. > > From

Re: passwrord protecting a page and hipping off to another

2001-03-20 Thread Mark Woods
there are lots of ways of achieving this, but they depend on your setup. Where is the other page? Is it on the same server? If not, is it on a server which would be able to read a domain cookie set on the first page? Are both pages ColdFusion scripts? Where are the usernames and passwords stored

Re: Efficiency Question

2001-03-16 Thread Mark Woods
>1) Create a session-scoped array to store the titles and copy for the >articles. (Running the query only once.) Nah, messy, and with multiple sessions running you might run into unexpected problems with available memory resources. If you've gonna go this far, save hard copies of the articles