![]() |
How do i do this ?
In my PHP script, I want to change directory only when the user has referred from the root of the domain i.e. http://www.domain.com and NOT when referred from http://www.domain.com/forum
something like this:- Code:
if(referrer = "http://www.domain.com") thank you |
A much easier way than relying on easily falsified referrers, is to just use chdir() with an absolute path. For example:
PHP Code:
|
thank you so much. works perfect !
|
All times are GMT. The time now is 09:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|