note 30077 added to function.ob-start
| From: | daevid at daevid dot com | Date: | Wed, 05 Mar 2003 20:47:33 +0000 |
| Subject: | note 30077 added to function.ob-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44897@lists.php.net to get a copy of this message | ||
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.
--
http://www.php.net/manual/en/function.ob-start.php
http://master.php.net/manage/user-notes.php?action=edit+30077
http://master.php.net/manage/user-notes.php?action=delete+30077
http://master.php.net/manage/user-notes.php?action=reject+30077