Skip to content

Cross-Domain JSON via Local PHP


Warning: Use of undefined constant gad_content_tag_filter_replace - assumed 'gad_content_tag_filter_replace' (this will throw an Error in a future version of PHP) in /home/surfer_u/labs.andrewu.net/wp-content/plugins/web-ninja-google-analytics/webninja_ga.php on line 1813
<?php
    header('Content-type: application/json');
    $url = $_GET['url'];
    $fp = fopen($q,'r');
    $content = '';
    while ($i = fread($fp, 1024)) $content .= $i;
    fclose($fp);
    echo $content;
?>

source

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*