Reg Expression Parsing help...

2001-03-17 Thread James Birchler
I have never used regular expressions, and I need help parsing text of the following format: 10.10.10.30.5000 It's an IP address with a port number, and ideally what I need is the IP assigned to a variable and the port number assigned to another variable. Thanks VERY much for assistance. James

Formatting CFQUERY Results in a Table

2001-03-16 Thread James Birchler
Hi Gang - I'm building an employee directory, and am adding a page that displays all employee photos so that if you don't know someone's name, you can find it by recognizing their face. My query pulls an image url and fname/lastname from a database. I'm trying to format the output in table rows,

OT: how to launch a windows app from a web page?

2001-02-14 Thread James Birchler
Has anyone ever successfully launched a Windows application from a web page? If so, how? The only way I've found so far is using an ActiveX component--but only in theory. I'm looking for source code I could modify to launch a particular application. Is it possible to simply use an tag to launch

Form validation without alert boxes

2001-02-12 Thread James Birchler
1. Client side: Could someone please show me an example of doing client-side form validation that doesn't use the alertbox method? It would be nice if next to the input field the user would simply see red text explaining their input error. 2. Server side: How about server-side validation using CF

RE: Regular expression to parse incoming data stream? (REPOST)

2001-01-30 Thread James Birchler
rt); temp_count = xml.root.dataend - xml.root.datastart; xml.root.data = Mid(xmlpacket, xml.root.datastart, temp_count); Data xml.root.#Lcase(i)#: #Replace(Replace(Evaluate("xml.root." & i), "<", "<", "all"), ">", "&

RE: Regular expression to parse incoming data stream?

2001-01-30 Thread James Birchler
Thanks, Paul. Here is the output I'm getting. The first few lines are me checking to see if the http request was successful (200=yes); 69 is the length of the file being returned; MIME type unknown (???); and then me trying to print the cfhttp.filecontent in a variety of ways. The rest is the out

RE: Regular expression to parse incoming data stream?

2001-01-30 Thread James Birchler
llaire's tag gallery. Mike. -Original Message- From: James Birchler [mailto:[EMAIL PROTECTED]] Sent: 30 January 2001 01:05 To: CF-Talk Subject: Regular expression to parse incoming data stream? I am sending an http request to a server (using and ) which is responding with some xml

Regular expression to parse incoming data stream?

2001-01-29 Thread James Birchler
I am sending an http request to a server (using and ) which is responding with some xml of the form: 353 100 where the numbers are just examples of what comes back. Can anyone give me an example of what I'd need to do to use regular expressions to parse the incoming data stream (the server

CFHTTP to retrieve XML - Do I need/Can I use CFWDDX?

2001-01-28 Thread James Birchler
I'm using CFHTTP (with CFHTTPPARAM)to retrieve some XML output, and am having some problems. What I do is pass a variable in a URL string to a server like so: http://10.10.10.10/query/account?id=654 A script then runs on the server, which generates XML output such as: <1>

XML w/CF on Linux

2001-01-24 Thread James Birchler
I need a way to parse an XML document and assign the info to CF variables. I think the process is something like: 1. Receive XML document 2. Parse it on the server using some 3rd party XML parser 3. Use WDDX to get that info into CF 4. Go about my merry way Questions: 1. Has anyone accomplished

CFQUERY syntax: populating params to plot x,y values

2000-12-01 Thread James Birchler
I need to populate the x,y variables in a charting applet. There are separate param statements for the x's and y's, in the following form: I just don't know a) how to store my x's and y's in my database (either as a column of x's and a column of y's, or as a row of all x's and a row of all

Quick CFMAIL question

2000-07-11 Thread James Birchler
This is a multi-part message in MIME format. --=_NextPart_000_0011_01BFEB3C.3D4E73E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I'm using a multi-page form to collect user info. Page one collects an email address. This variable is passed to the pa