Re: [PHP] getting subdirectory

2006-05-23 Thread Eric Butera
On 5/23/06, Dallas Cahker <[EMAIL PROTECTED]> wrote: how do I get the subdirectory that a page is being pulled from. say I have three sites running the same script and I need to determine which site is which. http://www.domain.com/subdir1 http://www.domain.com/subdir2 http://www.domain.com/subd

Re: [PHP] getting subdirectory

2006-05-23 Thread tedd
how do I get the subdirectory that a page is being pulled from. say I have three sites running the same script and I need to determine which site is which. http://www.domain.com/subdir1 http://www.domain.com/subdir2 http://www.domain.com/subdir3 and subdir1, subdir2 and subdir3 all need differe

Re: [PHP] getting subdirectory

2006-05-23 Thread D. Dante Lorenso
Dallas Cahker wrote: how do I get the subdirectory that a page is being pulled from. say I have three sites running the same script and I need to determine which site is which. http://www.domain.com/subdir1 http://www.domain.com/subdir2 http://www.domain.com/subdir3 and subdir1, subdir2 and s

Re: [PHP] getting subdirectory

2006-05-23 Thread Miles Thompson
At 02:29 PM 5/23/2006, Dallas Cahker wrote: how do I get the subdirectory that a page is being pulled from. say I have three sites running the same script and I need to determine which site is which. http://www.domain.com/subdir1 http://www.domain.com/subdir2 http://www.domain.com/subdir3 and

Re: [PHP] getting subdirectory

2006-05-23 Thread Brad Bonkoski
Perhaps check out some of these http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server -Brad Dallas Cahker wrote: how do I get the subdirectory that a page is being pulled from. say I have three sites running the same script and I need to determine which site is whi