Re: Which file "Included" me?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 18, 2009 at 1:16 PM, Ed Curtis <e_curtis@xxxxxxxxxxxxx> wrote:
> Is there a function or variable that will tell me if a file has asked
> another file to include something much the same as $_SERVER['HTTP_REFERER']
> works. I have a script that is included on every page of a site but also
> needs to include some javascript only if it's called from a certain URL.
>
> thanks,
>
> Ed
>

Maybe include_once() would help? Or require_once() ?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux