shawnplr Posted March 9, 2007 Share Posted March 9, 2007 Due to the testing done by this community I got this script working on my site. Now it it is available for all http://ipweather.kwikphp.com/download.php. May be a noob script kiddie thing but I like it. What do you think? Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/ Share on other sites More sharing options...
benjaminbeazy Posted March 9, 2007 Share Posted March 9, 2007 im in michigan, its giving me weather for NYC... ??? Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-203086 Share on other sites More sharing options...
interpim Posted March 9, 2007 Share Posted March 9, 2007 same... NYC weather... im in California Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-203090 Share on other sites More sharing options...
shawnplr Posted March 9, 2007 Author Share Posted March 9, 2007 I am using a shared free host which does not allow get_file curl or any such thing it says example forecast you can see a working example from the link on the home page. Sorry I should have specified that it is a script to be downloaded and tried. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-203092 Share on other sites More sharing options...
Archadian Posted March 9, 2007 Share Posted March 9, 2007 on the left side of the page it says "Example weather forcast." lol meaning that is just an example Thats why you are getting the NYC weather Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-203093 Share on other sites More sharing options...
shawnplr Posted March 9, 2007 Author Share Posted March 9, 2007 Moderators please bump this meant to put in beta test Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-203102 Share on other sites More sharing options...
shawnplr Posted March 9, 2007 Author Share Posted March 9, 2007 Due to the community here at phpfreaks I got this script working on my site. So I made it available for download http://ipweather.kwikphp.com/download.php . What do you think? Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-203123 Share on other sites More sharing options...
gazever Posted March 9, 2007 Share Posted March 9, 2007 I'm in the Uk, dont really care too much what the weather is in New York Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-203341 Share on other sites More sharing options...
shawnplr Posted March 9, 2007 Author Share Posted March 9, 2007 I'm in the Uk, dont really care too much what the weather is in New York Not too many people would care about that example, it is from Sun, 18 Feb 2007 12:51 pm. A working example can be seen from the link on the home page. Already tested by this forum. Accuracy is no more than 60% for US. Thats not the point. Was really more interested in the usability and integrity of the down loadable script. Thanks all. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-203626 Share on other sites More sharing options...
JasonLewis Posted March 10, 2007 Share Posted March 10, 2007 yeh if you go to the actual homepage you can view a working one. i live about 600km from sydney, which is the city it gave me but still, it was rather impressive. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-204161 Share on other sites More sharing options...
shawnplr Posted March 10, 2007 Author Share Posted March 10, 2007 Sorry all. I either can't get my point across or I shouldn't be asking for any one to down load and test this script since my counter shows 0 downloads. So, I'll just mark it as read and keep wondering what went wrong here. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-204254 Share on other sites More sharing options...
Lumio Posted March 10, 2007 Share Posted March 10, 2007 Maybe it's because it doesn't work Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-204256 Share on other sites More sharing options...
EagerWolf Posted March 15, 2007 Share Posted March 15, 2007 Well .. I guess you all didn't read everything It is said it is not working example Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-207872 Share on other sites More sharing options...
nitch Posted March 15, 2007 Share Posted March 15, 2007 i guess what you wanted was people to download the script and run it on their own which might require a little more effort than some people want to put it, a link to the working script might have been a better post Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-208496 Share on other sites More sharing options...
Example303 Posted March 24, 2007 Share Posted March 24, 2007 im in michigan, its giving me weather for NYC... ??? Its giving NYC to me too. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-214277 Share on other sites More sharing options...
JasonLewis Posted March 25, 2007 Share Posted March 25, 2007 omg, havnt you read! the one on the page is not a working example, its just showing you what it looks like. go to the OPs home page and view it there or download and install it on your site. sorry about that rant. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-214648 Share on other sites More sharing options...
Lytheum Posted March 28, 2007 Share Posted March 28, 2007 Wow, people are so dense. It works like a charm. People just need to learn how to read! Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-216471 Share on other sites More sharing options...
obsidian Posted March 30, 2007 Share Posted March 30, 2007 I downloaded it to try out, but 11.2MB? Seriously Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-218249 Share on other sites More sharing options...
JasonLewis Posted April 2, 2007 Share Posted April 2, 2007 is it 11.2mb? crap, thats a hell of a lot. why is it so big? Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-219563 Share on other sites More sharing options...
obsidian Posted April 2, 2007 Share Posted April 2, 2007 is it 11.2mb? crap, thats a hell of a lot. why is it so big? There's a data file that's about 11MB with it. I'm assuming this is where all the locale information is being pulled from, but it would be so much nicer if that was accessible in an online DB somewhere instead of having a file that big for my site. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-219740 Share on other sites More sharing options...
shawnplr Posted April 5, 2007 Author Share Posted April 5, 2007 It is the GeoIp data file that is so large. Using an online whois I think would be too resource intensive. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-222071 Share on other sites More sharing options...
Azu Posted April 6, 2007 Share Posted April 6, 2007 It tells me that I live in Chicago, IL when I live in Hawaii. And then it tries to get me to buy some wood or saws or something like that. :s Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-222651 Share on other sites More sharing options...
shawnplr Posted April 6, 2007 Author Share Posted April 6, 2007 It tells me that I live in Chicago, IL when I live in Hawaii. And then it tries to get me to buy some wood or saws or something like that. :s Your ip range is not in the database so it showed you the default city forecast which is set by the webmaster. It most certainly did not ask you to purchase anything. The download site is a free shared host which can not allow file_get, fopen and the like for security reasons. So there is a link to my other site for the working example. I am no rocket scientist but I am not trying to advertise carpentry tools to IT's and programmers. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-222879 Share on other sites More sharing options...
shawnplr Posted April 8, 2007 Author Share Posted April 8, 2007 I feel a certain obligation to respond to posts on threads I have started. I just wish there was a way of deleting this one. Please no more posts here. I wrote the script because it is what I wanted and it was not available. If you like it it is open source (LGPL) for as long as kwikphp.com allows me to offer it on their server. If not write it down and send it to some one who cares. Over 200 downloads 1 suggestion 1 vote 0 thanks. Signed Last time I will ever post on a forum or offer anything to the internet community for free. :'( P.S. Special thanks to those of you who took the time to read the replies and try the script. I have appreciated the feedback positive and negative alike. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-224012 Share on other sites More sharing options...
clown[NOR] Posted April 9, 2007 Share Posted April 9, 2007 hehe... i checked out the "Working example" link...hehe... it sais Chicago, IL. .. only problem here is that I'm from Norway .. Link to comment https://forums.phpfreaks.com/topic/41888-solved-ip-weather/#findComment-224685 Share on other sites More sharing options...
Recommended Posts