Could someone explain this por favor ?

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Aug 7 06:13:38 EDT 2015


Hi JBV,

The Apache server decodes the URL before passing it on to the LiveCode 
engine. The same happens with PHP.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 8/7/2015 11:52, jbv at souslelogo.com wrote:
> Hi list
>
> On the client side I have this script :
>
>    get myVar
>    get compress(it)
>    get base64encode(it)
>
>    POST ("a=" & urlencode(it)) to URL
> ("http://www.domain.com/irev/myScript.lc?")
>    put base64decode(it) into myVar
>    put decompress(myV) into myVar
>    answer myVar
>
> and on the server side I have :
>
>    put $_POST["a"] into myVar
>    put URLDecode(myVar) into myVar
>    put base64decode(myVar) into myVar
>    put decompress(myVar) into myVar
>
>
> and this returns a compilation error on the server side.
> But if I remove the line "put URLDecode(myVar) into myVar", then it works...
>
> What am I missing ?
>
> Thanks in advance
> jbv
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>




More information about the Use-livecode mailing list