Re: Newbie needs a little PRO help
Don't forget to wrap the CFQUERY doing the INSERT and the CFQUERY doing the SELECT with a CFTRANSACTION tag. Tom At 7/23/00 01:48 AM, you wrote: Or, would you lock the tables used in the set of queries that include the SELECT Max(ID) AS mid FROM Table_Name? Sorry, still thinking aloud. Stephen R. Cassady Publisher, Spank! Youth Culture Online http://www.spankmag.com [EMAIL PROTECTED] If I understand you correctly, you need the "autonumber" that was just created when you inserted data into your db. If this is correct, try this: cfquery name="name" datasource="datasource" SELECT Max(ID) AS mid FROM Table_Name /cfquery Hope that helps... Mark -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
small JS Q
hi all, i have a very small JS problem. how can i stop a form from submitting?? i mean i have some validations to be done using JS and then when the conditions do not not satisfy its showing th alert but the form is getting submitted (i checked with both, form-action pages and also self submitting forms). any advise? thanx in advance akbar -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: small JS Q
You need to have your validation return false. script function validate { form = window.document.forms[0]; if (form.field.value.length 1) { return false; } else { return true; } } form method="post" action="script.cfm" onSubmit="return validate()" Jon - Original Message - From: Akbar [EMAIL PROTECTED] To: CF Talk (E-mail) [EMAIL PROTECTED] Sent: Sunday, July 23, 2000 11:30 AM Subject: small JS Q hi all, i have a very small JS problem. how can i stop a form from submitting?? i mean i have some validations to be done using JS and then when the conditions do not not satisfy its showing th alert but the form is getting submitted (i checked with both, form-action pages and also self submitting forms). any advise? thanx in advance akbar -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
CFINSERT / NEWBIE BAFFLED
This is a multi-part message in MIME format. --=_NextPart_000_0011_01BFF4A7.E4E9B320 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can someone please make a recommendation on a simple and effective code = to insert data into a column in a particular row. the column position is = empty and all others are full. An update I suppose. I also can't seem to get session variables to work. I just need a local = variable for one page. All assistance appreciated --=_NextPart_000_0011_01BFF4A7.E4E9B320 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1" META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2Can someone please make a = recommendation on a=20 simple and effective code to insert data into a column in a particular = row. the=20 column position is empty and all others are full. An update I=20 suppose./FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2I also can't seem to get session = variables to work.=20 I just need a local variable for one page./FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2All assistance=20 appreciated/FONT/DIV/BODY/HTML --=_NextPart_000_0011_01BFF4A7.E4E9B320-- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: CFINSERT / NEWBIE BAFFLED
CFQUERY INSERT INTO MyTable SET MyColum = '#SomeTextVariable' WHERE .. /CFQUERY At 1:14 PM -0700 7/23/00, Mike Weaver wrote: This is a multi-part message in MIME format. --=_NextPart_000_0011_01BFF4A7.E4E9B320 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can someone please make a recommendation on a simple and effective code = to insert data into a column in a particular row. the column position is = empty and all others are full. An update I suppose. I also can't seem to get session variables to work. I just need a local = variable for one page. All assistance appreciated -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
SQL - OT Full-Text Catalogs
Using Windows 2000, and SQL 7 I have setup Full-Text Catalogs in the past under NT 4 without any problems. Now in this new server, I can't. After the population command is completed, my catalog is empty. Upon looking at the Event Viewer and see the following error: Unable to access crawl seed MSSQL://LOCALHOST/7.82099333 in project SQLServer SQL75. Error: 80072ee2 - The operation timed out I can't figure out what is timing out and why. Is this something new with Windows 2000? I need some clues on to what to start looking for. This is the last step in completing this project and it is holding me back!! Regards,Ray. -- - Ramon E. Fernandez | Internet: [EMAIL PROTECTED] Internet Consultant | CIS UserID: 75205,1611 Web Page Creations | "Any smoothly functioning technology Phone: (954) 975-4681|will have the appearance of magic." Fax: (954) 975-4619| - Arthur C. Clarke - -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: CFINSERT / NEWBIE BAFFLED
Oops! CFQUERY INSERT INTO MyTable SET MyColumn = '#SomeTextVariable#' WHERE .. /CFQUERY At 11:28 AM -0700 7/23/00, Dick Applebaum wrote: CFQUERY INSERT INTO MyTable SET MyColum = '#SomeTextVariable' WHERE .. /CFQUERY At 1:14 PM -0700 7/23/00, Mike Weaver wrote: This is a multi-part message in MIME format. --=_NextPart_000_0011_01BFF4A7.E4E9B320 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can someone please make a recommendation on a simple and effective code = to insert data into a column in a particular row. the column position is = empty and all others are full. An update I suppose. I also can't seem to get session variables to work. I just need a local = variable for one page. All assistance appreciated -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_tal k or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Checking for file on server
Try: cfif FileExists("#thisDirectory#/pics/#FILENAME#.jpg") instead of cfif FileExists("#thisPath#/#thisDirectory#/pics/#FILENAME#.jpg") Duane Boudreau CFExperts.Com -Original Message- From: John Allred [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 23, 2000 5:10 PM To: CF-Talk Subject: Checking for file on server Hi, I need to check for the existence of an image file and either display the file, if it exists, or display a default file. I have worked up the following code, which produces no errors, but it will not display the default file when the file I'm checking for doesn't exist. Can anyone see the error? CFOUTPUT QUERY="EmpName" CFSET thisPath= ExpandPath("*.*") CFSET thisDirectory= GetDirectoryFromPath(thisPath) cfif FileExists("#thisPath#/#thisDirectory#/pics/#FILENAME#.jpg") IMG SRC="pics/no_pic.jpg" height=155 width=128 alt="#FN# #MN# #LN#" cfelseIMG SRC="pics/#FILENAME#.jpg" height=155 width=128 alt="#FN# #MN# #LN#"/cfif /CFOUTPUT In either case, the code, "pics/#FILENAME#.jpg," gets executed. If I swap the two parts of the CFIF, then "pics/no_pic.jpg" gets executed in either case. So I know my test always evaluates to false. I tried changing the fileExists parameter to "pics/#FILENAME#.jpg", but I get the same result. This template is in the root, and the picture files are in [root]/pics/ Thanks, --John -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Stripping tags from content
There is a tag called cf_tagstripper in the Developer exchange wihich should do the trick. Lanny Udey Hofstra University Eric Dawson [EMAIL PROTECTED] Sunday, July 23, 2000 Not sure what to do. How do I strip all tags BUT form tags from some cfhttp content. Example: cfhttp url=somesite.com start=first form end - /form content = trim(filecontent) Now I need to strip all non form tags. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: random
At 02:24 PM 7/23/00 -0500, you wrote: I have a query that needs to produce a random output(or itemID #), based on which category the user selected?thanks cfquery name="GetDetail" datasource="#odbc#" SELECT * FROM Items WHERE ItemID='LA-BV912XL' /cfquery I don't have the code with me, but it think it goes like this: cfset RandomRow = RandRange(1,GetDetail.RecordCount) cfoutput #GetDetail.ColumnName[RandomRow]# /cfoutput -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Random Numbers and Banner Managers
Duane can you set a client variable that contains a list of already displayed banners and test against that list so they do not come up as often? Of course you might want to make a weighting table for clients that paid more to come up more often. And actually your code should be more like cfquery datasource="#Attributes.DataSource#" name="q_banners" SELECT BannerAdID FROM BannerAds WHERE Active = 1 /cfquery cfset myrow = RandRange(1,q_banners.RecordCount) cfoutput #q_banners.BannerAdID[myrow]# /cfoutput - Original Message - From: "Duane Boudreau" [EMAIL PROTECTED] To: "CFTalk" [EMAIL PROTECTED] Sent: Sunday, July 23, 2000 1:53 PM Subject: Random Numbers and Banner Managers Hi All, I'm working on a banner manager program and I seem to be having a problem getting a true random number. It seems that some of the banners pop up more frequently than others. Here is the code I am using. Is there something better I could be using to generate a random number or is this as good as it gets? cfquery datasource="#Attributes.DataSource#" name="q_banners" SELECT BannerAdID FROM BannerAds WHERE Active = 1 /cfquery cfset variables.bid = ListGetAt(ValueList(q_banners.BannerAdID), andRange( 1, ListLen(ValueList(q_banners.BannerAdID TIA, Duane Boudreau CFExperts.Com -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
How does CFXHosting do it?
Hello everyone, I've just come across a webhosting provider by the name of CFX_hosting, from the same people who brought us Halfpricehosting. The question is this. CFX_hosting claims that all customers will be put on virtual server accounts, yet each virtual server account will have full access to CF administrator and have the ability to do things like add CFX tags without the intervention of the hosting company's staff. How are they able to provide everyone access to the CF administrator on shared servers? Does CF have native support for administrator access that restricts actions to specific virtual server accounts? Or is this a proprietary technology? Does anyone know what technology CFX_hosting is using to be able to allow this feature? Regards Leong -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: CFStudio - is the 4.5a upgrade for 4.5.1?
Actually, I think it's the other way around. 4.5.1 supercedes 4.5a. Correct me if I'm wrong... Leong -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 24, 2000 8:35 AM To: [EMAIL PROTECTED] Subject: CFStudio - is the 4.5a upgrade for 4.5.1? I'm suddenly getting an access violation in the msvcrt.dll that keeps me out of a particular FTP site in CFStudio v4.5.1. on Win2K Pro. Other FTP sites are working fine (weird). Figuring I'd get the latest updater, I went to Allaire.com, but all I can find is the 4.5a updater, and there's no mention of whether or not you can/should run that on v4.5.1. Should I run that updater? I found the KB article at http://www.allaire.com/Handlers/index.cfm?ID=14633Method=Full that said to make sure msvcrt.dll was version 6.00.8397.0, but my Win2K has a newer version than that. Any help would be greatly appreciated... -Ron -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: SQL - OT Full-Text Catalogs
Using Windows 2000, and SQL 7 I have setup Full-Text Catalogs in the past under NT 4 without any problems. Now in this new server, I can't. After the population command is completed, my catalog is empty. Upon looking at the Event Viewer and see the following error: Unable to access crawl seed MSSQL://LOCALHOST/7.82099333 in project SQLServer SQL75. Error: 80072ee2 - The operation timed out I can't figure out what is timing out and why. Is this something new with Windows 2000? I need some clues on to what to start looking for. Have you patched SQL Server to SP 2? I don't recall any specific patch for that in there, but it may be. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Random Numbers and Banner Managers
That looks correct. You should probably also seed the random number generator. I'm not sure if you need to do this every time the code is called, but it can't hurt. Make sure you run a large test of the code's "randomness" before you conclude whether it works or not. Just create a loop that calls (or includes) the code and note the frequency of each ad. One thing I'd change, to save the calls to the ValueList() function: cfset bid = q_banners.BannerAdID[RandRange(1, q_banners.recordcount)] A simple frequencty test loop: cfset freq = StructNew() cfloop index="i" from="1" to="5" !--- Place your code here --- cfif StructKeyExists(freq, "#bid#") cfset freq[bid] = freq[bid] + 1 cfelse cfset freq[bid] = 1 /cfif /cfloop cfloop item="bid" collection="#freq#" cfoutput#bid#: #freq[bid]#/cfoutputbr /cfloop Jim -Original Message- From: Duane Boudreau [EMAIL PROTECTED] To: CFTalk [EMAIL PROTECTED] Date: Sunday, July 23, 2000 2:50 PM Subject: Random Numbers and Banner Managers Hi All, I'm working on a banner manager program and I seem to be having a problem getting a true random number. It seems that some of the banners pop up more frequently than others. Here is the code I am using. Is there something better I could be using to generate a random number or is this as good as it gets? cfquery datasource="#Attributes.DataSource#" name="q_banners" SELECT BannerAdID FROM BannerAds WHERE Active = 1 /cfquery cfset variables.bid = ListGetAt(ValueList(q_banners.BannerAdID), andRange( 1, ListLen(ValueList(q_banners.BannerAdID TIA, Duane Boudreau CFExperts.Com -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Help! PCode errors!
Could anybody out there please shed some light on this whole PCode error thing? We have a site which has suddenly gone down completely due to PCode errors. Its got us completely mystified, because the front-end doesn't use application variables or CFHTTP or any of the other bogies which normally cause these errors (if it is due to parallel execution as I believe). In fact, just before the whole site went down I actually got a PCode error in the middle of a CFOUPUT, before it eventually decided it would be simpler to give us a PCode error on loading each and every page, i.e.: unknown exception condition CFMLInterpreterImp::executePCode(pre-execution) We managed to fix it by restarting the CF server, but we don't want this sort of thing happening if we can help it. Any help would be appreciated. David -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: small JS Q
thanx a lot. it worked just fine.:-) akbar -Original Message- From: Jonathan Karlen [mailto:[EMAIL PROTECTED]] Sent: Monday, July 24, 2000 2:04 AM To: [EMAIL PROTECTED] Subject: Re: small JS Q You need to have your validation return false. script function validate { form = window.document.forms[0]; if (form.field.value.length 1) { return false; } else { return true; } } form method="post" action="script.cfm" onSubmit="return validate()" Jon - Original Message - From: Akbar [EMAIL PROTECTED] To: CF Talk (E-mail) [EMAIL PROTECTED] Sent: Sunday, July 23, 2000 11:30 AM Subject: small JS Q hi all, i have a very small JS problem. how can i stop a form from submitting?? i mean i have some validations to be done using JS and then when the conditions do not not satisfy its showing th alert but the form is getting submitted (i checked with both, form-action pages and also self submitting forms). any advise? thanx in advance akbar -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
NEWBIE REQUESTS HELP
This is a multi-part message in MIME format. --=_NextPart_000_0014_01BFF4FE.097694A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a situation where I have 5 different companies which use the same = application with the only difference being that the items in a select = box must change depending on company. The 5 companies however are = comprised of multiple stores. The store ID designates the company via = 1xx series. 2xx. series 3xx series, etc. Will I have to develop a = separate page for each company, or is there a way to determine the = select variables based on the initial store input ID of xxx? Multiple = stored and retrieved records in the database and it's tables are based = on the store ID Any assistance appreciated! Mike --=_NextPart_000_0014_01BFF4FE.097694A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1" META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2I have a situation where I have 5 = different=20 companies which use the same application with the only difference being = that the=20 items in a select box must change depending on company. The 5 companies = however=20 are comprised of multiple stores. The storenbsp;ID designates the = company via=20 1xx series. 2xx. series 3xx series, etc.nbsp; Will I have to develop a = separate=20 page for each company, or is there a way to determine the select = variables based=20 on the initial store input ID of xxx?nbsp;Multiple stored and retrieved = records=20 in the database and it's tablesnbsp;are based on the store = ID/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2Any assistance = appreciated!/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2Mike/FONT/DIV/BODY/HTML --=_NextPart_000_0014_01BFF4FE.097694A0-- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Stripping tags from content
yeah I downloaded it and a couple of others, and I think I have enough to go on. I am going to parse through for each of the tags that can be within form tags. Know how to do it. I'm happy. and rather than strip, append. Next. to get it to something I can create cfhttpparam with to post back to the site I stole the form from. I'll get there, if I don't go golfing tomorrow. Eric From: "Lanny R. Udey" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Stripping tags from content Date: Sun, 23 Jul 2000 18:33:51 -0400 There is a tag called cf_tagstripper in the Developer exchange wihich should do the trick. Lanny Udey Hofstra University Eric Dawson [EMAIL PROTECTED] Sunday, July 23, 2000 Not sure what to do. How do I strip all tags BUT form tags from some cfhttp content. Example: cfhttp url=somesite.com start=first form end - /form content = trim(filecontent) Now I need to strip all non form tags. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: email server
I know I know. But for those less silly in the crowd. At 7/23/00 06:18 PM, you wrote: I think you missed the BSD conversation in which I previously blew my cover. I was being silly. At 11:38 AM 7/22/00 +0200, you wrote: I don't see why not. Sendmail is Sendmail. Just get it working on whatever *nix you like. (Is there a Windows version of Sendmail? I haven't looked) My NT Cold Fusion server is perfectly happy talking to my Linux sendmail. I tried with the base Exchange server but my Linux box is WAY faster than Exchange Tom At 7/21/00 05:12 PM, you wrote: At 11:59 PM 7/21/00 +0200, you wrote: Sendmail on RedHat Linux :) "Only on RedHat? Is it compatible with sendmail on any other systems?" she says having already blown her cover on the BSD topic earlier today. At 7/21/00 05:47 PM, you wrote: What's the name of the email server product which integrates well with CF? The name is on the tip of my fingers, but... I can't remember now. - - Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. - - Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: NEWBIE REQUESTS HELP
Hi Mike, Your post does not indicate that it is desirable or necessary to create a separate page for each store. Just because they have different ID numbers does not necessitate that they have different pages. One of my apps has many (10+) clients in about 40k records. If one or more of the clients want something special/extra I can (for a price) provide it. Otherwise they all see the same data pages/formats, but of course only their data. I just use the ID to Select(filter) the records they see. I capture the ID in a session variable (or you can use a CFCookie)on the first page and use that in any CFQueries on that or other pages. For instance if they want to search their data by city, I search by the their ID + the city they input. If they want to search by last name I search by their ID + the Last name the input, etc. Good luck. Regards, Paige - Original Message - From: "Mike Weaver" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 24, 2000 2:30 AM Subject: NEWBIE REQUESTS HELP This is a multi-part message in MIME format. --=_NextPart_000_0014_01BFF4FE.097694A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a situation where I have 5 different companies which use the same = application with the only difference being that the items in a select = box must change depending on company. The 5 companies however are = comprised of multiple stores. The store ID designates the company via = 1xx series. 2xx. series 3xx series, etc. Will I have to develop a = separate page for each company, or is there a way to determine the = select variables based on the initial store input ID of xxx? Multiple = stored and retrieved records in the database and it's tables are based = on the store ID Any assistance appreciated! Mike --=_NextPart_000_0014_01BFF4FE.097694A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1" META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2I have a situation where I have 5 = different=20 companies which use the same application with the only difference being = that the=20 items in a select box must change depending on company. The 5 companies = however=20 are comprised of multiple stores. The storenbsp;ID designates the = company via=20 1xx series. 2xx. series 3xx series, etc.nbsp; Will I have to develop a = separate=20 page for each company, or is there a way to determine the select = variables based=20 on the initial store input ID of xxx?nbsp;Multiple stored and retrieved = records=20 in the database and it's tablesnbsp;are based on the store = ID/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2Any assistance = appreciated!/FONT/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial size=3D2Mike/FONT/DIV/BODY/HTML --=_NextPart_000_0014_01BFF4FE.097694A0-- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.