Quantcast
Channel: Matomo forums - Latest topics
Viewing all articles
Browse latest Browse all 13970

Help with converting this php api code into coldfusion

$
0
0

@artur wrote:

Can anyone help me convert this php code into coldfusion?

while(! feof($file))
{
$row=fgetcsv($file);
print_r($row);
echo "
";

$url = "https://analytics-02.mydomain.com/";
$url .= "?module=API&method=SitesManager.addSite";
$url .= "&siteName=".urlencode($row[0]);
$url .= "&urls=".$row[1];
$url .= "&token_auth=$token_auth";


$fetched = file_get_contents($url);
print_r ($fetched);
echo "<br>";

}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 13970

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>