I'm trying to use a Java library called jpedal (http://www.jpedal.org) in order
to convert PDF files to images. The following works great from the commandline
on my Mac:
java -cp ./jpedal_trial.jar org/jpedal/examples/images/HiResThumbnailExtractor
test.pdf jpg
However I'm not sure how to
Should be org.jpedal. rest of path
On Jan 24, 2011 7:18 AM, Stefan Richter ste...@flashcomguru.com wrote:
I'm trying to use a Java library called jpedal (http://www.jpedal.org) in
order to convert PDF files to images. The following works great from the
commandline on my Mac:
java -cp
I've figured out the Java image part:
cfset jpg = ImageNew(foo)
cfimage action=write source=#jpg# destination=test.jpg overwrite=yes
This works.
But the fact that the two jars seem to conflict with one another throws a real
spanner into the works... Is there any way I could separate them and
Donna,
I just wanted to follow up on my request to visit with your team. It sounds
like you would provide an excellent perspective to ColdFusion upper
management on how we need to evolve the business to meet modern government
needs. Please let me know if we can schedule something for February.
Just to follow up on this:
adding something like ext=.gif did *not* work. Sorry Ray ;-)
If I try this:
cfset THISFOLDER = #Expandpath('./')#
cfimage
action = write
destination = #thisFolder#
source =
But the fact that the two jars seem to conflict with one
another throws a real spanner into the works... Is there any
way I could separate them and have both present in CF?
Try using the javaLoader
http://javaloader.riaforge.org/
just tested it on Railo (don't have ACF at hand) and it worked fine.
you should specify a filename in your destination attribute, though...
just to test, do a cfimage action=info ... and cfdump the variable.
Azadi
On 24/01/2011 22:41 , Stefan Richter wrote:
Just to follow up on this:
adding
Thanks,
I tried that (using action=info) but got the same error under CF9. It falls
over as soon as it encounters the cfimage tag.
Cheers
Stefan
On 24 Jan 2011, at 15:04, Azadi Saryev wrote:
just tested it on Railo (don't have ACF at hand) and it worked fine.
you should specify a
Hi,
basic question but want to make sure i understand url variables! Is it possible
for malicious code to be sent through url variables?
Basically, Some CFM files in our applications receive variables through the URL
which are just used to do some processing if they are true e.g.
if
basic question but want to make sure i understand url variables! Is it
possible for malicious code to be sent through url variables?
Possible, yes, though it depends on how you use the data passed
through. In your example, just testing the value against a static
value in the code (if url.var
If you don't use the data that is in the variables, then (as far as I
know), no validation of the data itself needs to be done.
On Mon, Jan 24, 2011 at 8:31 AM, Richard White rich...@j7is.co.uk wrote:
Hi,
basic question but want to make sure i understand url variables! Is it
possible for
ok thanks for the help
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
Hi,
When the user logs in, I save their username to the session scope.
Would i need to re-validate that username at the top of every page that uses it
in a database query?
I previously thought this was not necessary but if it is possible for someone
to send malicious sql injection then
On 1/24/2011 8:50 AM, Richard White wrote:
ok thanks for the help
I just wanted to add that your question, concerns and the replies DO NOT
just apply to URL variables. They apply to ANY and ALL data received
from the client. Including form POST values, COOKIE values, ect.
Anything and
On 1/24/2011 8:57 AM, Richard White wrote:
Hi,
When the user logs in, I save their username to the session scope.
Would i need to re-validate that username at the top of every page that uses
it in a database query?
I previously thought this was not necessary but if it is possible for
OK thanks Ian
On 1/24/2011 8:57 AM, Richard White wrote:
Only if there is a place in your code for them to do so. If you have a
vulnerable piece of code that can give unexpected and undesired results
because of malicious inputs form the client, then you have a problem.
But it is not an
Anything and everything received from external, untrusted sources must
be considered suspect.
+1
I find that using tools like Portcullis.cfc to be warranted for forward
facing sites. As a minimum I would check to see if the request is actually
coming from your site before making any changes
Anything and everything received from external, untrusted sources must
be considered suspect.
I'd add that even if you might not have to worry about a security breach, you
still probably want to scrub such variables to prevent errors from being
generated (if for instance you expect it to be
Hello Everyone,
I've got some logic issues with something I'm trying to do. I've got a CFC that
returns basically a number for a date field. Basically some math (SQL) that
determines when that field expires for a certification. I'm writing a
mail/reporting piece of this module. Eg the date
yeah you can't do that.. gotta do
if adultExp gt 60 OR kidExp gt 60 OR ...
On Mon, Jan 24, 2011 at 11:44 AM, Adam Bourg adam.bo...@gmail.com wrote:
Hello Everyone,
I've got some logic issues with something I'm trying to do. I've got a CFC
that returns basically a number for a date field.
yeah you can't do that.. gotta do
if adultExp gt 60 OR kidExp gt 60 OR ...
Is there an easier way to do that? Maybe a loop?
~|
Order the Adobe Coldfusion Anthology now!
Sure, you could add the names to check to a list
I used this to check for required form fields...
You can modify it for your needs
cfset notRequired =
sec_level,address2,division,phone_ext,fax_area,fax_prefix,fax_suffix,email_directory,fieldnames/
!--- loop over form fields checking for
Sounds like you are retrieving data and then filtering on the client with CF
based date math. And if so, then the best advice I can give you is don't.
This is the type of thing you need to do at the database level (in a SELECT
statement or a view or a stored procedure etc.). DBMSs are really good
Sounds like you are retrieving data and then filtering on the client with CF
based date math. And if so, then the best advice I can give you is don't.
This is the type of thing you need to do at the database level (in a SELECT
statement or a view or a stored procedure etc.). DBMSs are really good
One more note ...
Do you have any control over table schemas? If you have to filter on that
many columns, and every row has all those columns, then the table really
needs to be broken into three, one with the profiles, one with the
certifications, and one joining the two with the expiration
Yes sir, so you're saying create 3 tables?
This is what the total table looks like
(The, exp, company, image and onFile follow the same pattern for all)
profileID, -- Bit
cprAdultExp, -- Date
cprAdultcompany, -- NvarChar
cprAdultImage, -- Nvarchar
cprAdultOnFile,Boolean
cprInfantChildExp,
Exactly. So, you have 4 columns that are for each certification. Those
belong in their own table that may look like this:
profileID (FK)
certID (FK)
certExp
certCompanu
certImage
certOnFile
You'd have another table of cert types:
certID (PK)
certName
And then another table for the profiles
Hi all,
My SQL mojo seems to have left me. Here is the situation, I have 1
table. In this table there are some times two rows that should have
actually been one. Here is an example to explain.
Table: Name, Age, address one, address two
Row 1: Steve,40,123 Anystreet,NULL
Row 2:
How do you know the 2 Steve's are the same Steve?
What if there was another Steve who was also 40 but lived elsewhere?
Can you provide some more realistic data? And how you'd know they were
the same Steve? or whomever?
On Mon, Jan 24, 2011 at 12:57 PM, DURETTE, STEVEN J (ATTASIAIT)
That was just example data... The Name is actually a distinct number
letter combination. When the data is passed over to me they are supposed
to pre-merge the rows into one, but they don't so I have been tasked to
deal with it when the data suppliers don't. Another issue is that there
are MANY
Steve,
Is the name ultimately supposed to be the unique key for this table?
Instead of battling with these multiple records, you could create a
temporary table, loop through all the records in your main table and
either insert or update a record in the temp table based upon the
name. Once you
This will work, but I second the temp table idea..
select
distinct name, age, addr1, addr2 from
(
select
f1.name, f1.age,
case when f1.addr1 is null then f2.addr1 else f1.addr1 end as addr1,
case when f1.addr2 is null then f2.addr2 else f1.addr2 end as addr2
Hi,
We currently run coldfusion 9 Standard on a single server, our site has grown
and we are looking at adding an additional box and setup a load balancing
environment for the site. Here are my questions:
* Is Coldfusion Standard sufficient for this environment or will i require
enterprise?
We currently run coldfusion 9 Standard on a single server, our site has grown
and we are looking at adding an additional box and setup a load
balancing environment for the site. Here are my questions:
* Is Coldfusion Standard sufficient for this environment or will i require
enterprise?
As Dave notes, hardware load balancing works just fine in front of CF
Std servers. The sticky session thing really is key, though, if you
have any sort of session management in your applications. Another
option to sticky sessions on the LB is to convert session structs to
client structs
Thanks great information.
* I gather too application variables are unique to the server to where the
session request is being called.
Sebastian
Hi,
We currently run coldfusion 9 Standard on a single server, our site
has grown and we are looking at adding an additional box and setup a
Yes... as are server vars.
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Sebastian Powell [mailto:bas...@gmail.com]
Sent: Monday, January 24, 2011 6:10 PM
To: cf-talk
Subject: Re: Coldfusion Standard and Load balancing env
Thanks great
Jconsole can usually tell you a lot.
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Philip Kaplan [mailto:pkap...@gmail.com]
Sent: Wednesday, January 05, 2011 6:31 PM
To: cf-talk
Subject: What's the best way to investigate a Jrun.exe
I have been experiencing this one in CF8 for a while now:
http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html?#bugId=
85391
The severity is listed as benign bug, has a workaround. but a workaround
isn't mentioned.
Manually changing the code when time the error happens so
cf-talk@houseoffusion.com i finally took my friends advice do not lose out on
this chance I can finally afford superbowl tickets this year you're gonna fall
in love with this http://bit.ly/ekjGUU great things will be achieved
__
Do You Yahoo!?
As you know Bobby, I have this problem aswell and have never been able to
find a workaround. Well, I did but it's the ugliest hack you can think of.
Clearing the specific templates out of the template cache manually on a
scheduled task. But even with that I am still getting complaints from
Hi All -
I am new to this multiple domain thing. Am working on a project, where there
multiple domain projects under on webroot. Like www.abc.com, www.def.com under
one root. The folder structure is something like below:
E:
webroot
--INCLUDES
--IMAGES
--image.gif
--
I am new to this multiple domain thing. Am working on a project, where there
multiple domain projects under on webroot. Like
www.abc.com, www.def.com under one root. The folder structure is something
like below:
E:
webroot
--INCLUDES
--IMAGES
--image.gif
--
You'll want to create an alias to the images folder between sites. What web
server are you using?
Sent from my HTC on the Now Network from Sprint!
- Reply message -
From: fun and learning funandlrnn...@gmail.com
Date: Mon, Jan 24, 2011 20:02
Subject: Coldfusion webroot and multiple
Web Application Developer
Company: Our client
â The Leading Interactive Event Marketing Company, delivers event
technologies for all phases of the event lifecycleâbefore, during, and after
your event.
The eshots Event Lifecycle Suite is an integrated, proprietary collection of
45 matches
Mail list logo