Hi, I'm using ad free plan, and I think I'm having some problems in my website because of the new configuration of php you guys did (I think...).
I have Joomla website and i can't use php include() nor require(). I don't know why, in index.php include and require works fine, but when I try to use php code in content ( with mambots/plugins ) as I used to, i just get an blank page, no errors at all (maybe I don't have error display turned on).
Just wanna know if this is my problem or a php config problem, because all my scripts were working a few days ago, and I didn't change anything.
Example code I use in a mambot or in content:
(Yes I'm newbie at php :biggrin
Thanks in advance.
I have Joomla website and i can't use php include() nor require(). I don't know why, in index.php include and require works fine, but when I try to use php code in content ( with mambots/plugins ) as I used to, i just get an blank page, no errors at all (maybe I don't have error display turned on).
Just wanna know if this is my problem or a php config problem, because all my scripts were working a few days ago, and I didn't change anything.
Example code I use in a mambot or in content:
PHP:
<?php
$tn = "alchemy";
$file = "http://www.bnw.elementfx.com/bnw/tables/" . $tn . ".html";
$message = "Couldn't find " . $tn . " table! Please contact the website administrator!";
if (@include($file)) {
echo "";
}
else
{
echo $message;
}
?>
(Yes I'm newbie at php :biggrin
Thanks in advance.