This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Trying to render URL as variable in

kst wrote on 2020-09-03:
Tying to insert a variable in URL (&c=value)

When using direct URL (without variables un URL):
/$client->convertUrlToFile('', $filename2);
result is ok.....

but when using:
$cad = '"' . '&c='. $codigo . '"';

I don't have problem with "$filename" variable, only with URL variable...
Doesn't run the conversion

Please your help


support wrote on 2020-09-04:
Hello Enrique,

There are many quotes in your code. Try to replace
$cad = '"' . '&c='. $codigo . '"';
$cad = '' . $codigo;