0
Hello, I’m making one file_get_contents()
in PHP and getting a JS, in this javascript has a code where it contains:
$("#download-botao").attr("href", "link.com");
I’m wanting to get this link.com in my PHP, I’m trying through preg_match()
, with the following code:
preg_match('/$("#download-botao").attr("href", "(.*?)");/', $url, $final);
however is not working, is returning Empty, who can help, would be grateful!