note 30077 deleted from function.ob-start by sniper
| From: | sniper@php.net | Date: | Tue, 15 Jul 2003 22:57:21 +0000 |
| Subject: | note 30077 deleted from function.ob-start by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52158@lists.php.net to get a copy of this message | ||
Note Submitter: daevid@daevid.com
----
A few more notes about my example above that I just figured out:
If you use a require or include in the 'customer_email.php', its path is relative to the
calling script 'emailtest.php', NOT to 'customer_email.php'.
Furthermore, be careful about require/including files twice. for example if both pages need to call
a database or something and you have a db.inc page that you use to connect, etc.
You can however, call the db.inc page in your 'customer_email.php' page twords the top of
your 'emailtest.php' script let's say, and still use the connection later in
'emailtest.php'. It's like 'emailtest.php' inherits the
'customer_email.php' include it seems.