I have an API I need to work with. No problem converting most to ColdFusion,
but two strings I'm unsure of:
1. The PHP encode format is:
$signature = base64_encode(hash_hmac('sha256', $mystring, true));
I think in CF the equivalent would be:
Hi Folks,
I have a question about ckeditor. We use it in our CMS, but have not used
the version bundled with CF before.
I have a couple of questions that I am hoping folks here can answer:
1. Is ckeditor included in CF 11?
2. If so, have people had good experiences with it (we've used it for
1) No, that wont work. toBase64(hash('testing', SHA-256)) gets you close
but hash_hmac is a very specific PHP function in what it does. Is there a way
you can use a different method to generate that signature or are you trying to
maintain backward compatibility?
Alternately, heres a UDF
The problem with using the bundled version as it can easily become out of
date and you are relying on the CFIDE folder again, which is somehting best
avoided. There was a well known security hole in previous version which got
abused big time for upload files to ColdFusion servers.
it is much
2. The epoch is GMT and using the ColdFusion now() function returns local
time, not GMT. This is a more accurate epoch value:
left(GetTickCount(), 10)
On Fri, Jan 16, 2015 at 1:04 PM, Jon Clausen jon_clau...@silowebworks.com
wrote:
1) No, that wonât work. toBase64(hash('testing',
And itâs simpler, to boot! What he said. :)
On Jan 16, 2015, at 1:19 PM, Michael Dinowitz mdino...@houseoffusion.com
wrote:
2. The epoch is GMT and using the ColdFusion now() function returns local
time, not GMT. This is a more accurate epoch value:
left(GetTickCount(), 10)
On
Thanks. I got through that one. Now I'm trying to set up the call rail API.
Anyone done that in CF before?
Thanks
Robert Harrison
Full Stack Developer
AIMG
rharri...@aimg.com
Main Office: 704-321-1234 ext.121
Direct Line: 516-302-4345
www.aimg.com
CKeditor is not included in CF11. CF8-11 includes FCKeditor, which is the
predecessor to CKeditor.
To answer question 3 in the context of FCKeditor, yes your updates to it
could potentially be overwritten by the updater.
--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ -
The Y2K in me says this would be better ;-)
int(getTickCount()/1000)
On Fri, Jan 16, 2015 at 1:19 PM, Michael Dinowitz
mdino...@houseoffusion.com wrote:
2. The epoch is GMT and using the ColdFusion now() function returns local
time, not GMT. This is a more accurate epoch value:
It looks like your other questions have been answered already, so I'll
just answer this one.
4. Are there licensing issues with the CF bundled version? In other words,
if you use the free version from cksource in a commercial product, there is
typically a license fee. If you use the CF
IF being the operative word here. And you should know as well as I that
is usually not the case.
We have a person on this very list, who likes to tell us about her 15+
years experience in IT and security expertise, but her CF server was about
as insecure as can be, and her cfadmin was hackable in
11 matches
Mail list logo