Leaving it off is a bad recommendation. Many have pointed that out.

The problem is that sometimes it results in content being sent after the php sends the content, when there is white space after the closing ?>

However the proper thing to do is make sure that you do not have white space after the closing ?>

Leaving the ?> off is sloppy coding and a sloppy solution.

On 04/05/2017 04:36 PM, Robert Moskowitz wrote:
I do not code php, I only use it in things like Roundcubemail, so I was
at first surprised that the config file was missing the closing ?> tag.
Then I noticed that ALL of the various php config files where missing
it.  So I did some googling and found out it is actually recommended to
leave it off.

Humph.

On 04/05/2017 12:09 PM, Robert Moskowitz wrote:
I am installing Roundcubemail on Centos7-arm

roundcubemail-1.1.8-1.el7.noarch

The installer web app creates a config.inc.php to save within the
/etc/roundcubemail/ directory.  It warns that:

"Make sure that there are no characters outside the <?php ?> brackets
when saving the file."

Thing is  there is no ?> at the end of this.  It is left out. So I got
to add that myself.  I should be able to just copy the content of the
text box, and paste it into a cat > /etc/roundcubemail/config.inc.php,
but I am left having to at least having to add the ending ?>


_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to