I want to include the exact output of a URL into my webpage exactly as it is
the code i am using is
$html = file_get_html("http://api.zoopla.co.uk/api/v1/area_value_graphs.js?area=" .$postcode. "&output_type=outcode&api_key=6fg3fbrxqhjkn4mkfrxdu2sr");
$data = json_decode($html, true);
$result1 = $data['average_values_graph_url'];
include $result1;
the error i get is of the type
Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0
i've tried editing the php.ini file to allow_url_include = On
and have restarted my machine but i still get the same error. I can't seem to find the other config files as given by phpinfo();
and can't see why what i've changed doesn't work. What have i done wrong?