WordPress.org

Ready to get started?Download WordPress

Forums

Allow PHP in Posts and Pages
Syntax Error - Please Help (1 post)

  1. cyperpc
    Member
    Posted 1 year ago #

    Parse error: syntax error, unexpected ‘)’ in /home/kmcakecl/public_html/gimkt.com/wp-content/plugins/insert-php/insert_php.php(48) : eval()’d code on line 6

    Can anyone help me with this error?
    My code is:

    [insert_php]
    $SID="47fe24ad-7ab9-4277-9f76-d37d548c2b20";
    $IPAddress = urlencode($_SERVER['REMOTE_ADDR']);
    $UserAgent = urlencode($_SERVER['HTTP_USER_AGENT']);
    $Host=urlencode($_SERVER['HTTP_HOST']);
    $PageURL=urlencode($_SERVER['SCRIPT_NAME'].’?’.$_SERVER['QUERY_STRING']);
    $URL="http://si.goldencan.com/GetData.aspx?ver=2.0&SID=".$SID;
    $URL=$URL.'&Host='.$Host;
    $URL = $URL.'&PageURL='.$PageURL;
    $URL = $URL.'&IPAddress='.$IPAddress;
    $URL = $URL.'&UserAgent='.$UserAgent;
    include($URL);
    [/insert_php]

    Thank You!!!

    http://wordpress.org/extend/plugins/allow-php-in-posts-and-pages/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic