i'm having a bit of a nightmare get this to work:
i have a script that at some point passes a string to be executed with exec (a java call).
The problem is that this string gets to java corrupted, ie, let's say i send
Code: Select all
exec('java Test antónio', $status)If a debug that string to a file, it saves the string right
If i run that string (java Test antónio) in the command line it works great
Any ideas of what i'm forgetting or doing wrong here ?
Thank you in advance.