Could someone explain this por favor ?

jbv at souslelogo.com jbv at souslelogo.com
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
("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





More information about the Use-livecode mailing list