Problem with require_once

From: Date: Fri, 07 Apr 2006 22:36:11 +0000
Subject: Problem with require_once
Groups: php.general 
Request: Send a blank email to php-general+get-233489@lists.php.net to get a copy of this message
Hey Guys, I have the code below: $file = $_SERVER['HTTP_REFERER'].'util/ClassUtil.php'; echo $file.'<br>'; require_once($file); $service = ClassUtil::loadClass('service.FormularioService'); And the output in browser: http://localhost/egressos/util/ClassUtil.php Fatal error: Class 'ClassUtil' not found in /home/pldm/projetos/egressos/src/controller/Controller.php on line 27 But, the file that I pass to require_once exist in the server... If someone know the problem, please sende a answer... Thank you, Pablo

« previous php.general (#233489) next »