Get Os and Country flag from IP [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm creating a website where you give someone the link of a website and it returns the IP and much information, such as the flag of the country and the OS. For the country flag I searched and I find this website: http://hostip.info/
And my code was:
<IMG SRC="http://api.hostip.info/flag.php?ip= ip here " ALT="IP Address Lookup">
But it didn't work it returns just empty block. And for the OS I searched and I can't find anything but as you see in this website it gives the OS of any website:
http://www.zone-h.org/archive
Does anyone have the solution? I think the solution would be in PHP.

<img src="http://api.hostip.info/flag.php?ip=153.50.106.161" alt="IP Address Lookup">
Tested it via random ip 153.50.106.161 from ip test generator
About the OS, i found some useful tutorial via PHP/JSON (didn't try it but they got live demo which i believe its working).

Related

IP Sniffer Script that loads a particular page - this possible? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I get tons of traffic from India and I am hosting in the USA.
So, I was thinking, is it possible that when an Indian visitor hits my site then they are redirected to an India html page within my site? (Reason for this would be to offer them Indian-related services etc).
I have been searching but with no results. Maybe my search terminology is wrong? Should I be referring to a 'sniffer script'?
Thanks
First, I'd go for $_SERVER["HTTP_ACCEPT_LANGUAGE"] - if this variable contains indian language code.
Second, because it's a little slower to detect, install MaxMind (free) geo IP database (refer to different tutorials on the net) and check the IP for indian origin.
If either of both is true, your best bet is to store this information in memcache so you only have to do it once (geoip lookups cost time).
Depending on this information you can present a different page.

Where is the old php.net website? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I know that the new php.net website has been released for some time. The old one had the source code link in the footer, which allowed a user to see the php code of the current webpage. It was very handy. Is there any way to see the old php.net website?
I don't know if it's possible to see the updated manual with the old layout, but it is possible to see the old website version on archive.org: http://goo.gl/K7EkSe (Sorry for the shortened url, but the editor didn't allow me to write the url properly)
You can try wayback machine This allow you to view history of the php website.

Dreamweaver CC cannot set up server for PHP files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I was using Dreamweaver CS6 before, and I can test my PHP files in it(just to create a site and indicating the server root, etc, and everything is ready). But in CC version, I did the same thing, exactly the same setting as CS6, but my PHP file cannot be shown. I clicked the "connect to remote server" icon, and it cannot be connected(the icon cannot be on).
What's wrong with the CC version???
take a look to this links, this will help you...
helpx.adobe
tv.adobe
blogs.adobe

Requesting website regularly within specific interval [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have robot which should be run within specific interval. So I want to refresh the website page that runs robot within specific interval. I know there is some site that we can sign up and that site refresh my website for specific interval. But i forgot them. I googled but did not found that sites.
Can anyone remember me one of websites url?
Search "cron" keyword on Google, for instance:
https://www.setcronjob.com/
Some are free
if your robot is about periodically checking for some information, you may find Yahoo.Pipes useful.

Sending Longitude, Latitude & Phone Number to mysql database - Android [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I have made an app which already recieves the longitude latitude and phone number.
I need to store these in a mysql database and I have no experience with mysql and php.
Can anyone please help me, maybe with some tutorials.
You need to create MySql Database on a server and call Web service to add that data on the server using Php.
Look at this tutorial . Here you can find how to send and receive data using php web service.
http://www.codeproject.com/Articles/267023/Send-and-receive-json-between-android-and-php

Categories