|
Posted by "Noel" on 09/20/05 04:51
Actually, that's all of it aside from the function statement and the
return statement.
function funcTitle ($title='') {
global $mywebsite;
if ($_POST['title']) $title = $_POST['title'];
elseif ($_GET['title']) $title = $_GET['title'];
elseif (!$title) $title = $mywebsite;
return '<title>'.$title.'</title>';
}
I don't see anything wrong with the code, do you? After all, the
error does not occur if I try to comment out the user_error_handler()
function. And also, this error didn't occur in the previous version.
Nothing has been modified in the PHP codes when the PHP version has
been upgraded to 4.4. Only after the upgrade did this error occurred.
08:50 AM 9/20/2005, Jasper Bryant-Greene...
>It's hard to tell whether it's a bug in your code or a bug in PHP,
>with only 3 lines of your code to work on. Can you post the entire
>function of which that code is a part please?
[Back to original message]
|