Re: [PHP] server side including

2003-02-20 Thread David Otton
On Thu, 20 Feb 2003 14:41:09 +0100, you wrote: >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: > > > >but it would be nice to totall

[PHP] server side including

2003-02-20 Thread Hans Prins
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: but it would be nice to totally let the php check if it has been included Anyon