[thelist] [php] cannot redeclare function error

David Bindel dbindel at austin.rr.com
Mon Feb 10 17:54:01 CST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<tip author="David Bindel" type="PHP includes">
> You can use PHP's require_once() function instead of include() or
> require() to prevent the inclusion of a page twice in a page.

In fact, it's good practice to use require_once() ALL THE TIME when
you need to include files.  It can only help...
</tip>

HTH,
David Bindel

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQA/AwUBPkg6136TtTuKuQdTEQIYxQCfYqMxnOys+n1om2DOV+mv+XJxhZkAoM9w
7RfkiA1cB11ZonouzyFM/RUU
=uwnB
-----END PGP SIGNATURE-----




More information about the thelist mailing list