We have a web cam at our radio station, and a few of the hosts go
against station policy and cover it up. When that happens, our web
cam page on the web site just shows a black image.
Is there a way for CF8 to detect when the image changes from a colour
..jpg image, to a colour.jpg image that
Mike Kear wrote:
We have a web cam at our radio station, and a few of the hosts go
against station policy and cover it up. When that happens, our web
cam page on the web site just shows a black image.
Is there a way for CF8 to detect when the image changes from a colour
..jpg image, to a
Can't you just look a the file size? An all black .jpg should have a
pretty high compression factor.
That's what I did years ago in a very similar scenario.
It worked well.
Massimo
~|
Adobe® ColdFusion® 8 software 8 is the
Mike Kear wrote:
Is there a way for CF8 to detect when the image changes from a colour
..jpg image, to a colour.jpg image that is all black?If so then
http://www.leavethatthingalone.com/projects/cfhistogram/
~|
Adobe®
The simplest way might be a shared data source.
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-Original Message-
From: Ryan J. Heldt
Sent: 15 October 2008 04:11
To: cf-talk
Subject: Sharing Data Between Applications
Everyone-
I have a situation where we need to
Hi guys,
I have been working at learning to use the tag cfthread in order to update
information from a large text file into a table. The text file is not
formatted correctly to use a bulk insert process in SQL. Anyways, I have
reached the maxxed capacity for the task queue and was wondering
Exactly Ray, but thats the issue. We have to have some kind of
evidence or the host just says 'it was like that when i came in to do
my shift and the host of hte previous shift says no it was working
fine when i left eh studio . .
So the idea is to be able to document that the camera was
Using Coldfusion MX 7, I had the developed an SMS based program that receives
SMS text and returns the appropriate acknowledgment.
I have since upgraded to Coldfusion 8 and I though my SMS' are received and
properly processed, I receive not acknowledgment. What am I doing wrong? or
What is
Hey, thanks for responding. Creating a shared data source like you
mention would work, however this this data I'm wanting to share is
probably going accessed on every page request, so hitting the database
on every request is something I would like to try to avoid, if possible.
*Ryan J. Heldt*,
Thanx for responding !
By adding a charset attribut to the cffile tag, the jpg file is created and now
i
can open it.
If i would like to download this picture, why coding by this way doesn't work :
cfcontent type=image/jpeg
cfheader name=Content-Disposition value=attachment;
When you use cfchart it outputs a set of HTML, not just the image. Try
viewing source on a cfchart page and you will see what I mean. It
isn't just the JPG (or Flash), but rather all the HTML necessary to
render the chart.
On Wed, Oct 15, 2008 at 7:13 AM, Khaled SAIDI [EMAIL PROTECTED] wrote:
Daily Razor cheap and pretty good.
http://www.dailyrazor.com/cfmx/promo.php#details
Adam
On Mon, Oct 13, 2008 at 9:29 AM, Gerald Guido [EMAIL PROTECTED]wrote:
I would not recommend dailyrazor.com. I had them for about a year. They tried
to charge me another 6 months because I didn't give
thank you, jochem. this seems like the next path to take to try this out!
Laura
Laura Norris wrote:
We are trying to reconfigure our CF server to run as a user instead
of under the administrator account. Does anyone know the steps to do
this in a multiserver environment? We have two
Hi Raymond,
I have already noticed (by viewing the source) that it's an HTML page.
I try to download the chart displayed by using cfcontent and cfheader tags.
I read that with latest version of Coldfusion, we can do that. It's a little
bit crazy but it seems to work. You have to convert the
Thanx for responding !
By adding a charset attribut to the cffile tag, the jpg file is created and now
i can open it.
If now i would like to download this picture, why coding by this way doesn't
work :
cfcontent type=image/jpeg
cfheader name=Content-Disposition value=attachment;
@ Ryan,
Then query your admin datasource only once, onApplicationStart, and load the
data you need into your application scope, either as a query or a struct or
whatever makes sense for the data.
application.adminSettings = myAdminDatasourceQuery;
That way, you're getting direct data from
I have a cfc that executes just fine. And i am trying to populate cfgrid from
the cfc. It works just fine on the localhost but it does not show the data when
i execute it on my computer. Below is my form
cfset menu =CreateObject(component,Erik.maintenace).LoadMenu()
cfdump var=#menu#
cfform
But then you're stuck when it changes.
Maybe the server scope is the way to go for this. It is the level above
application after all.
SERVER.app1 = YOUR DATA GOES HERE
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-Original Message-
From: Jason Fisher
Sent: 15
Can you tell us what the output is to the browser when you run it on your
computer? Is there an error message, or just not any data?
William
--
William Seiter
IT Web Developer / Consultant
Is your income limited by the red tape and paperwork? Let SoftEx
bert db wrote:
I tried this option, it did remove the '?' character, but
unfortunately it does not print anything.
got the right font (ie one that supports those chars)? what's the
app's intended
encoding?
Well the oracle database uses the charset ISO 8859-1 which works fine for all
Could it be you don't have CFIDE available as a virtual dir/vhost?
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-Original Message-
From: erik tom
Sent: 15 October 2008 17:16
To: cf-talk
Subject: Coldfusion cfc execution in cfgrid
I have a cfc that executes
No i do not get any erorrs
Can you tell us what the output is to the browser when you run it on your
computer? Is there an error message, or just not any data?
William
--
William Seiter
IT Web Developer / Consultant
Is your income limited by the red tape and
bert db wrote:
I just found a solution, well sort of a hack. I found out that when I wrote
the ⬠directly in a text field in the builder it prints okay (whichever
encoding I use (cp1252 or identity-H). I then isolated the value of the
character returned by the database for this sign ( 128
No . I do have cfide in the virtual directory, also /cfide is setup in CF
Administrator
Could it be you don't have CFIDE available as a virtual dir/vhost?
Adrian
Building a database of ColdFusion errors at http://cferror.org/
I have a cfc that executes just fine. And i am trying to populate
On Tuesday 14 Oct 2008, Jim Davis wrote:
course, nearly all the documentation on this stuff is available in PDF (a
format more closed than OOXML).
Umm, eh ?
http://www.google.com/search?btnG=Google+Searchq=pdf+standard
--
Tom Chiverton
Helping to quickly network performance-oriented robust
Also if I change the form and cfgrid format to html then it works but I want
to use flaash format and it only works on the localhost.
Could it be you don't have CFIDE available as a virtual dir/vhost?
Adrian
Building a database of ColdFusion errors at http://cferror.org/
I have a cfc that
When you mention 'localhost' and 'your computer', does this mean that you
are on 2 different computer's browsers, or does this mean that the files are
being transferred between 2 different hosts?
William
--
William Seiter
IT Web Developer / Consultant
Is your
On the domain you're browsing to, can you go to www.domain.com/cfide/?
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-Original Message-
From: erik tom
Sent: 15 October 2008 17:34
To: cf-talk
Subject: Re: Coldfusion cfc execution in cfgrid
No . I do have cfide
LocalHost meaNS THAT i AM WORKING DIRECTLY ON THE SERVER
When you mention 'localhost' and 'your computer', does this mean that you
are on 2 different computer's browsers, or does this mean that the files are
being transferred between 2 different hosts?
William
--
bert db wrote:
Well the oracle database uses the charset ISO 8859-1 which works
fine for all the coldfusion pages.
unless you've changed the default encoding for cf from utf-8, it
shouldn't (for
some chars anyway).
Well I have these directives in my entry point:
cfcontent
Try doing what Adrian is telling you to do. Add the '/CFIDE' directory to
your virtual hosts. Also try adding '/CFIDE' to your coldfusion 'mappings'.
William
--
William Seiter
IT Web Developer / Consultant
Is your income limited by the red tape and paperwork?
YEs i can do that. I think i got it but it strange. I use IE and it works , on
the Google chrome it does not
On the domain you're browsing to, can you go to www.domain.com/cfide/?
Adrian
Building a database of ColdFusion errors at http://cferror.org/
No . I do have cfide in the virtual
Just a side note.. Chrome is still in beta.. I wouldn't sweat if it
doesn't work in Chrome until it is out of Beta. Even then, from what I
am seeing, you shouldn't have to worry about it after beta either. :)
How does Firefox handle it?
erik tom wrote:
YEs i can do that. I think i got it but
bert db wrote:
Well the oracle database uses the charset ISO 8859-1 which works fine for all
the coldfusion pages.
unless you've changed the default encoding for cf from utf-8, it shouldn't (for
some chars anyway).
I have also looked at the Cp1252 and it should contain the ⬠sign
Use one of the Java ones.
Dave Watts, CTO, Fig Leaf Software
-Original Message-
From: Peter Meck [EMAIL PROTECTED]
Sent: Wednesday, 15 October, 2008 08:02
To: cf-talk cf-talk@houseoffusion.com
Subject: Punycode Encoder / Decoder for CF
I was wondered why there is no PunyCode Library
Just curious,
But is there a way to say cfinclude an .aspx page within coldfusion?
I have a site that I am working on and we need to slowly migrate it over to
CF but some important pages are .aspx. I am using an iFrames at the moment
but cant seem to figure out how to make it refresh the
You can do a cfhttp request to it and dump it out as a variable.
On Wed, Oct 15, 2008 at 1:19 PM, Neal Bailey [EMAIL PROTECTED]wrote:
Just curious,
But is there a way to say cfinclude an .aspx page within coldfusion?
I have a site that I am working on and we need to slowly migrate it over
Hi everybody,
I have a problem with my chart.
I generate a chart with datas from a database.
The chart is correctly displayed in my browser (if a don't use the name
attribut in cfchart).
I would like to save this graph on the server as a jpg image.
That's how i try to do it :
cfchart
Except that Server scope is as 'sticky' than application scope, since both
exist between service starts. If you want a new check per user / per use, but
not on every request, then I would still prefer to use the Session (or Client)
scope instead of Application.
Just my 2c
But then you're
On Tuesday 14 Oct 2008, Jim Davis wrote:
Seriously tho' - the requirement is to do this in Word. It's nonsensical
to suggest non-Word alternatives. The client-side requirements are
immutable.
Fair enough, if you've decided Word is the way to go for editable rich text.
However, just because a
I was wondered why there is no PunyCode Library for Coldfusion. I found one=
for PHP, ASP and quite every other language, but none for Coldfusion.
Is there an integrated function for that or does someone have a punycode en=
coding / decoding script?
The ones I found for PHP are quite difficult
To clarify a bit on Adrian's suggestion, allow the other applications to access
the database of the core management application. One suggestion is to create a
read-only datasource to that database and use that new DSN when accessing from
the 'other' applications.
Example:
adminSource:
Yeah I don't think that cfhttp would retain the function of the aspx page. I
need the page to still function dynamically. I think if I had BlueDragon I
could run both... but I thought since CF released its .Net support for CF8 I
thought maybe there was a way to run I could retain the aspx dynamic
Ok I know it's a bit OT - but can't you just threaten the hosts to get
them to stop? ;)
On Wed, Oct 15, 2008 at 1:38 AM, Mike Kear [EMAIL PROTECTED] wrote:
We have a web cam at our radio station, and a few of the hosts go
against station policy and cover it up. When that happens, our web
cam
Take a look at the comment by halL here:
http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-a11.htm
Could that be the problem?
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-Original Message-
From: Khaled SAIDI
Sent: 15 October 2008 10:42
To: cf-talk
\b is an escape sequence that, as taken from the docs:
Specifies a boundary defined by a transition from an alphanumeric character
to a nonalphanumeric character, or from a nonalphanumeric character to an
alphanumeric character.
Since you're passing in Dr|, the pipe character matches, as it is a
Thanks Matt, i didn't think to use the \A and \Z as this was where i was
getting lost, i couldn't understand how to constrain it just to those options,
but your example works perfectly and i have learned something new :)
thanks again
richard
\b is an escape sequence that, as taken from the
You might want to go look at Ben Forta's blog...he has a simple application
to read drive contents that was written in one of the .NET languages (I
don't remember which) that he used to demonstrate the new .NET
compatability. That might help you out if it is still there.
Eric
/*-Original
Hi,
i have a function that simply tries to match a value that is being passed in
matches a title. the function is currently as follows:
cffunction name=isValidTitle hint=is passed a value, and checks to ensure
that it is either M or F, and either returns true or the error
cfargument
Cool, I wasn't aware of the \A \Z - I've always used ^ $
Like this:
cfset var titleRegEx = ^(Dr|Prof|Mr|Mrs|Ms|Miss)(\.)?$ /
Edward A Savage Jr - Sonny
Senior Software Engineer
Creditdiscovery, LLC
I believe in getting into hot water; it keeps you clean. ~ GK Chesterton
On Wed, Oct 15, 2008 at
Ryan,
For the highest throughput, you're right of course. But even a modest
hardware configuration can easily handle thousands of database queries per
second. Do you really need to avoid hitting the database?
Jaime
-Original Message-
From: Ryan J. Heldt [mailto:[EMAIL PROTECTED]
Well why not use the name attribute to get the binary and serve _that_ up?
On Wed, Oct 15, 2008 at 10:39 AM, Khaled SAIDI [EMAIL PROTECTED] wrote:
Hi Raymond,
I have already noticed (by viewing the source) that it's an HTML page.
I try to download the chart displayed by using cfcontent and
hello ladies and gents.
long time, no cf-talk... quick cfselect question for ya... thanks!
Billing rate:
br /
cfselect name = billingRateID_fk query=request.billingRate
value=id display=name (value)
/cfselect
that will
I have been trying to come up with a more streamlined way to update the
contents of a table with data that is coming from a different database. Is
there a way to use in the values clause a reverence to a record from a cf
query instead of actually typing out all of the variables? Something
here's the gist of it. You'll have to finish it up, but you get the idea:
cfloop query=myquery
cfquery ...
insert into table (#myquery.columnList#)
values (cfloop list=#myquery.columnList#
index=i,#myquery[i][myquery.currentRow]#/cfloop)
/cfquery
/cfloop
On Wed, Oct 15, 2008 at 2:43 PM, Eric
This is how you'd do it with MySQL:
INSERT INTO tablename (x,y,z) SELECT x,y,z FROM othertable
If you are using MSSQL, I'm sure its something similar.
-Ryan
Eric Roberts wrote:
I have been trying to come up with a more streamlined way to update the
contents of a table with data that is
Eh, sorry I didn't catch that you are pulling in from a completely
different database. I think you can still directly in MySQL, like
INSERT INTO tablename (x,y,z) SELECT x,y,z FROM databasename.othertable
*if* both databases are on the same MySQL server. But I'm not sure how
it works with a
(Valid Title: Dr,Prof,Mr,Mrs,Ms,Miss)
Out of curiosity, what makes you choose those titles as valid and no others?
Specifically, what makes Dr and Prof special, compared to the hundreds of other
similar ones?
~|
Adobe®
Paul, thanks for this tip. Did the trick perfectly.
This cfhistogram is a cfc that (amongst other things) figures out how
many pixels of each colour are in the image it's asked to evaluate.
One of the variables it produces is a number assessment of the
colours in the image. A black image
OK guys .. I am new to CF. I have a desktop ODBC that connects. The data
source within CF connects. Why do I get this error? I get so far into the
program and then I get this message ..
Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Informix][Informix
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 9:54 AM
To: cf-talk
Subject: Re: Can CF look at an image's contents?
Exactly Ray, but thats the issue. We have to have some kind of
evidence or the host just says 'it was like that
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 4:38 AM
To: cf-talk
Subject: Re: docx (office 2007) from CF? (Cross)
On Tuesday 14 Oct 2008, Jim Davis wrote:
course, nearly all the documentation on this stuff is available in
PDF
Sure.. It is very very easy.
1. Convert the eps file to one of the formats that is supported.
2. upload it
;)~
Does anyone know how to get CF to support reading a .eps file with
cfimage?
I ran the function GetReadableImageFormats() on my server to what
the server could read and .eps
CF8,
outside query out: img src='/images/myimage.jpg' br -- displayed
cfset imgVar = img src=/images/myimage.jpg
output var value of image: cfoutput#imgVar#/cfoutput -- displayed
db column named myData of varchar|nvarchar (5000), one row's data stream reads
bla ksk kak alkd sk skd img
first of all you should close the image tag
secondly you need to properly write your image tag
bad = cfset imgVar = img src=/images/myimage.jpg
better (yet still ugly)= cfset imgVar = img src=/images/myimage.jpg /
CF8,
outside query out: img src='/images/myimage.jpg' br -- displayed
@Dave - That is an option to not allow our users upload that format, but the
my Client would like to allow the .eps format to be uploaded. If that
format is allowed to be uploaded, I need to be able to pull the information
of the file out, like height, width, etc...
So I'm just fishing to see
There has to be a Java lib that will do it...
Mark
On Thu, Oct 16, 2008 at 11:36 AM, Chuck Weidler [EMAIL PROTECTED] wrote:
@Dave - That is an option to not allow our users upload that format, but the
my Client would like to allow the .eps format to be uploaded. If that
format is allowed to
So I'm just fishing to see anyone has use the cfimage tag to pull info on
a .eps file
@Dave - That is an option to not allow our users upload that format, but the
my Client would like to allow the .eps format to be uploaded. If that
format is allowed to be uploaded, I need to be able to pull
maybe.. but cfimage won't
There has to be a Java lib that will do it...
Mark
On Thu, Oct 16, 2008 at 11:36 AM, Chuck Weidler [EMAIL PROTECTED] wrote:
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic
dammit wrote a long answer and it cut it off.
bottom line is this...
An eps file is not an image file, it's an encapsulated postscript file or
something but it's technically not an image just like a pdf isn't an image or a
psd isn't an image and ai isn't an image, they aren't supported types
Do a cfdump var=#Client_id# right before the query start to verify that
the variable has a value. If the variable contains a blank, or a non-number,
then the query will fail.
To make sure that the query always passes a value, you can send the variable
as paramed.
SELECT client.client_id,
How about: http://www.jibble.org/epsgraphics/
*Ryan J. Heldt*, Senior Web Developer
Global Reach Internet Productions
http://www.globalreach.com
Phone: 515-296-0792, Fax: 515-296-3748
Mark Mandel wrote:
There has to be a Java lib that will do it...
Mark
On Thu, Oct 16, 2008 at 11:36 AM,
I have been watching an I am curious. I don't have a ton of experience with
the cfimage tag, just simple implementations, so maybe some of you might
know this.
In regards to this question, would it be possible to have cfimage change the
'image' type from .eps to .gif or .jpg?
If it is possible,
Anyone used the CSS Frameworks out there? What's your take on them?
http://code.google.com/p/blueprintcss/
http://code.google.com/p/logicss/
http://elements.projectdesigns.org/
http://www.yaml.de/en/
http://eswat.ca/
~|
Adobe®
create a column in your query that concatenates the data you need and
use that column in the display attribute of cfselect:
cfquery name=request.billingRate ...
SELECT id, name, value, name + ' (' + value + ')' AS name_value
FROM...
/cfquery
cfselect name=billingRateID_fk
@William - That is not possible because .eps files are not recognized as an
image.
@All Respondents - Thanks for everything. I think my best course of action
is to explain to my Client about .eps files and have them make the decision
to not allow that file type to be uploaded for what I have to
why not just use a select ?
On Wed, Oct 15, 2008 at 7:23 PM, Azadi Saryev [EMAIL PROTECTED] wrote:
create a column in your query that concatenates the data you need and
use that column in the display attribute of cfselect:
cfquery name=request.billingRate ...
SELECT id, name, value, name +
No
You guys need to understand that that cfimage is meant to work with images,
hence the image part of the name and and eps IS NOT an image, so if it is not
an image how can it read it? You'll have just as much luck uploading a zip file
and trying to use cfimage to get it's info.
Unless you
Try to use an eps in a reg html img tag and see if it displays on web...
it won't because IT IS NOT an image format.
Ah, so eps is more like a 'psd' file rather than a 'png' file.
So would you hook up your garden hose and fill your tank with water and
expect it run?
That would be pretty cool
So Dave tell me. What part of the below response I sent out before you sent
out your reply, about 10 minutes before, didn't you understand?
--- Begin Prior Posting ---
@All Respondents - Thanks for everything. I think my best course of action
is to explain to my Client about .eps files and
The part that it wasnt posted online before I posted it, I am sorry that I
don't stay glued to every second of the list. And I guess I am sorry for being
the only one willing to reply to such a self-explanatory question.
And your response to this below hasn't even posted to the web list as of
isn't that for making eps not converting or in the case of Einstein on this one
wanted the image info.. i guess who knows what he was after.
How about: http://www.jibble.org/epsgraphics/
*Ryan J. Heldt*, Senior Web Developer
Global Reach Internet Productions
http://www.globalreach.com
Phone:
Ah, so eps is more like a 'psd' file rather than a 'png' file.
yes.. you can export an image file from it but it is more of a graphics file
than an image. Even if you could display it there is no reason to actually do
so since the files are huge.
Now don't be rude
I wasn't actually trying to..
How do I write a query to only pull 1 year (2009 lets say) from the DB
that has a date field?
would I do something like
where datestarting like %09
?
I mean, that MAY work, but is there a less kludgy way of doing it?
Dave l wrote:
Ah, so eps is more like a 'psd' file rather than a 'png'
select * from
foo
where
year(foo.date) = 2009
Assuming your db has a year() function. Most do.
Mark
On Thu, Oct 16, 2008 at 4:38 PM, Phillip M. Vector
[EMAIL PROTECTED] wrote:
How do I write a query to only pull 1 year (2009 lets say) from the DB
that has a date field?
would I do something
Cool. Thanks. :)
Mark Mandel wrote:
select * from
foo
where
year(foo.date) = 2009
Assuming your db has a year() function. Most do.
Mark
On Thu, Oct 16, 2008 at 4:38 PM, Phillip M. Vector
[EMAIL PROTECTED] wrote:
How do I write a query to only pull 1 year (2009 lets say) from the
On Wed, Oct 15, 2008 at 10:38 PM, Phillip M. Vector
[EMAIL PROTECTED] wrote:
How do I write a query to only pull 1 year (2009 lets say) from the DB
that has a date field?
would I do something like
where datestarting like %09
?
I mean, that MAY work, but is there a less kludgy way of
I saw this recent post on a job board
Description:
Participate in the conversion of Fortune 100 client corporate website from a
Cold Fusion environment to a Java/J2EE environment. Complete object oriented
design, development, and testing tasks for current and new Internet
functionality using a
2008/10/15 Scott Stewart [EMAIL PROTECTED]:
especially when all you really have to do is install CF MX + in a
multiserver configuration
Or Railo, which is supported by JBoss etc. for use as a scripting
language in a J2EE environment...
--
Tom
especially when all you really have to do is install CF MX + in a
multiserver configuration
Joshua O'Connor-Rose wrote:
I saw this recent post on a job board
Description:
Participate in the conversion of Fortune 100 client corporate website from a
Cold Fusion environment to a Java/J2EE
90 matches
Mail list logo