Re: Send Blowfish-encoded string to PHP

2007-12-25 Thread Dmitrii 'Mamut' Dimandt
Claude Schneegans wrote:
  where redirectTo simply redirects the page over to some place and sends
 the encoded value over with it.

  How can this be accomplished in PHP (using mcrypt library for instance)?

 Something is not clear: why does it has to be done in PHP since 
 apparently it is not done yet,
 and you seem to do not know how to do it?
   
I thought it was going to be easy :) Apparently it isn't. And PHP part 
is a requirement I can't change, unfortunately :(


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

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


Re: Send Blowfish-encoded string to PHP

2007-12-25 Thread James Holmes
I'm using that quote next time someone asks me why we write in CF and not PHP!

Sorry I can't help with the PHP part, by the way.

On Dec 25, 2007 9:04 PM, Dmitrii 'Mamut' Dimandt [EMAIL PROTECTED] wrote:
 
 I thought it was going to be easy :) Apparently it isn't. And PHP part
 is a requirement I can't change, unfortunately :(


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

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

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


Send Blowfish-encoded string to PHP

2007-12-24 Thread Dmitrii 'Mamut' Dimandt
Unfortunate as it is, but I need to send a string encrypted with 
Blowfish over to a PHP page, decrypt it there and use it there.

Let's say:

cfset x = encrypt(var,key,blowfish,hex)
cfset redirectTo('som_page/?v=#x#')


where redirectTo simply redirects the page over to some place and sends 
the encoded value over with it.

Now, in Coldfusion I could easily do

cfset x = decrypt(var,key,blowfish,hex)


How can this be accomplished in PHP (using mcrypt library for instance)?

All I get back is a bunch of unreadable characters :(

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

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


Re: Send Blowfish-encoded string to PHP

2007-12-24 Thread Claude Schneegans
 where redirectTo simply redirects the page over to some place and sends
the encoded value over with it.

 How can this be accomplished in PHP (using mcrypt library for instance)?

Something is not clear: why does it has to be done in PHP since 
apparently it is not done yet,
and you seem to do not know how to do it?

As far as redirect is concerned, you may use CFLOCATION

Now for the question about how to do it in PHP, you would have more luck 
in some PHP group I suppose.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


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

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