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 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. 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. 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. Link to comment https://forums.phpfreaks.com/topic/51813-help-with-code/#findComment-255291 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.