Don't show errors when using PHP integration

2012-11-08 | Category: General (47)

It can happen that our output servers are offline for some reason and return a blank page or an HTTP 500 Error. (which actually happened yesterday for a short period of time)

To lower the impact of such a problem (which should not happen at all but we still can't exclude) we updated the PHP include code to prevent error messages generated by our system from causing problems in your own PHP code.

For other integration methods you don't have to do anything, the browser will silently ignore the error.


Old Code:

<?php readfile('http://output32.rssinclude.com/output?type=php&id=123&hash=abcdef')?>


New Code:

<?php @readfile('http://output32.rssinclude.com/output?type=php&id=123&hash=abcdef')?>


...or simply generate a new one in the Include tab of your RSSbox