Could someone explain this por favor ?

jbv at jbv at
Fri Aug 7 05:52:53 EDT 2015

Hi list

On the client side I have this script :

  get myVar
  get compress(it)
  get base64encode(it)

  POST ("a=" & urlencode(it)) to URL
  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

More information about the Use-livecode mailing list