can you do a dump of what $file is?

Seems the path is incorrect.

On 4/7/06, Pablo L. de Miranda <[EMAIL PROTECTED]> wrote:
>
> 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
>
>
>


--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html

Reply via email to