2011-05-10, 16:36:18
Carlos Wrote:BTW you are using php shot tags ("<?=") in the backend page. They're not recommended for general use.
Thanks Carlos for this warning!
To confirm Carlos, with that short tags we will run into problems
1) this option is not activated in php.ini at many hosts, if plugins use it, it should be activated in .htaccess:
Code:
php_flag short_open_tag on
but:
2) this use is absolute critical in connection with php + xml.
See here: from http://php.net/manual/en/ini.core.php
Quote:Tells PHP whether the short form (<? ?>) of PHP's open tag should be allowed. If you want to use PHP in combination with XML, you can disable this option in order to use <?xml ?> inline. Otherwise, you can print it with PHP, for example: <?php echo '<?xml version="1.0"?>'; ?>. Also, if disabled, you must use the long form of the PHP open tag (<?php ?>).
so maybe this should added to the suggestions for plugin-developers?
Never use php short code? We use PHP in conjunction with XML !!!!
maybe short codes are the reason why many users run into problems and get white blank pages?
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18