Re: Amazon S3 REST Wrapper

2008-09-20 Thread Andrew Grosset
Found it!
just add a slash here (after the arguments.bucketName):

 

 
and here:

http://s3.amazonaws.com/mywebsitename/#arguments.bucketName#/"; 
charset="utf-8">   

("mywebsitename" is the bucket I was adding another bucket to)

The latest cfc wrapper can be downloaded here: http://amazons3.riaforge.org/

Andrew.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312867
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfdocument and eps graphics

2008-09-20 Thread Paul Hastings
Mike Chabot wrote:
> I looked into getting vector graphic images, such as EPS, embedded
> into a cfdocument-produced PDF and I believe that this is not possible
> using cfdocument in CF 8.0.1. If anyone thinks otherwise, please let
> me know.

you might try the iText lib that's shipped w/cf, it's an older version which 
could still have some support for EPS (since itext 2.0x they dropped what they 
termed "basic" support for EPS). it's a *ton* more work than cfdocument though.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312866
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Amazon S3 REST Wrapper

2008-09-20 Thread Andrew Grosset
thanks Barney, I use s3Fox in firefox which makes it so easy! I just wish I 
could figure out how to do it with Coldfusion

Andrew. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312865
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfdocument and eps graphics

2008-09-20 Thread Mike Chabot
I looked into getting vector graphic images, such as EPS, embedded
into a cfdocument-produced PDF and I believe that this is not possible
using cfdocument in CF 8.0.1. If anyone thinks otherwise, please let
me know.

-Mike Chabot

> I am just curious about the possibility of using a vector graphics format 
> like eps in my cfdocument reports.  I am thinking the quick answer here is 
> "Not possible" but I wanted to post this question to see if anyone else has a 
> way to use high quality graphics in a dynamically generated pdf report 
> through cfdocument.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312864
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Amazon S3 REST Wrapper

2008-09-20 Thread Barney Boisvert
Buckets can't be nested, you have to create separate buckets.  I use
subdomains with an "-s3" extension, typically, regardless of whether
they actually exist in DNS.  The point is that it is a namespace you
control, though DNS in particular is nice for the direct mapping.

cheers,
barneyb

On 9/20/08, Andrew Grosset <[EMAIL PROTECTED]> wrote:
> I need to create a directory (bucket) within another bucket
>
> Here is an excerpt from the cfc by Joe Danziger
>
> 
>url="http://s3.amazonaws.com/#arguments.bucketName#";
> charset="utf-8">
>value="text/html">
>value="#dateTimeString#">
>value="AWS
> #variables.accessKeyId#:#signature#">
>   
>
> For example: I have an existing bucket called "mywebsite" and I want to
> create "mywebsite/andrewsPics" and then another "mywebsite/simonsPics"
>
> my thinking is that somewhere in the future I may want to track individual
> bandwidth/usage of andrewsPics or simonsPics as seperate items.
>
> Any suggestions? I tried fiddling with the cfhttp url above but to no avail.
>
> thanks, Andrew.
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312863
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Problem with reading and writing UTF-8 characters

2008-09-20 Thread Paul Hastings
Joseph Bugeja wrote:
>  charset="utf-8">

just to confirm, this works fine on our dev server (8.01).


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312862
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: New SQL Injection

2008-09-20 Thread Al Musella, DPM
Thanks, but all of mine are fixed finally.
You should talk to the CF people to get that integrated with either 
cold fusion or dreamweaver..


At 09:58 PM 9/20/2008, Michael Dinowitz wrote:

>If your interested, I have a project that I just wrote for a client that
>will allow you to scan an entire directory tree for all files that have a
>cfquery with un-paramed variables and fix them. It doesn't work
>automatically (it could but I disabled that option) but instead gives you
>the queries on a screen with a select next to each un-paramed variable with
>a suggested option. It's not a polished app for commercial use but a tool
>for back end site optimization. So if your up for a beta, let me know.
>
>On Sat, Sep 20, 2008 at 9:45 AM, Al Musella, DPM
><[EMAIL PROTECTED]>wrote:



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312861
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Sessions and more info

2008-09-20 Thread Dave Watts
> I am working in a uni and we have multiple sites (on the same 
> server) requiring authentication. We simmply cannot afford to 
> purchase a cert for each site (domain and separate IP), so my 
> solution was to created a single site with a cert which has 
> the other sites available as virtual directories, 
> Authentication would be performed via ssl and then the user 
> would be redirected (using cflocation) back to the insecure 
> site along with the session (cfif, cftoken) appended to the 
> URL, however when I do this I cannot see the session 
> variables established during authentication even though the 
> cfid and cftoken are the same 
> 
> Any ideas how I can acheive this ?

Your university might have a certificate server. This would let you get your
certs for free.

You can also get wildcard certs, which can be applied to multiple hosts
within a domain.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312860
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: New SQL Injection

2008-09-20 Thread Michael Dinowitz
If your interested, I have a project that I just wrote for a client that
will allow you to scan an entire directory tree for all files that have a
cfquery with un-paramed variables and fix them. It doesn't work
automatically (it could but I disabled that option) but instead gives you
the queries on a screen with a select next to each un-paramed variable with
a suggested option. It's not a polished app for commercial use but a tool
for back end site optimization. So if your up for a beta, let me know.

On Sat, Sep 20, 2008 at 9:45 AM, Al Musella, DPM
<[EMAIL PROTECTED]>wrote:

>  A new type of sql attack is hitting my server since about 2 am this
> morning.  It got through the filter I use because it has
> different keywords.  Luckily the cfparam triggered an error - as it
> was looking for intergers and was finding this:
> =
>
> +and+1=convert(int,(select+top+1+table_name+from+information_schema.tables))--sp_password
> 
>
> So I added sp_password and schema to my list of bad keywords
>
> Al
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312859
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Amazon S3 REST Wrapper

2008-09-20 Thread Andrew Grosset
I need to create a directory (bucket) within another bucket

Here is an excerpt from the cfc by Joe Danziger


http://s3.amazonaws.com/#arguments.bucketName#"; charset="utf-8">





For example: I have an existing bucket called "mywebsite" and I want to create 
"mywebsite/andrewsPics" and then another "mywebsite/simonsPics"

my thinking is that somewhere in the future I may want to track individual 
bandwidth/usage of andrewsPics or simonsPics as seperate items.

Any suggestions? I tried fiddling with the cfhttp url above but to no avail.

thanks, Andrew. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312858
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


: : Re: Google for Domains, mail not being sent

2008-09-20 Thread Chuck Weidler
To add a little more of the configuration in CF Admin.

Mail Server:  smtp.google.com
   Username:  User Email Account ([EMAIL PROTECTED])
   Password:  * (Whatever the password is.)
Server Port:  587
Backup Mail Servers:  Left Blank

Enable SSL socket connections to mail server IS NOT checked.

Enable TLS connection to mail server IS checked.

Cheers,
Chuck



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312857
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


: Re: Google for Domains, mail not being sent

2008-09-20 Thread Chuck Weidler
Hey, thanks for all the suggestions.  I got it working kind of like Dan
suggested.

I created another account in Google and setup CF Admin to smtp.google.com
and used the account information I created to send the mail through.

It might not be the correct way, but it works and that is all I need for
now.  I will revisit this sometime in the future.

Thanks again,
Chuck



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312856
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: New SQL Injection

2008-09-20 Thread Al Musella, DPM
   We got a reputation for being easy to hack, so they now 
concentrate on cfm files..
   hopefully, with this last attack, at least everyone on this list 
should already be protected against the current set of 
attempts...  and if they don't succeed, maybe they will move on to 
easier targets.

I know I got shot down last time for suggesting blasphemy (having cf 
query automatically fix the problem for us), but how about the next 
best thing...
have a new option in the code analyzer in the cf administrator, to 
check for potential sql injection vulnerabilities.  Maybe just 
license the scanner that is floating around, and integrate it 
in..  then add a new menu option in a prominent spot to "check for 
sql injection vulunerabilities".

If these attacks don't succeed, they will stop trying and move on.

OR

maybe a project to find these problems out in the wild and notify the 
owners of the problem.  Just like these guys use google for find cfm 
pages, a spider can be created to search google for all cfm files, 
then try a simple test of sql injection technique like adding 
';select * from nonexistent" to the url  and check for an error 
message with nonexistent in it.



At 05:54 PM 9/20/2008, Les Mizzell wrote:

> > A new type of sql attack is hitting my server since about 2 am this
> > morning.
>
>I am seeing a large increase in the number of attacks on several of my
>sites in the last 48 hours..
>
>Here we go again...
>
>Instead of just being on the defense, I wish there was some way to
>counter attack!!! H ... might think on this a bit!



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312855
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Google for Domains, mail not being sent

2008-09-20 Thread Dan O'Keefe
Chuck,

I don't think your SMTP server is correct and not sure if you should
list all of the other's as backups.

As Kym mentioned, since you know the DNS entries for a google mail
account, I am assuming you have one and have the domain configured to
work with google. Also, can you send and receive email from the google
web interface for the account you are trying to use in the code?

Try using the following to override the way you have it configured in CF Admin:



Dan

On Sat, Sep 20, 2008 at 12:01 AM, Chuck Weidler
<[EMAIL PROTECTED]> wrote:
> I've hardcoded the "To" email address in the  to an address that I 
> know is good.  Still no good.
>
> Thanks for the reply.
>
>> Chuck Weidler wrote:
>> > I have a simple mail application that keeps giving me a log entry of
>> "Moved undelivered mail: Mail33655.cfmail to
>> C:\ColdFusion8/Mail/Undelivr directory" in the mailsend.log and
>> "Invalid Addresses" in the mail.log.
>> >
>> > When I "Verify mail server connection" it gives me "Connection
>> Verification Successful."
>>
>> It is probably the To: address of the actual email that is wrong, not
>>
>> the mail server's IP address
>>
>>
>> --
>>
>> Yours,
>>
> Kym
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312854
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: New SQL Injection

2008-09-20 Thread Claude Schneegans
 >>I wish there was some way to counter attack!!! H

Well, based on the fact that attacks come from infected PC which even 
ignore they were infected,
it would be pretty useless to counter-attack the IP address from which 
the attack came.

BUT, all theses attacks tend to inject spammy links to some sites.
So may be some retaliation on these site would have some effect ?
And this is the same thing for spam.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312853
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: New SQL Injection

2008-09-20 Thread Les Mizzell
> A new type of sql attack is hitting my server since about 2 am this 
> morning. 

I am seeing a large increase in the number of attacks on several of my 
sites in the last 48 hours..

Here we go again...

Instead of just being on the defense, I wish there was some way to 
counter attack!!! H ... might think on this a bit!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312852
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Upgrade From 7.0.2 Standard to 8.0.1 Enterprise

2008-09-20 Thread Matt Quackenbush
To be clear, I am going from a standard installation (e.g. C:\ColdFusion7\)
to a JRun installation (so I can run multiple CF instances).  While I've
done lots of the JRun installs from scratch, I've never moved a standard
install to JRun in production.  Hence my "iffiness" on the topic.  ;-)


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312851
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Upgrade From 7.0.2 Standard to 8.0.1 Enterprise

2008-09-20 Thread Matt Quackenbush
I am planning on performing an upgrade from 7.0.2 Standard to 8.0.1
Enterprise tonight.

Are there any particular "gotchas" that I should look out for?

Generally speaking, in terms of software upgrades, I am a fan of
uninstalling the current version and then doing a fresh install of the new
version.  Is this the recommended approach when going from CF Standard to CF
Enterprise? If yes, is there a quick and easy way to take all of my DSNs and
Scheduled Tasks from the current installation and move them into the new
installation?

Any and all tips, suggestions, recommended reading or other thoughts
pertaining to the move would be greatly appreciated.

Thanks in advance.  :-)


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312850
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Sessions and more info

2008-09-20 Thread Judah McAuley
If this is for an internal application, then I'd suggest creating your own
SSL certs which you can do for free. Your users will get a warning about a
untrusted certificate the first time around, but you can explain to them
that they need to trust it permanently adn then the error will not recur and
you will end up having a much eaiser application to write and more secure.

Judah

On Fri, Sep 19, 2008 at 9:57 PM, Gus Denton <[EMAIL PROTECTED]> wrote:

> Here is my problem..
> I am working in a uni and we have multiple sites (on the same server)
> requiring authentication. We simmply cannot afford to purchase a cert for
> each site (domain and separate IP), so my solution was to created a single
> site with a cert which has the other sites available as virtual directories,
> Authentication would be performed via ssl and then the user would be
> redirected (using cflocation) back to the insecure site along with the
> session (cfif, cftoken) appended to the URL, however when I do this I cannot
> see the session variables established during authentication even though the
> cfid and cftoken are the same 
>
> Any ideas how I can acheive this ?
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312849
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Sessions and more info

2008-09-20 Thread Mike Chabot
Gus,
The session variables would be specific to the application name on the
server, not just the server.

Some options:
Log into every application on the main login page by writing a
cfapplication tag, then set the session variables, then repeat for
every application.
Log into every application from the main login page using cfhttp to
call hidden secondary login pages.
Make every application name the same, which would mean they would
share session and application scopes.
You could make use of the server variable scope or the database to
pass information between the various applications.

I would be surprised if it turned out to be cheaper to pay an employee
to code a work-around then it would be to buy some SSL certs. If you
buy enough certs from a place like Thawte, they give you significant
discounts, or you could go to a discount certificate reseller. I
realize that many organizations pay employees and vendors out of
different budgets, which I'm guessing is the problem.

Good luck,
Mike Chabot

On Sat, Sep 20, 2008 at 12:57 AM, Gus Denton <[EMAIL PROTECTED]> wrote:
> Here is my problem..
> I am working in a uni and we have multiple sites (on the same server) 
> requiring authentication. We simmply cannot afford to purchase a cert for 
> each site (domain and separate IP), so my solution was to created a single 
> site with a cert which has the other sites available as virtual directories, 
> Authentication would be performed via ssl and then the user would be 
> redirected (using cflocation) back to the insecure site along with the 
> session (cfif, cftoken) appended to the URL, however when I do this I cannot 
> see the session variables established during authentication even though the 
> cfid and cftoken are the same 
>
> Any ideas how I can acheive this ?

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312848
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


New SQL Injection

2008-09-20 Thread Al Musella, DPM
  A new type of sql attack is hitting my server since about 2 am this 
morning.  It got through the filter I use because it has 
different keywords.  Luckily the cfparam triggered an error - as it 
was looking for intergers and was finding this:
=
+and+1=convert(int,(select+top+1+table_name+from+information_schema.tables))--sp_password


So I added sp_password and schema to my list of bad keywords

Al



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312847
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Problem with reading and writing UTF-8 characters

2008-09-20 Thread Paul Hastings
Joseph Bugeja wrote:
> We are using ColdFusion 8 with the built-in Java 1.6. When trying to write a
> string that contains UTF-8 characters to a file, these characters are

doubt that.

> becoming stored incorrectly in the file. A sample call issued is the
> following:
> 
>  charset="utf-8">

doesn't look wrong. how do you know it's being written wrong? how are you 
reading the file back? cffile? did you remember to set it's charset option?

> string � a funny character is being stored in the file. Do you have any 
> ideas
> on how we can solve this?

what funny char? you mean like > � http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312846
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Problem with reading and writing UTF-8 characters

2008-09-20 Thread Joseph Bugeja
Hi Guys,

We are using ColdFusion 8 with the built-in Java 1.6. When trying to write a 
string that contains UTF-8 characters to a file, these characters are becoming 
stored incorrectly in the file. A sample call issued is the following:



When the file is read back, the chr(198) is correctly being encoded and 
displayed as Æ (= chr(198)) but when the Norwegian character is directly stored 
in the string without converting it to ASCII then instead of the string Æ a 
funny character is being stored in the file. Do you have any ideas on how we 
can solve this? 

Thanks in advance for your kind assistance.

Regards,
Joseph.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312845
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Google for Domains, mail not being sent

2008-09-20 Thread Kym Kovan
Chuck Weidler wrote:
> I've hardcoded the "To" email address in the  to an address that I 
> know is good.  Still no good.

Try dropping a local mail server on your server and use that to send the 
mail to Google, or anywhere else for that matter. We use iMS Lite 
(coolfusion.com) on each machine to pass the mail on and that way we can 
get real mail server logs that tell us what it going wrong.

CF is best at sending mail to a local mail server, it does not have the 
error handling ability of a full-blown mail server.

If you are using goggle as a mail server do you have an account that 
allows mail to be relayed on or are the addresses you are sending to all 
at goggle itself?


-- 

Yours,

Kym Kovan
mbcomms.net.au


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312844
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4