Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URI Redirect Plugin
#7
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
Reply


Messages In This Thread
URI Redirect Plugin - by NathanF - 2011-04-30, 03:10:34
RE: URI Redirect Plugin - by oldRemovedUser - 2013-03-30, 11:04:02
RE: URI Redirect Plugin - by wakh - 2013-08-18, 05:05:38
RE: URI Redirect Plugin - by alexeyGL - 2015-07-20, 18:49:05
RE: URI Redirect Plugin - by jlyon1515 - 2016-02-10, 01:37:07
RE: URI Redirect Plugin - by Manjast - 2016-05-03, 00:40:48
RE: URI Redirect Plugin - by jlyon1515 - 2016-09-18, 02:00:24
URI Redirect Plugin - by mikeh - 2011-04-30, 12:58:53
URI Redirect Plugin - by polyfragmented - 2011-04-30, 21:40:31
URI Redirect Plugin - by mikeh - 2011-05-03, 07:41:31
URI Redirect Plugin - by Texta - 2011-05-05, 18:44:29
URI Redirect Plugin - by Carlos - 2011-05-10, 06:02:37
URI Redirect Plugin - by Connie - 2011-05-10, 16:36:18
URI Redirect Plugin - by hameau - 2011-05-10, 19:53:49
URI Redirect Plugin - by NathanF - 2011-05-11, 12:33:54
URI Redirect Plugin - by NathanF - 2011-05-11, 15:40:30
URI Redirect Plugin - by Carlos - 2011-05-14, 23:45:21
URI Redirect Plugin - by NathanF - 2011-05-15, 16:37:02
URI Redirect Plugin - by Carlos - 2011-05-31, 02:22:40
URI Redirect Plugin - by Carlos - 2011-06-04, 00:46:39
URI Redirect Plugin - by bigbanghq - 2011-08-06, 21:07:01
URI Redirect Plugin - by Connie - 2011-08-06, 21:16:08
URI Redirect Plugin - by Carlos - 2011-08-06, 23:42:52
URI Redirect Plugin - by bigbanghq - 2011-08-07, 01:30:42
URI Redirect Plugin - by bigbanghq - 2011-08-07, 01:49:18
URI Redirect Plugin - by chrisbloom7 - 2011-12-02, 02:43:27



Users browsing this thread: 1 Guest(s)