curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_REFERER, $reffer);
curl_setopt($ch, CURLOPT_ENCODING, 'gzip');
curl_setopt($ch, CURLOPT_COOKIEFILE, dirname(__FILE__) . '/cookie_gethtml.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR, dirname(__FILE__) . '/cookie_gethtml.txt');
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36');
array(2) {
["color"]=>
[1]=>
["id"]=> "1"
["name"]=> "Цвет"
["value"]=> "красный"
["photo"]=> "http://google.com/"
[2]=>
["id"]=> "2"
["name"]=> "Цвет"
["value"]=> "зеленый"
["photo"]=> "http://google.com/"
["razmer"]=>
[1]=>
["id"]=> "1"
["name"]=> "Размер"
["value"]=> "900х2000"
["photo"]=> "http://google.com/"
[2]=>
["id"]=> "2"
["name"]=> "Размер"
["value"]=> "800х2000"
["photo"]=> "http://google.com/"
[3]=>
["id"]=> "3"
["name"]=> "Размер"
["value"]=> "700х2000"
["photo"]=> "http://google.com/"
[4]=>
["id"]=> "4"
["name"]=> "Размер"
["value"]=> "600х2000"
["photo"]=> "http://google.com/"
["material"]=>
[1]=>
["id"]=> "1"
["name"]=> "Материал"
["value"]=> "шерсть"
["photo"]=> "http://google.com/"
[2]=>
["id"]=> "2"
["name"]=> "Материал"
["value"]=> "пластик"
["photo"]=> "http://google.com/"
[3]=>
["id"]=> "3"
["name"]=> "Материал"
["value"]=> "пвх"
["photo"]=> "http://google.com/"
[4]=>
["id"]=> "4"
["name"]=> "Материал"
["value"]=> "дерево"
["photo"]=> "http://google.com/"
}
О остальном вообще можно не думать в виду мегапопулярности нетбинса - на него есть любой плагин реализующий и препроцессинг и еммет и бог весть что ещё.