php3-list | 199908
Date: 08/25/99
- Next message: Mark Maggelet: "Re: [PHP3] Inserting data into MySQL database"
- Previous message: 8523543: "[PHP3] Hello..."
- In reply to: Bob C. Ruddy: "[PHP3] include files and redefining functions"
- Next in thread: Mohamed AMTOUN: "Re: [PHP3] Help! changing UNIX user passwords!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
include.inc
<?
if (!$included)
{
$included='Y';
echo "I only appear once";
}
?>
test.php3
<?
include "include.inc";
include "include.inc";
?>
On Wed, 25 Aug 1999, Bob C. Ruddy wrote:
> To all,
> I think I remember a long time ago someone asking this queston but I
> can't seem to find that email. But I am including a file twice there for
> redefining several functions. Php oviously complains. With out totally
> reorganizing my structure there isn't a way to not include the file twice.
> So is there an structure to not include a file if it has already been
> included? Thanks.
>
> Bob
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mark Maggelet: "Re: [PHP3] Inserting data into MySQL database"
- Previous message: 8523543: "[PHP3] Hello..."
- In reply to: Bob C. Ruddy: "[PHP3] include files and redefining functions"
- Next in thread: Mohamed AMTOUN: "Re: [PHP3] Help! changing UNIX user passwords!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

