WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Business Directory] PHP Bug (3 posts)

  1. hatch99
    Member
    Posted 5 years ago #

    Thanks for the plugin, it's what I was hoping to find....

    FYI, the php code breaks on some installation which require the full prepend tag:

    <?php

    just the:

    <?

    in the code breaks on some boxes. I did a search and replace on the code and then was able to install the plugin...

  2. RanchNachos
    Member
    Posted 5 years ago #

    that sounds more like the configuration of your machine. If you check out your php.ini file, there's an option for "short_open_tag"

    here's the line from my php.ini

    short_open_tag = On ; allow the <? tag. otherwise, only <?php and <script> tags are recognized.

  3. stevejohnson
    Member
    Posted 4 years ago #

    This is very bad PHP programming form. Many if not most production servers are not configured for the short open tag.

    Bad boys.

Topic Closed

This topic has been closed to new replies.

About this Topic