samenewbie here, dono how to use, can provide simple instruction ? thx
I used this in localhost but I always get a blank page! is there anything wronge?PHP:<?php $url = "https://api.46elks.com/a1/Numbers"; $postFields = "country=se"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, "ua43fee3cbec0f0a***:D09FDF5E61B741***"); curl_setopt($ch, CURLOPT_POSTFIELDS, $postFields); $xmlResponse = curl_exec($ch); print $xmlResponse; ?>