My current code is below.
<?php
header('Content-Type: image/png');
header('Content-Disposition: attachment; filename="Skin"');
echo file_get_contents("http://domain.tld/script/skins/' . $_GET["m"] . '.png");
?>
I know the problem is with…
(‘ . $_GET[“m”] . ‘)
…but how would that be fixed?
I receive the following error.
Parse error: syntax error, unexpected ‘”‘, expecting T_STRING or T_VARIABLE or T_NUM_STRING in …
Give this a try:
You were mixing single and double quotes:
Cheers