denoteone Posted March 9, 2009 Share Posted March 9, 2009 hey everyone! Can I use a form on someone elses page. i.e. www.who.is? so my php page gets the current viewers IP then I want to use www.who.is to get info and then scrapes the info and returns it on my page? Is this possible. Quote Link to comment https://forums.phpfreaks.com/topic/148637-scraping-data-from-page/ Share on other sites More sharing options...
JonnoTheDev Posted March 9, 2009 Share Posted March 9, 2009 You could but you could end up getting banned if you make lots of requests. Search for an API Quote Link to comment https://forums.phpfreaks.com/topic/148637-scraping-data-from-page/#findComment-780516 Share on other sites More sharing options...
denoteone Posted March 9, 2009 Author Share Posted March 9, 2009 I want this to happen in the background with out the user knowing or being effected. i just want to log Organization info of the viewers of my site. I have been using gethostbyaddr($_SERVER['REMOTE_ADDR']); but the return info is not the same as if I put there IP into who.is is there a way around this? Quote Link to comment https://forums.phpfreaks.com/topic/148637-scraping-data-from-page/#findComment-780520 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.