--- In php-list@yahoogroups.com, "Gordon Stewart" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Someone on our website has created a PHP class & put it on the server
> (supposedly)...
>
> However I am unable to access it...
>
> I have used our FTP to locate the directory it is in, & have these
> lines in my script :-
>
> require "/home/username/groupclass.php";
>
> $a = new Exists();   <<<<< Error
>
> I get an error :-
>
> "Cannot redeclare class  etc... etc....."
>
>
> Is there a quick tutorial on how to access other classes (that are in
> different directories..)
>
>
> --
> G
> NZ community groups - [EMAIL PROTECTED]
> Freecycle Auckland :-
> http://groups.yahoo.com/group/AucklandFreecycle/
>
-------------------------------------------
try to replace require with require_once

Reply via email to