if (ereg('<--PAGEBREAK-->', $article)) {
if (preg_match('<--PAGEBREAK-->', $article)) {
if (!function_exists("ereg"))
{
function ereg($check, $value, $case = FALSE)
{
return preg_match("/".$check."/".($case == FALSE ? "i" : ""), $value);
}
function eregi($check, $value)
{
return ereg($check, $value, TRUE);
}
}
Quote
afoster wrote:
Will version 7.01 work on PHP4 when it is released?
Quote
Jeepers1993 wrote:
PHPFusion v7.00.xx isn't supported by PHP 5. Since PHP 5 the ereg function are deprecated so you'll have to wait untill PHPFusion v7.01 or edit all the ereg function manually or downgrade your PHP to 4.
Quote
crex wrote:
Thanks smokeman. This is bad news.
I don't think I would recommend anyone to start editing/exchanging the ereg/eregi functions unless you really know what you are doing, otherwise I think you can screw your site up pretty badly.
Quote
slaughter wrote:
If don't want to do it there are still 2 other possibilities to use PHPFusion with PHP 5.3
- Use the SVN version of PHPFusion 7.01
- or use the function by VireL which you can also see in this thread.
Category Forum
Installation Issues - 8Labels
None yet
Statistics
8 participants
Notifications
You are not receiving notifications from this thread.
Related Questions