WordPress.org

Support

Support » Plugins and Hacks » Header and Footer » [Resolved] [Plugin: Header and Footer] php code insert

[Resolved] [Plugin: Header and Footer] php code insert

  • PHP Parse error: syntax error, unexpected ‘<‘ in /var/www/wordpress/wp-content/plugins/header-footer/plugin.php(165) : eval()’d code on line 17,

    I always had this error in my Apache while I’m trying to add php code on the header of each pages…

    this is the code
    <?php
    require_once(‘/var/www/owa/owa_php.php’);
    $owa = new owa_php();
    $owa->setSiteId(‘xxxxxxx’);
    $owa->trackPageView();
    $owa = & new owa_php;
    $owa->placeHelperPageTags();
    ?>
    But if I remove the <?php?> tag the text is just printed on the browser…
    How can I execute PHP code?

    http://wordpress.org/extend/plugins/header-footer/

  • The topic ‘[Resolved] [Plugin: Header and Footer] php code insert’ is closed to new replies.
Skip to toolbar