RE: [PHP] Help! Can't redeclare already declared function in
| From: | ..s.c.o.t.t.. [gts] | Date: | Thu, 15 Mar 2001 22:20:27 +0000 |
| Subject: | RE: [PHP] Help! Can't redeclare already declared function in | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44150@lists.php.net to get a copy of this message | ||
try using include_once() and require_once()
in place of include() and require()
also, make sure you havent defined any functions
that match PHP internal funcs.
> -----Original Message-----
> From: Johnson, Kirk [mailto:kjohnson@zootweb.com]
> Sent: Thursday, March 15, 2001 3:29 PM
> To: php
> Subject: RE: [PHP] Help! Can't redeclare already declared function in
>
>
> Are the functions declared in an include()'d file? Is this file being
> include()'d more than once? That's how I usually provoke this error :)
>
> Kirk
>
> > -----Original Message-----
> > From: Jack Sasportas [mailto:jack@innovativeinternet.com]
> > Sent: Thursday, March 15, 2001 1:25 PM
> > To: php
> > Subject: [PHP] Help! Can't redeclare already declared function in
> >
> >
> > I just finished coding everything on a project it was working (all
> > nighter), and now something I just changed is causing this error
> >
> > "Can't redeclare already declared function in "
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>