What i was trying to say is that at the moment I use js to call google
function because I didn't know how to use it with php but now this
code really helps me a lot. Now I can do all I want it with php. Ommit
my last question, it was a silly question. I have test it your php
code and now I can use long strings. With this code the error of the
Get is resolved but I was asking me what are the headers for. Also I'd
like to know if you know how to wait until google has the answer, I
mean, in js you can do:
google.language.translate(text, "en", "fr", function(result) {
document.getElementById('someelement').value = result.translation;
YOUR NEXT CODE AFTER YOU HAVE THE ANSWER
});
is it possible on php?