server side including
| From: | Hans Prins | Date: | Thu, 20 Feb 2003 13:41:09 +0000 |
| Subject: | server side including | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-136348@lists.php.net to get a copy of this message | ||
Im have a "script.php" which needs to be able to tell if it has been
included in an .shtml file or not...
e.g. if included is true: do this, else: do something else
I could ofcourse do something like this:
<!--#include
virtual="/packages/combo1/example_red/poll/poll.php?included=yes" -->
but it would be nice to totally let the php check if it has been
included........
Anyone have any ideas?
hans