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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to