Forums

Problems with Exec PHP / SimplePie / .... (1 post)

  1. crazeddog
    Member
    Posted 1 year ago #

    WordPress 2.9.2.
    PHP/MySQL : PHP 5.x /
    MySQL: UTF-8 Unicode (utf8)

    Hi there,

    I have a problem when I want to export my database and import it to another, without changing the XML file.

    The PHP code inserted in posts isn't recognize anymore as a PHP code.
    The code is still the same (starts with a <?php) but is displayed as a text (the < is gone).

    I'm using Exec PHP and SimplePie.

    Have a look

    Before backup, on the work in progress website :

    <?php $feed = new SimplePie('xxxxxxxxx'); $feed->handle_content_type(); foreach ($feed->get_items() as $item) .... .....

    After load on the future website
    <?php $feed = new SimplePie('xxxxxxxxx'); $feed->handle_content_type(); foreach ($feed->get_items() as $item) .... .....

    nothing has changed... godd... when I have a lot at my website and its posts Simplepie doesn't read the < and display the post in this way :

    $feed = new SimplePie('xxxxxxxxx'); $feed->handle_content_type(); foreach ($feed->get_items() as $item) .... .....

    Please help me...
    Thx a lot.

Topic Closed

This topic has been closed to new replies.

About this Topic