klaibert26 Posted December 6, 2009 Share Posted December 6, 2009 Hi I am trying to characterize a system that checks the domain associated with. for example: i have 2 systems, system A is Based on asp.net and system B is Based on php. i also have a very long list of domains and i want to develop a script (in php) that runs on that list and chacks wether the domain belongs to system A or system B or invalid does anyone have a Idea how to do this? Link to comment https://forums.phpfreaks.com/topic/184152-a-system-that-checks-the-domain-associated-with/ Share on other sites More sharing options...
oni-kun Posted December 6, 2009 Share Posted December 6, 2009 Hi I am trying to characterize a system that checks the domain associated with. for example: i have 2 systems, system A is Based on asp.net and system B is Based on php. i also have a very long list of domains and i want to develop a script (in php) that runs on that list and chacks wether the domain belongs to system A or system B or invalid does anyone have a Idea how to do this? You can use the function get_headers to easily get the headers and just find and parse the line "[2] => Server: (Apache or IIS)" i also have a very long list of domains and i want to develop a script (in php) that runs on that list To warn you, headers require 1-10 seconds to be grabbed, usually per domain. It may not be a viable solution for your problem. Link to comment https://forums.phpfreaks.com/topic/184152-a-system-that-checks-the-domain-associated-with/#findComment-972262 Share on other sites More sharing options...
klaibert26 Posted December 6, 2009 Author Share Posted December 6, 2009 thank's i will try this. Link to comment https://forums.phpfreaks.com/topic/184152-a-system-that-checks-the-domain-associated-with/#findComment-972263 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.