Hi There,
$active_link = http://api.amp.active.com/search?s=date_desc&k={$active_geturlsearch}&m=meta:startDate:daterange:today..+meta:channel={$chk}&num=45&v=json&api_key=xxxxxxxxxxxxxxxxx
$xml_active = curl_load($active_link); $xml_to_array = json_decode($xml_active);
If i use above link in new tab it works but if i use in my code it won't work why?
Thanks for any help
Message edited by Kabindra 13 years ago
Please sign in to add a post.
Hi There,
$active_link = http://api.amp.active.com/search?s=date_desc&k={$active_geturlsearch}&m=meta:startDate:daterange:today..+meta:channel={$chk}&num=45&v=json&api_key=xxxxxxxxxxxxxxxxx
$xml_active = curl_load($active_link); $xml_to_array = json_decode($xml_active);
If i use above link in new tab it works but if i use in my code it won't work why?
Thanks for any help
Message edited by Kabindra 13 years ago