$HTTP_SERVER_VARS['REQUEST_URI'] did the trick

"Hans Prins" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to