Menu

#7 admin.php should work witth short_open_tags

open
nobody
None
5
2006-08-21
2006-08-21
No

The standard PHP open tag (which defines that PHP code
begins there) is "<?php", but there is shorter version
just "<?". There is also "<?=" tag, which is equivalent
to "<?php echo".

However, for compatibility with XML scripts, shorter
versions of those tags can be disabled by setting PHP
variable "short_open_tags off".

As long as admin.php provided until MyDNS 1.1.0 uses
the "<?=" very often, it's incompatible with XML and
requires short_open_tags to be turned on.

This patch changes "<?=" to "<?php echo " which makes
admin.php compatible with XML and allows it to run even
if short_open_tags are turned on.

Discussion

  • Matus UHLAR - fantomas

    allow disabled short_open_tags

     
  • Howard Wilkinson

    Logged In: YES
    user_id=655834
    Originator: NO

    Added to 1.2.7 release please check when it hits the streets!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.