Re: PHP To Cold Fusion

2015-01-16 Thread Byron Mann
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: > left(

RE: PHP To Cold Fusion

2015-01-16 Thread Robert Harrison
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 ~~

Re: PHP To Cold Fusion

2015-01-16 Thread Jon Clausen
And it’s simpler, to boot! What he said. :) > On Jan 16, 2015, at 1:19 PM, Michael Dinowitz > 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 Fri, Jan 16, 2015

Re: PHP To Cold Fusion

2015-01-16 Thread Michael Dinowitz
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 wrote: > > 1) No, that won’t work. toBase64(hash('testing', "SHA-256")) gets you > close but ha

Re: PHP To Cold Fusion

2015-01-16 Thread Jon Clausen
1) No, that won’t 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, here’s a UDF