Php_content, page_remote assets

This post is solely to fulfill the license requirements. These are two assets based on page_standard–one executes a block of php code and the other retrieves the contents of a URL.


Please Note: I have been evaluating this product for about a week and am pretty much clueless. I haven’t been able to uncover any developer documentation, so this is basically a hacked attempt to get something to work. I would dare say that you would not want to use this! :slight_smile:





php_content.tar

php_content.tar

Thanks. I would just want to highlight a potential security problem with the php_content asset: It will run arbitrary PHP code within the Matrix system. This means, it will have full access to the currently running Matrix environment, including database access. If the PHP code misbehaves, you do run the risk of damaging your Matrix install.


Also, have our own Remote Content asset in the full CMS package, which allows you to include the content of other websites within a Matrix page. :slight_smile:



Thanks for the notification though.

With the php code page, one thing you might want to do is check if the user is a sys admin, and if not escape out the open/close php tags. Alternatively, you could create a new attribute for users so that on an individual user basis you can tell whether they're allowed to use raw php.

[quote]Also, have our own Remote Content asset in the full CMS package, which allows you to include the content of other websites within a Matrix page. :slight_smile:
[right][post=“7067”]<{POST_SNAPBACK}>[/post][/right][/quote]

Hi there Avi, is this included in thewhitebranded version aswell? or is it an additional cost?



and also, where do I need to place these files to enable them in the system?

The Remote Content asset is shipped in the CMS package, which is part of the Whitebrand version. If you have the Whitebrand installed, you should see the Remote Content Page in the "Pages" menu in your Asset Map.


I'm not sure about your second question: If you received the Whitebrand modules after you installed Matrix, we'll need to ensure that the versions match before trying to install them. Installation is pretty simple, though. :slight_smile: Drop me a PM with your Squiz client details and I'll contact you to go through the process.