php - file_get_contents() stopped working -
i have php file on free web hosting site , code bellow stopped working error:
$data = file_get_contents("http://eqafe.com/inventories/$name/inventory_by_slug.json") or die(print_r(error_get_last()));
error output:
array ( [type] => 8 [message] => undefined offset: 6 [file] => /usr/lib/php/head.php [line] => 90 ) 1
how can prepare this?
php undefined file-get-contents offset
No comments:
Post a Comment