[flexcoders] Re: Encode Flex / PHP on Client/Server machine

2009-01-13 Thread valdhor
Check out: http://www.zend.com/en/products/guard/ http://www.raizlabs.com/software/phpobfuscator/ --- In flexcoders@yahoogroups.com, "itdanny2002" wrote: > > Dear All, > > I have Flex program as client with PHP on > server side. I use web hosting. How can I > protect my source code ? Seems t

Re: [flexcoders] Re: encode & +

2007-04-24 Thread Michael Wills
Hi there Jesse, Three questions then. Did encodeURIComponent solve the problem or is it still causing trouble? Are you using the XML encoding for sending the request from an HTTP request? If you are using a standard HTTP request it does a url form encoding on everything before it goes out I b

[flexcoders] Re: encode & +

2007-04-24 Thread Doug Lowder
Yes, that's it exactly and Adobe got it right. The + is listed as a non-encoded character in the docs for encodeURI(). So what needs to be done is call encodeURIComponent() on the substring, which *will* encode the + since it isn't a non-encoded character for that function, and then tack that

[flexcoders] Re: encode & +

2007-04-24 Thread Paul DeCoursey
I think the problem is that the + should not be encoded. You must encode it before adding it to the URI. It is a reserved character and it has special meaning in certain places in the URI. It should not be encoded in those places. As a result I am speculating that an encode function will not enc

[flexcoders] Re: encode & +

2007-04-24 Thread Doug Lowder
How about encodeURIComponent("dude man+") ? The + character, as well as some others, is a reserved character in URIs. --- In flexcoders@yahoogroups.com, "Jesse Warden" <[EMAIL PROTECTED]> wrote: > > Weird... encodeURI does the same thing. Check it: > > var str:String = encodeURI("dude man+");