RE: Text area question
Are you looking for something as simple as the PRE Tag /PRE to preserve Returns and Tabs? -Original Message- From: Bryan LaPlante [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 2:03 AM To: CF-Talk Subject: Re: Text area question Are you saying that you are saving this textarea to a table in the database and it is not comming back out just as it was written? - Original Message - From: "Javed Mushtaq" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Thursday, March 22, 2001 3:17 AM Subject: Text area question Hi all, I have a text area on a page and need to save to a database and then output the information exactly as it appeared on the text area. How do i do this, could anyone send me the code as got to get this up and running by 10am today. Thanks in advance. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMAIL Problem
There is a fix for this on allaire that you can download - just search for TagCFMail::sendMessage Jason E Miller Computer Consultants Unlimited http://www.computercu.com Brainbench Certified Cold Fusion Developer 4.5 Transcript Link: http://www.brainbench.com/transcript.jsp?pid=477741 -Original Message- From: Chris Bellacose [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 6:40 AM To: CF-Talk Subject: CFMAIL Problem !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" Hello All: I get the following error when I try to use CFMAIL: Error Occurred While Processing Request Error Diagnostic Information unknown exception condition TagCFMail::sendMessage The error occurred while processing an element with a general identifier of (CFMAIL), occupying document position (9:1) to (14:12) in the template file C:\Inetpub\wwwroot\iis\chris\cabmailtest.cfm. Date/Time: 03/21/01 09:48:50 Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Remote Address: 64.8.21.70 Heres the code: html head titleMail Test/title /head body cfmail to="[EMAIL PROTECTED]" from="Chris Test" subject="Test Email" server="mail.interactiveinfo.com" port=25 timeout=600 This is a test. /cfmail CFOUTPUTDone/cfoutput /body /html Thanks Chris ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Tag for NTFS file permissions
Joe - we need to setup DNS records for TheInetwork.com and setup a hosting for it on MediaCluster 4 then do a picture up load for Brian's son. -Original Message- From: Bryan LaPlante [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 5:52 PM To: CF-Talk Subject: Re: Tag for NTFS file permissions Mr. Sellers. I would like to say thanks on behalf of our CF community in KC for the recent IHKT freeware. It is one hell of a nice resource. Bryan LaPlante Manager CFUG Kansas City MO. - Original Message - From: "lsellers" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 7:29 PM Subject: RE: Tag for NTFS file permissions Also check out cfx_permissions in the IHKT at http://www.intrafoundation.com. It is basically a cfx wrapper for cacls anyway. To clarify, it uses low-level NT 3.51 system calls to manipulate permissions. (None of the annoying, sloth-like ADSI stuff.) So it works on anything above NT 3.51. And probably as low as CF versions 3.x. Oh, and I almost forgot to mention I added code to it a few months back (and to everything in the IHTK) to allow it to be used on shared computers. Or not to be used, as the case may be. It's also freeware and open-sourced now. Min's here's basically left the cf community and pushed everything out on the web-lawn. :) Someone was talking to me about starting an IHTK support mailing list. If anyone wants to grab the source to IHTK and start and open-source project to enhance it, etc, go for it. You have my blessings. --min ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Tag for NTFS file permissions
Sorry crossed my mails up - a little incorrect mail :) -Original Message- From: Jason E Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 6:48 PM To: CF-Talk Subject: RE: Tag for NTFS file permissions .. -Original Message- From: Bryan LaPlante [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 5:52 PM To: CF-Talk Subject: Re: Tag for NTFS file permissions Mr. Sellers. I would like to say thanks on behalf of our CF community in KC for the recent IHKT freeware. It is one hell of a nice resource. Bryan LaPlante Manager CFUG Kansas City MO. - Original Message - From: "lsellers" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 7:29 PM Subject: RE: Tag for NTFS file permissions Also check out cfx_permissions in the IHKT at http://www.intrafoundation.com. It is basically a cfx wrapper for cacls anyway. To clarify, it uses low-level NT 3.51 system calls to manipulate permissions. (None of the annoying, sloth-like ADSI stuff.) So it works on anything above NT 3.51. And probably as low as CF versions 3.x. Oh, and I almost forgot to mention I added code to it a few months back (and to everything in the IHTK) to allow it to be used on shared computers. Or not to be used, as the case may be. It's also freeware and open-sourced now. Min's here's basically left the cf community and pushed everything out on the web-lawn. :) Someone was talking to me about starting an IHTK support mailing list. If anyone wants to grab the source to IHTK and start and open-source project to enhance it, etc, go for it. You have my blessings. --min ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Fighting with NumberFormat
Just try this with your number format #NUMBERFORMAT(1234.1200,'9.99')# Or if its always going to be a Money amount #DOLLARFORMAT(1234.1200)# Hope this helps. Jason E Miller Computer Consultants Unlimited http://www.computercu.com Brainbench Certified Cold Fusion Developer 4.5 Transcript Link: http://www.brainbench.com/transcript.jsp?pid=477741 -Original Message- From: Cameron [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:21 PM To: CF-Talk Subject: Fighting with NumberFormat Hi all, I dunno if anyone has had this problem before, but I have been fighting with NumberFormat for about an hour now... I am getting a Cost Price for a product from a database which stores the price as "Money". So I am trying to keep things consistant remove the extra zeros' that are returned (1234.1200). I'm _trying_ to use NumberFormat(cost_price, "__.__") to format it as "0.00" etc. But I am getting some weird results cost_price=1234.12 = NumberFormat(cost_price, '__.__') =1232. cost_price=50.00 = NumberFormat(cost_price, '__.__') = 50.00 I have used combinations of everything I can think of 1234.1200 = '__.00' = 1232. 50. = '__.00' = 50.00 1234.1200 = '00.9900' = 1234.12 50. = '00.9900' = 50. etc, etc... Can someone PLEASE help me get this consitent... all I want is 2 decimal's after the decimal place, and any number before it. Cameron Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Date/Time Nightmare
Nathan - I remember seeing her thread on Sunday - but I only seen the individual mails she sent - so I would look at your mail server. -Original Message- From: Nathan Stanford [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 11:22 AM To: CF-Talk Subject: RE: Date/Time Nightmare This is now the 23 email copy I have received of this. Can someone tell me is it my Companies email server, cf-talk, or Yvette's email server... please someone stop it... Thanks, Nathan -Original Message- From: Yvette Ingram [SMTP:[EMAIL PROTECTED]] Sent: Sunday, March 18, 2001 4:16 PM To: CF-Talk Subject: Re: Date/Time Nightmare Jim: Thanks. That adds 3/25/01 to the list. I just want the current week from 3/18/01 to 3/24/01. I know it's probably simple to get this, but at the moment I'm not seeing it. {ts '2001-03-18 17:13:08'} {ts '2001-03-19 17:13:08'} {ts '2001-03-20 17:13:08'} {ts '2001-03-21 17:13:08'} {ts '2001-03-22 17:13:08'} {ts '2001-03-23 17:13:08'} {ts '2001-03-24 17:13:08'} {ts '2001-03-25 17:13:08'} Yvette Ingram Brainbench Certified ColdFusion 4.5 Programmer Email: ingramrecruiting@erols or [EMAIL PROTECTED] ICQ: 21200397 - Original Message - From: "Jim McAtee" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, March 18, 2001 4:52 PM Subject: Re: Date/Time Nightmare cfloop index="ii" from="0" to="6" - Original Message - From: "Yvette Ingram" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, March 18, 2001 2:50 PM Subject: Date/Time Nightmare hello, I "REALLY" need help on this. Here's the problem: The Code: cfset startweek_dt = #Now()# cfloop index="ii" from="1" to="6" cfset startweek_dt = DateAdd('d',1, startweek_dt) cfoutput#startweek_dt#/cfoutputbr /cfloop Produces this: {ts '2001-03-19 16:39:43'} {ts '2001-03-20 16:39:43'} {ts '2001-03-21 16:39:43'} {ts '2001-03-22 16:39:43'} {ts '2001-03-23 16:39:43'} {ts '2001-03-24 16:39:43'} I can't get 3/18/01 through 3/24/01 passed correct through the select box. Can I or how do accomplish this. Yvette Ingram Brainbench Certified ColdFusion 4.5 Programmer Email: ingramrecruiting@erols or [EMAIL PROTECTED] ICQ: 21200397 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: link color
A good trick is to use Browserhawk to set a variable for you and then pass that along in your code so you can make adjustments - that's if you don't just come straight out and tell your Users to use IE 5.5 for best results. People can hate M$ all they want but there is not much debate that they have given us a much easier to code for Browser - hell Netscape cannot even do proper text sizing or spacing so Netscape (which I used from the begining) gets a big thumbs down for innovation and ease of use - actually if it wasn't for M$ Netscape would probably have been replaced by some useable browser by now anyway - the only thing that keeps it alive are the Microsoft haters. -Original Message- From: Phoeun Pha [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 2:03 PM To: CF-Talk Subject: RE: link color Force your users to download IE! Bill will love you! I am, too, frustrated with having to test stuff in both IE and netscape. Tables are the usual problem. But I get around that by testing with Netscape. The rule is, if tables look right in NS, they will in IE. but,when it comes to CSS or javascript, ack, what a waste of time. i have to code different javascript for netscape. plus, some CSS wont work with netscape. In the end, I give NS a thumbs down for being such a pain. I wish it was as lenient as IE. But that leaves room for lazy programming ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Read part of a string
Try this code should set you up - Var1 and 2 would obviously be from a query I would assume? There are a lot of other ways to do this that are cooler but this should give you the idea and you can work from there. CFSET VAR1="BA01/ABC" CFSET VAR2="BA01/DEF" CFSET FIRSTFOUR="#LEFT(Var1,4)#" CFSET NEXTFOUR="#LEFT(Var2,4)#" CFOUTPUT#FIRSTFOUR#, #NEXTFOUR# CFIF FIRSTFOUR IS NEXTFOURYEAH THEY MATCH/cfif/cfoutput -Original Message- From: Michael Gribbin [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 11:13 PM To: CF-Talk Subject: Read part of a string Hi, I need to compare the first 4 characters of a product code "BA01/ABC" with the first 4 characters of the next product code in sequence "BA01/DEF" to see if they belong to the same group. How do I "read" only those first 4 characters of each product code? Thanks in advance, Michael Gribbin Digital Marketing Alliance ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Based EMail Mailing LIst?
I doubt someone who wants to send mail to a measly 1600 people is going to want to spend $4,900.00 dollars on a mail program. I have done quite a bit of work with CFMAIL and integrating it into our Newsletter database and it has performed quite well. Just out of curiosity and not in anyway to start a flame war (I have not tested coolfusion's product so this is in no way a knock on it) I would like to hear the problems you have had when using custom written apps and CFMAIL? I especially like the simplicity of being able to send a personalized e-mail to every person on your list using CFMAIL - right down to inserting the custom information they have requested. Thanks. -Original Message- From: W Luke [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 18, 2001 8:07 AM To: CF-Talk Subject: Re: CF Based EMail Mailing LIst? You''ll find cfmail a pain unless you're using a dedicated server - we use coolfusion.com's postSe as it works a hell of a lot better. Will -- [EMAIL PROTECTED] -=- www.lukrative.com Local-Advertising -=- www.localbounty.com - Original Message - From: ""Jason E Miller"" [EMAIL PROTECTED] Newsgroups: dotcom.lists.cftalk Sent: Sunday, March 18, 2001 12:07 AM Subject: RE: CF Based EMail Mailing LIst? Using the built in CFMAIL this is very easy to write yourself especially if you have access to SQL server. If you need some examples just mail me directly. -Original Message- From: Brian Thornton [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 17, 2001 2:49 PM To: CF-Talk Subject: CF Based EMail Mailing LIst? Anyone know of a application that can be used to send mail to a large amount of people? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Date/Time Nightmare
This should fix you up - just use the DateFormat cfset startweek_dt = #Now()# cfloop index="ii" from="1" to="6" cfset startweek_dt = DateAdd('d',1, startweek_dt) cfoutput#DATEFORMAT(startweek_dt,'MM/DD/')#/cfoutputbr /cfloop -Original Message- From: Yvette Ingram [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 18, 2001 1:50 PM To: CF-Talk Subject: Date/Time Nightmare hello, I "REALLY" need help on this. Here's the problem: The Code: cfset startweek_dt = #Now()# cfloop index="ii" from="1" to="6" cfset startweek_dt = DateAdd('d',1, startweek_dt) cfoutput#startweek_dt#/cfoutputbr /cfloop Produces this: {ts '2001-03-19 16:39:43'} {ts '2001-03-20 16:39:43'} {ts '2001-03-21 16:39:43'} {ts '2001-03-22 16:39:43'} {ts '2001-03-23 16:39:43'} {ts '2001-03-24 16:39:43'} I can't get 3/18/01 through 3/24/01 passed correct through the select box. Can I or how do accomplish this. Yvette Ingram Brainbench Certified ColdFusion 4.5 Programmer Email: ingramrecruiting@erols or [EMAIL PROTECTED] ICQ: 21200397 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Date/Time Nightmare
I guess Im not quite following - do you want a CFIF to compare the dates and not let it be outside a certain range? Or are you looing for and OPTION VALUE="3/19/2001"3/19/2001 ? CFFORM METHOD="POST" ACTION="test.cfm" enctype="multipart/form-data" CFSELECT name="THIS_DATE" cfset startweek_dt = #Now()# cfloop index="ii" from="1" to="6" cfset startweek_dt = DateAdd('d',1, startweek_dt) cfoutputOPTION VALUE="#startweek_dt#"#DATEFORMAT(startweek_dt,'MM/DD/')#/OPTION/cfo utput /cfloop /CFSELECT /CFFORM -Original Message- From: Yvette Ingram [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 18, 2001 2:18 PM To: CF-Talk Subject: Re: Date/Time Nightmare Jason: Thanks. This just formats 3/19/01 through 3/24/01. I need to get 3/18/01 through 3/24/01 no more, no less. The formatting is not the problem. Yvette Ingram Brainbench Certified ColdFusion 4.5 Programmer Email: ingramrecruiting@erols or [EMAIL PROTECTED] ICQ: 21200397 - Original Message - From: "Jason E Miller" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, March 18, 2001 4:51 PM Subject: RE: Date/Time Nightmare This should fix you up - just use the DateFormat cfset startweek_dt = #Now()# cfloop index="ii" from="1" to="6" cfset startweek_dt = DateAdd('d',1, startweek_dt) cfoutput#DATEFORMAT(startweek_dt,'MM/DD/')#/cfoutputbr /cfloop -Original Message- From: Yvette Ingram [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 18, 2001 1:50 PM To: CF-Talk Subject: Date/Time Nightmare hello, I "REALLY" need help on this. Here's the problem: The Code: cfset startweek_dt = #Now()# cfloop index="ii" from="1" to="6" cfset startweek_dt = DateAdd('d',1, startweek_dt) cfoutput#startweek_dt#/cfoutputbr /cfloop Produces this: {ts '2001-03-19 16:39:43'} {ts '2001-03-20 16:39:43'} {ts '2001-03-21 16:39:43'} {ts '2001-03-22 16:39:43'} {ts '2001-03-23 16:39:43'} {ts '2001-03-24 16:39:43'} I can't get 3/18/01 through 3/24/01 passed correct through the select box. Can I or how do accomplish this. Yvette Ingram Brainbench Certified ColdFusion 4.5 Programmer Email: ingramrecruiting@erols or [EMAIL PROTECTED] ICQ: 21200397 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Based EMail Mailing LIst?
Cool thanks for the info - the only gripe I have ever had with CFMAIL is not being able to easily sort undeliverable mails - when I popped over the site I seen there main offering was $4900 or so, but after taking a look at your info I'm going to go checkout there $75.00 server license and see what its like. Thanks. -Original Message- From: Kym Kovan [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 18, 2001 2:39 PM To: CF-Talk Subject: RE: CF Based EMail Mailing LIst? Hi Jason, I doubt someone who wants to send mail to a measly 1600 people is going to want to spend $4,900.00 dollars on a mail program. Where did $4,900 come from? The only server mentioned is the iMS POST SE, which is $75 a year license, not quite the same thing :-) I have done quite a bit of work with CFMAIL and integrating it into our Newsletter database and it has performed quite well. You have been lucky. Just out of curiosity and not in anyway to start a flame war ... I would like to hear the problems you have had when using custom written apps and CFMAIL? Its quite simple, CFMAIL fails to easily, so you have to write a scheduled thing that looks in the "bad" folder, gets it all out, works out why it failed and put it back in the spool folder and try again. Why do that when you can have a real mail posting engine that handles mail properly, writes proper logs and has a nice template facility for handling failed messages, reporting stats, etc., for almost nothing? I especially like the simplicity of being able to send a personalized e-mail to every person on your list using CFMAIL - right down to inserting the custom information they have requested. the iMS POST server uses a custom tag, CFX_iMSMail, that you can treat in a very similar way as the CFMAIL tag, only it has better facilities. Custom mail with it is a doddle. -- Yours, Kym ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Based EMail Mailing LIst?
Using the built in CFMAIL this is very easy to write yourself especially if you have access to SQL server. If you need some examples just mail me directly. -Original Message- From: Brian Thornton [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 17, 2001 2:49 PM To: CF-Talk Subject: CF Based EMail Mailing LIst? Anyone know of a application that can be used to send mail to a large amount of people? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Based EMail Mailing List?
CFMAIL is made to mail lots of people I regularly use it to mail in excess of 100,000 mails a day to some of our bigger Newsletter lists - the key is to mail them in batches, usually 5000 to 10,000 depending on server resources. I use a script I wrote to pull the list of subscribers from a db and loop through and mail them through the cfmail tag. You can use this to decided what kind of mail to send them (Plain/HTML) to check whether they have unsubscribe or not and to insert personalized messages. The CFMAIL tag works great for this. Im using it on a Win 2K machine SP1 , CF 4.5.1 SP2,Imail 6.3. -Original Message- From: Brian Thornton [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 17, 2001 3:07 PM To: CF-Talk Subject: Re: CF Based EMail Mailing List? Dude, CFMAIL is not the way to go when emailing like 1600 people. Can you write a text file to the spool directory? - Original Message - From: "Jason E Miller" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Saturday, March 17, 2001 5:02 PM Subject: RE: CF Based EMail Mailing LIst? Using the built in CFMAIL this is very easy to write yourself especially if you have access to SQL server. If you need some examples just mail me directly. -Original Message- From: Brian Thornton [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 17, 2001 2:49 PM To: CF-Talk Subject: CF Based EMail Mailing LIst? Anyone know of a application that can be used to send mail to a large amount of people? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Reg Expression Parsing help...
If you are using the Remote_Addr to pull the data the following code example should work fine (allowing you to parse out whatever portions you need) although I believe a port will usually show up as 10.10.10.30:5000 so you would have to change the deliminater depending. Hope this helps. cfset ThisIP="#ListGetAt(REMOTE_ADDR,1,".")#.#ListGetAt(REMOTE_ADDR,2,".")#.#ListG etAt(REMOTE_ADDR,3,".")# .#ListGetAt(REMOTE_ADDR,4,".")#" CFSET This_Port="#ListGetAt(REMOTE_ADDR,5,".")#" -Original Message- From: James Birchler [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 17, 2001 7:38 PM To: CF-Talk Subject: Reg Expression Parsing help... 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 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: different link colours
Just use CLASS = "YourClass" and make custom styles for these items. If you need more examples just e-mail me back directly. Insert into your style sheet --- ..YourClass{ font-family :Arial,Verdana, Geneva,Helvetica,sans-serif !Important; font-size : 16px !Important; color: BLUE !Important; font-variant : normal !Important; font-weight : bolder; } A HREF="link.cfm" class="YourClass"Link/A -Original Message- From: Seamus Campbell [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 17, 2001 10:17 PM To: CF-Talk Subject: OT: different link colours hi I know this is very off-topic, but I'm having a brain meltdown. I'm sure there is a simple solution but I just can't work it out. Any help much appreciated I have a frames site (frames done by someone else) which I have to change to non-framed. The bottom frame has this in a body tag: body text="#FF" link="#99" vlink="#FF9900" alink="#99" Basically the bottom links are the above colours in a dark brown background table I have cfincluded a bottom.cfm table which is basically the same as the original frame. However I can't work out how to have just this file with these different link colours. I can get a style sheet to work but when I load the index file with the bottom.cfm cfincluded the whole page ie including the index.cfm has the bottom.cfm link colours. So how do I get the above links colours to ONLY work in bottom.cfm Any help very much appreciated Seamus ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists