Wednesday, 24 September 2008
|
| Lower Taxes First?? (was Re: TAXES) Gruss Gott 03:47:51 |
| | Hi Andy,
Read the book below (by a Republican if that matters) and it will explain why that philosophy is REALLY wrong. Here's a quote from the author:
"finally, we've got the so-called starve-the-beasters, you know, who argue just the opposite of the supply-siders. They argue that if you cut taxes, of course, revenues will go down and then we'll get rid of all those government benefit programs. Well, I look at those guys and I say, look, if you're so serious about cutting spending, why don't you tell us now, tell us now what you're going to do particularly about the big programs, Social Security, Medicare, and so forth, because that's where the big bucks are."
"starve-the-beast" is just a way to make fiscal insanity look conservative. They're peeing on your leg and you believe them when they tell you it's raining.
Running On Empty: How The Democratic and Republican Parties Are Bankrupting Our Future and What Americans Can Do About It by Peter G. Peterson
http://www.amazon.com/exec/obidos/ASIN/0374252874/qid=1094151881/sr=ka-1/ref =pd_ka_1/102-4122435-6576934
Peter G. Peterson--a lifelong Republican, chairman of the Blackstone Group, and former secretary of commerce under Nixon--shatters the myths with hard facts and a harrowing view of the twin deficit's real impact. Republicans and Democrats alike have mortgaged America's future through reckless tax cuts, out-of-control spending and Enron-style accounting in Congress. And the situation will only get worse as the Baby Boom generation begins to retire, making unprecedented demands on entitlement programs like Social Security and Medicare. Despite what Bush says, we are on a path that could end in economic meltdown, and we simply cannot grow out of the deficit.
When Bush came to office in 2001, the 10-year budget balance was officially projected to be at a surplus of $5.6 trillion. But after three big tax cuts, the bursting of the stock-market bubble, and the devastating effects of 9/11 on the economy, the surplus has evaporated, and the deficit is expected to grow to $5-trillion over the next decade. The domestic deficit is only the half of it. Given our $500 billion trade deficit and our anemic savings rate, we depend on an unprecedented $2 billion of foreign capital every working day. If foreign confidence were to wane, this could lead to the dreaded hard landing.
In Running On Empty, Peterson sounds the warning bell and prescribes a set of detailed solutions which, if implemented early, will prevent the need for draconian measures later. He takes us behind the politicians' smoke-and-mirror games, and forcefully explains what we must do to rescue the future of our country.
----- Original Message ----- From: Andy Ousterhout <andy@omygoodness.com> Date: Tue, 7 Sep 2004 14:58:11 -0500 Subject: RE: TAXES To: CF-Community <cf-community@houseoffusion.com>
I agree on fiscal discipline tied to smaller government. However, I don't know how you do that without lowering taxes ahead of spending to starve the fire or at least reduce the fuel to it. Andy
-----Original Message----- From: Marlon Moyer [mailto:marlon.moyer@gmail.com] Sent: Tuesday, September 07, 2004 2:50 PM To: CF-Community Subject: Re: TAXES Liked it better before I'd like to vote republican, but I don't think it's a fiscal possibility to lower taxes and increase spending. If the repubs could limit spending, I'd be all for it, but not lowering taxes at the risk of our offspring paying for it.________________________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Protect your mail server with built in anti-virus protection. It's not only good for you, it's good for everybody. http://www.houseoffusion.com/banners/view.cfm?bannerid=39
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:127351 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 3 answer | Add comment |
|
| Both Plain Text and HTML in cfmail Simmyana A 03:47:50 |
| | Hi, i want to send both plain text and HTML in a mail. I searche dthe web and found the following code
<cfset boundary = CreateUUID()> <cfmail to="xyx-GXcTff7tL0M@public.gmane.org" from="xyx-GXcTff7tL0M@public.gmane.org" subject="test" server="localhost">
<cfmailparam name="Content-Type" value="multipart/alternative; boundary=""#boundary#"""> --#boundary# Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit This is the plain text message for the email.
--#boundary#
Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
<html> <head> <title>HTML Message</title> </head> <body> This is the HTML text message for the email. </body> </html> --#boundary#-- </cfmail>
but it is sending blank mail. can anyone help me with this please
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:175924 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 13 answers | Add comment |
|
| Link sharing - good CF/XPath tutorials? Charlie Griefer 03:47:48 |
| | yesterday we all shared our colorwheel related bookmarks like good little do-bees.
today i'm hoping somebody can help me out with a good xpath tutorial...preferrably one that employs CF. I've found a number of xpath related pages (w3schools.com, zvon.org)...but none that seem to be walking me thru from start to finish...and certainly none that 'teach' it in the CF world (using xmlSearch).
spent all day yesterday banging my head against a wall trying to get a simple xpath statement working...but couldn't. i've resigned myself to figuring out xpath today, even if it kills me (well, that might be a little melodramatic...i'd certainly kill the person next to me before taking myself out).
any pointers would be appreciated.
charlie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:124774 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 3 answer | Add comment |
|
| CF Based Address Book recommendation Dharmesh Goel 03:47:47 |
| | Good Monday morning everyone,
Can someone recommend to me a CF based address book application that you may have come across. Nothing fancy required. There are pretty slim pickings out there when going through exchange and Google.
Thank you,
Dharmesh Goel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase Captivate from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=52
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:170610 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 1 answer | Add comment |
|
| OT: Javascript validation Robert Orlini 03:47:46 |
| | I have a function to make sure a user enters a number. How can I include a number and a comma and period if a user wants to enter a price such as: 9.90?
The line: if(charVal < "0" || charVal > "9" && charVal != "." && charVal != ",") still prevents a comma and period.
function isNumber2(inputStr, field) { for(var i=0; i<inputStr.length; i++) { var charVal = inputStr.substring(i, i+1); if(charVal < "0" || charVal > "9" && charVal != "." && charVal != ",") { alert("Please make sure your " + field + " entry are numbers ., only"); return false; } } return true; }
Robert O.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:164641 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4
|
| | 3 answer | Add comment |
|
| cfencode errors... Gonzo Rock 03:47:45 |
| | Hey all,
Anyone have experience using cfencode?
I have been trying to make cfencode.exe dated 5/23/01 (it came with cf 6.1 for windows) process recursively for several hours now... and feeling stooopid.
this is all on one line...
cfencode G:\Source\Unencoded\*.cfm G:\Source\Encoded /r /h "MyHeader" /v "2"
All the variations I can think of never work... and I've thought of 30 or more in these last few hours... renaming directories... moving the cfencode.exe into the first directory ... if I don't specify an outfile directory it encodes the first files but won't go recursive... etc etc etc...
Anyone have the secret?
thanks, Gonz
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:167863 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 2 answer | Add comment |
|
| CF -> .NET webservices Matthew Small 03:47:44 |
| | With a resounding silence, CF-Talk has let me know that nobody on that list has ever dealt with sending anything more than a string or a number from CF to a .NET webservice. I need to send a complex datatype to a .NET webservice. Anybody here done anything like that before?
Thank you, Matt Small
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:142780 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 1 answer | Add comment |
|
| Java class called from CF errors Taco Fleur 03:47:43 |
| | I have a Java class that runs fine as an application with main(), but when I call it form CF it errors, I made sure the right constructor is called - I just cannot figure out what the difference is and why it errors.
The error is:
There was an error reading the Input Stream. The error is Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
Any help is greatly appreciated.
/* Author: Taco Fleur (tacofleur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) */
package edge;
import java.io.*;
import java.net.UnknownHostException;
import java.security.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.net.ssl.*;
public class CFSSLTransportLayer
{
final String host = "edge.asic.gov.au";
final int port = 5608;
private static SSLSocket sslServerSocket;
static boolean debug = true;
final String keyStoreLocation ="C:\\Documents and Settings\\Administrator\\.keystore";
final String password = "xxxxx";
final int socketTimeout = 60000; // Set timeout to one minute as per specs.
SSLSocketFactory factory;
PrintWriter pw;
BufferedReader in = null;
String error = "";
public CFSSLTransportLayer()
{
try
{
KeyStore myKeyStore = KeyStore.getInstance( "JKS" );
myKeyStore.load( new FileInputStream( keyStoreLocation ), password.toCharArray() );
TrustManagerFactory myTrustFactory = TrustManagerFactory.getInstance( "SunX509", "SunJSSE" );
myTrustFactory.init( myKeyStore );
TrustManager[] myTrustManager = myTrustFactory.getTrustManagers();
SSLContext ctx = SSLContext.getInstance( "SSL" );
ctx.init( null, myTrustManager, null );
factory = ctx.getSocketFactory();
}
catch ( Exception e )
{
String myError = "Error creating SSL objects.";
System.err.println( myError );
setError( myError );
e.printStackTrace( System.out );
}
try
{
sslServerSocket = ( SSLSocket ) factory.createSocket( host, port );
// Set the timeout
sslServerSocket.setSoTimeout( socketTimeout );
if ( debug )
{
System.out.println( "*************************************************" );
System.out.println( "***********Secure socket made********************" );
System.out.println( "*************************************************" );
System.out.println();
}
pw = new PrintWriter( sslServerSocket.getOutputStream() );
}
catch ( UnknownHostException e )
{
String myError = "Unknown host.";
System.err.println( myError );
setError( myError );
}
catch ( java.net.SocketTimeoutException e )
{
String myError = "The Socket waited " + socketTimeout / 1000 + " seconds for a response.";
System.err.println( myError );
setError( myError );
}
catch ( IOException e )
{
String myError = "I/O Exception.";
System.err.println( myError );
setError( myError );
}
catch ( Exception e )
{
String myError = "An exception has occurred, error message: " + e.getMessage();
System.err.println( myError );
setError( myError );
}
}
private void setError( String error )
{
this.error = this.error + error + "\n";
}
private String getError()
{
return this.error;
}
public String send ( String message, boolean isLast )
{
String response;
String messageToSend = "BDAT " + message.length();
if ( isLast )
{
messageToSend = messageToSend + " LAST";
}
messageToSend = messageToSend + "\r\n" + message;
// Sent the message to EDGE
transmit( messageToSend );
response = getResponse();
if ( debug )
{
System.out.println( "Message that was sent to EDGE " + messageToSend );
System.out.println( "Message sent to EDGE." );
response = "response = " + response + getError();
}
return response;
}
public void transmit ( String message )
{
// Sent the message to EDGE
pw.println( message );
pw.flush();
}
private String getResponse()
{
String messageString = "";
try
{
if ( debug )
{
System.out.println( "*************************************************" );
System.out.println( "************Server Output************************" );
System.out.print( "Outputting reply from server: " );
}
in = new BufferedReader( new InputStreamReader( sslServerSocket.getInputStream() ) );
String header = "";
char[] myChar = new char[ 1 ];
// Making sure that we do not enter an infinite loop
int i = 0;
final int MAX_LENGTH_TO_READ = 30;
// Loop until we find the newline character, this should give us the header
while ( !header.endsWith( "\n" ) && i < MAX_LENGTH_TO_READ )
{
in.read( myChar, 0, 1 );
String myStringchar = new String( myChar );
header += myStringchar;
i++;
}
if ( i == MAX_LENGTH_TO_READ )
{
String myError = "Could not read the header!";
System.err.println( myError );
setError( myError );
}
int byteToRead = 0;
// Parse out the message length
Pattern myPattern = Pattern.compile( "\\d+" );
Matcher myMatch = myPattern.matcher( header );
if ( myMatch.find() )
{
byteToRead = Integer.parseInt( header.substring( myMatch.start(), myMatch.end() ) );
}
else
{
String myError = "Message length could not be found in the header! the header = " + header;
System.err.println( myError );
setError( myError );
// take your action in case no integer found in yourString
throw new Exception("MessageLengthNotFound", new Throwable( "The message length could not be found in the header." ) );
}
char[] myMessage = new char[ byteToRead ];
// Try and read the rest of the message
try
{
int remaining = byteToRead;
// Loop untill all bytes are read
while ( remaining > 0 )
{
remaining -= in.read( myMessage, byteToRead - remaining, remaining );
}
}
catch ( Exception e )
{
String myError = "Error reading the rest of the message, byteToRead: " + byteToRead + ". message: " + e.getMessage() + "\n";
System.err.println( myError );
setError( myError );
}
// Convert the message array to a string
messageString = new String( myMessage );
System.out.println( messageString );
if ( debug )
{
System.out.println( "***********Server output complete****************" );
System.out.println( "*************************************************" );
System.out.println();
}
}
catch ( IOException e )
{
String myError = "There was an error reading the Input Stream. The error is " + e.getMessage();
System.err.println( myError );
setError( myError );
}
catch ( Exception e )
{
e.printStackTrace( System.out );
}
return messageString;
}
public void closeConnection()
{
try
{
// Transmit log out request - receives no response
transmit( "BDAT 8\r\nXSCLOUT\n" );
in.close();
pw.close();
// close socket
sslServerSocket.close();
}
catch ( IOException e )
{
System.out.println( "Error trying to close the socket" + e.getMessage() + "\n" );
}
}
protected void finalize()
throws Throwable
{
try
{
closeConnection();
}
finally
{
super.finalize();
}
}
}
________________________________
Taco Fleur - E-commerce Development Manager
Shelco Searches & Services
An Authorised ASIC Information Broker
www.shelco.com.au
Ph: + 61 7 3236 2605
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211593 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 11 answers | Add comment |
|
| CF Hosting (for personal site) Christophe Maso 03:47:42 |
| | I'm looking to set up a personal website, just for fun and as a place on the web to demo skills to potential clients/employers, and was wondering if anyone could recommend an appropriate shared hosting company (i.e., they already have CF and a DB on a server and could give me a domain and some space at inexpensive rates). Thanks!
Christophe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:176534 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 2 answer | Add comment |
|
| Which SF character are you? Larry C. Lyons 03:47:41 |
| | Another one of these quizzes: http://www.tk421.net/character/
To start, I came out as: Jean-Luc Picard
An accomplished diplomat who can virtually do no wrong, you sometimes know it is best to rely on the council of others while holding the reins.
There are some words which I have known since I was a schoolboy. "With the first link, the chain is forged. The first speech censored, the first thought forbidden, the first freedom denied, chains us all irrevocably." These words were uttered by Judge Aaron Satie -- as a wisdom, and warning. The first time any man's freedom is trodden on, we're all damaged.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:178036 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 15 answers | Add comment |
|
| Crazy Frog... James Smith 03:47:40 |
| | Everyone in the UK will be familiar with the "Crazy Frog" ringtone, mostly because we are sick of hearing it at EVERY add break.
This morning on Radio 1, Chris Moyles played a minute or so of a dance track with the ringtone remixed over the top of it. I have a DJ friend who loathes that tone and the adds that go with it and I would love to get him a 12" of this as a gag gift. Does anyone know what it is called, who it is by and where I can get it from?
It is on the shows running order for 8:28 yesterday (listen here: http://www.bbc.co.uk/radio/aod/radio1_aod.shtml?radio1/r1moyles_wed and forward to 1:34:07) but at no point do they say what or who it is!
-- Jay
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:144784 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 7 answers | Add comment |
|
| Phone Service Options... Eric Dawson 03:47:37 |
| | I will report, if I learn anything...
But I want to figure out some alternate residential phone service options.
Where can I find reading for equipment required to pipe IP phone to all wired handsets in my house. and also... cellular service to all wired handsets in my house (ie making the phone service provider - cellular vs traditional telecom transparent.).
Make Sense?
Eric
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:130920 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 2 answer | Add comment |
|
| Let's just bomb Mecca Kevin Graeme 03:47:36 |
| | Congressman: Mecca a possible retaliation target
"Well, what if you said something like -- if this happens in the United States, and we determine that it is the result of extremist, fundamentalist Muslims, you know, you could take out their holy sites," Tancredo answered.
"You're talking about bombing Mecca," Campbell said.
"Yeah," Tancredo responded. http://www.cnn.com/2005/POLITICS/07/18/congressman.muslims.ap/index.html
Ugh. I take a moment from my project to check up on the world and this is what I see.
-Kevin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:165084 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 44 answer | Add comment |
|
| Sorry (was Re: Dreamweaver Templates..?) Bob Haroche 03:47:35 |
| | Bob Haroche wrote:> Off-list:
Well, it was supposed to be off list. Sorry for continuing to go OT with this thread.
------------- Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:180631 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 1 answer | Add comment |
|
| cfqueryparam help Daniel Kessler 03:47:34 |
| | I have a WHERE statement that I'm building, but I am having trouble adding cfqueryparam to the agency field. This is Oracle and the agency field is a varchar2(100). While I've simplified the query for the posting, it gives displays the problem.
SELECT * FROM internships WHERE 1=1 <cfif Form.agency neq ""> <!---AND UPPER(agency) like UPPER('%#form.agency#%')---> AND UPPER(agency) like UPPER('%<cfqueryparam value="#form.agency#" cfsqltype="cf_sql_varchar">%') </cfif> AND r >= <cfqueryparam value="#url.begin_num#" cfsqltype="cf_sql_integer"> AND r <= <cfqueryparam value="#url.end_num#" cfsqltype="cf_sql_integer">
This works if I use the commented out agency line. If I use the agency line with CFQueryParam it gives an error, "Invalid Parameter Bindings" on the following cfQueryParams (the last ones). If I use the commented-out agency line, it gives no error.
thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191721 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 7 answers | Add comment |
|
| More IE Vulnerabilities Angel Stewart 03:47:33 |
| | HYPERLINK "http://secunia.com/advisories/12048/"http://secunia.com/advisories/12048/ "Paul has reported some vulnerabilities in Internet Explorer, allowing malicious people to bypass security restrictions and potentially compromise a vulnerable system. 1) It is possible to redirect a function to another function with the same name, which allows a malicious website to access the function without the normal security restrictions. Successful exploitation allows execution of arbitrary script code in the context of another website. This could potentially allow execution of arbitrary code in other security zones too. 2) Malicious sites can trick users into performing actions like drag'n'drop or click on a resource without their knowledge. An example has been provided, which allows sites to add links to "Favorites". However, resources need not be links and the destination could be different than "Favorites"." The solution? : "Solution: Disable Active Scripting. Use another product." -Gel
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.719 / Virus Database: 475 - Release Date: 7/12/2004
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:119926 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 14 answers | Add comment |
|
| Re: SPAM-LOW: Re: Help out the Members of New Orleans MMUG Matthew Blatchley 03:47:32 |
| | duh... ----- Original Message ----- From: "Dana" <dana.tierney@gmail.com> To: "CF-Community" <cf-community@houseoffusion.com> Sent: Saturday, September 03, 2005 2:01 PM Subject: SPAM-LOW: Re: Help out the Members of New Orleans MMUG
add in the www> On 9/3/05, Matthew Blatchley <matt@bridgeleaf.com> wrote:>> That link is giving me a 404?>> ----- Original Message ----->> From: "Cameron Childress" <cameronc@gmail.com>>> To: "CF-Community" <cf-community@houseoffusion.com>>> Sent: Saturday, September 03, 2005 1:07 PM>> Subject: Help out the Members of New Orleans MMUG>> Members of the New Orleans Macromedia User Group have been flung far>> > and wide. With the help of Adam Bell, NOMMUG president, the SDCFUG has>> > resurrected the NOMMUG email list. If you think you could offer>> > anything at all in the way of networking, a place to stay while they>> > get on their feet, a friendly face, even a job opportunity, please>> > join the temporary NOMMUG Help list at http://sdcfug.org/nommug.>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:172507 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 4 answer | Add comment |
|
| RE: time to cluster, I think Dov B Katz 03:47:31 |
| | I hear you... So let me give this a try and see if things get any better. Assuming both boxes are on the same network, do you see any network latency cost involved?
-Dov
-----Original Message----- From: Michael Dinowitz [mailto:mdinowit-2K/2x8RPSj9p9z4BATjFtQC/G2K4zDHf@public.gmane.org] Sent: Monday, December 20, 2004 9:26 AM To: CF-Talk Subject: Re: time to cluster, I thinkL
I'm going to be blasted for this, but clustering is the last resort, not first. 1. Do you have seperate boxes for DB and webserver? (no) 2. Are they maxed in ram? (probably) 3. Are they peaked? (?) 4. Is your network set up tight? (no as it's one server) Just moving the SQL to a new box will extend the life/power of your setup. The box you have now looks good, but is taxed by non-web serving operations.
I'm thinking about clustering.... I read some of the articles on this> (bpurcells, and others, etc) and I'm still a bit confused about which the best way for "Entry Level / simple" clustering.> Right now I have 1 CFMX6.1 Pro license and a single IIS box, sharing> MSSQL2K with CF over 2 1Ghz processors, and a gig of ram.> This is what i was thinking would solve the problem for me, in theory.> How do I get this idea off the ground, and how would you do things> differently, assuming there's a shoestring budget for this.??> I'd want 2 machines each running IIS and CFMX6.1. Both IIS's would> share both CFMX instances. Assume I have 4-5 cf apps running on virtual> hostnames on the web servers, but only one is massive....>
Here are my questions. Assuming I have windows 2K servers, how can I> Get uploaded files to propagate across both machines in near real time?>
Do they share a third machine's MSSQL 2k? or do I set up 2 sql servers,> one on each box, with replication? (Can both machines push replication> to each other, or does one always have to be the master?)>
Please advise on a low cost, (hopefully software-based) 2 machine> clustering setup with CF, MSSQL and IIS.> Thanks!> --------------------------------------------------------> NOTICE: If received in error, please destroy and notify sender. Sender > does not waive confidentiality or privilege, and use is prohibited.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188240 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 8 answers | Add comment |
|
| How to get file information? Kevin Kazmierczak 03:47:30 |
| | How would one get information on a file from CF? I want to know when the file was last modified. I know I could use cfdirectory and loop over the directory contents and get it that way but that seems like WAY too much work just to get the date on one file.
How come you can't use cffile variables on anything but an upload? Wouldn't it be helpful on all cffile actions? They should have a cffile action="readattribs" or something.
Is this too much to ask for? Or am I missing something. This is on cf5. I could probably use a java to pull the information on MX, but that isn't an option.
Thanks.
Kevin.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189828 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 8 answers | Add comment |
|
| Change AD password via LDAP/JNDI - HELP!! Dimo Michailov 03:47:29 |
| | Hello all-
I have spent many sleepless nights on this one and I feel like I am getting close to the solution, but I will need some help as my Java experience is *very* limited.
I found some Java code that resets the AD password via LDAP/SSL. The code works successfully and the password is changed when I compile it with javac.exe and then execute it with java.exe. However, when I run the same code via ColdFusion, I get message that the password has been changed, but in fact it remains unchanges.
The setpass.java file is below. Again, once compiled into .class run from the command line using "java -cp . setpass" the password change works. However, if I run the same code via ColdFusion, I get a "success" message in coldfusion-out.log but the password does not change.
Because it runs when executed via command line and doesn't seem to do anything when called from ColdFusion, I am stumped. Can anyone please help?
Execution code in ColdFusion, ========================================================= <cfobject action="CREATE" type="JAVA" name="x" class="setpass"> <cfscript> zz = ArrayNew(1); zz[1]="1"; zz[2]="2"; zz[3]="3"; x.main(zz); </cfscript>
setpass.java (placed in a classes path under CFMX7 tree) ============================================================ import java.util.Hashtable; import javax.naming.*; import javax.naming.ldap.*; import javax.naming.directory.*; import java.io.*; public class setpass { public static void main (String[] args) { Hashtable env = new Hashtable(); String adminName = "CN=Cold Fusion AD Manager,CN=Users,DC=subdomain,DC=domain,DC=domain"; String adminPassword = "myADadminPassword"; String userName = "CN=Test User To Have Password Changes,OU=Test,DC=subdomain,DC=domain,DC=domain"; String newPassword = "newPassword12345";
String keystore = "C:/CFusionMX7/runtime/jre/lib/security/cacerts"; System.setProperty("javax.net.ssl.trustStore",keystore); env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory"); //set security credentials, note using simple cleartext authentication env.put(Context.SECURITY_AUTHENTICATION,"simple"); env.put(Context.SECURITY_PRINCIPAL,adminName); env.put(Context.SECURITY_CREDENTIALS,adminPassword); //specify use of ssl env.put(Context.SECURITY_PROTOCOL,"ssl");
//connect to my domain controller String ldapURL = "ldaps://law.georgetown.edu:636"; env.put(Context.PROVIDER_URL,ldapURL);
try { // Create the initial directory context LdapContext ctx = new InitialLdapContext(env,null); //set password is a ldap modfy operation Mo | |