greengo Posted May 17, 2007 Share Posted May 17, 2007 hi, I wanna make a script that does different things if it's open from different website. Does anyone know where I can start from? thanks Quote Link to comment https://forums.phpfreaks.com/topic/51813-help-with-code/ Share on other sites More sharing options...
jitesh Posted May 17, 2007 Share Posted May 17, 2007 clear what you want .. May be $_SERVER['HTTP_REFERER'] can help you. Quote Link to comment https://forums.phpfreaks.com/topic/51813-help-with-code/#findComment-255279 Share on other sites More sharing options...
greengo Posted May 17, 2007 Author Share Posted May 17, 2007 I have got a web site that has to upload different css and banners when someone opens it from different website. So I have to make a script that says when user connect from google do this when from ..... do something else. Quote Link to comment https://forums.phpfreaks.com/topic/51813-help-with-code/#findComment-255290 Share on other sites More sharing options...
jitesh Posted May 17, 2007 Share Posted May 17, 2007 $_SERVER['HTTP_REFERER'] will give you url of previous page from where you redirect to current location. Quote Link to comment https://forums.phpfreaks.com/topic/51813-help-with-code/#findComment-255291 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.