/*
iif($myuser->get_id() == -1){
$login_error = sprintf("User %s not found", htmlspecialchars($username));
include("$templates/$lang/userlogin.html");
exit;
}
*/
The above if statement works well on a PHP3 linux box. However, under PHP4 I end up with a string of text in the browser, starting after the "->" and continuing...
the string looks like the rest of the file has been turned into a text file:
get_id() == -1){ $login_error = sprintf("User %s not found", htmlspecialchars($username)); include("$templates/$lang/userlogin.html"); exit; } if(!$myuser->authenticate($password)){ $login_error ........................
Any ideas, pointers??