Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 06:08:48 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 58
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 2
Guests: 50
Total: 52

Author Topic: World Weather Block  (Read 6337 times)

0 Members and 1 Guest are viewing this topic.

akulion

  • Guest
World Weather Block
« on: September 11, 2006, 05:52:36 AM »
hi

This is a block which wont work for everyone..only for people who have fopen enabled for URLs on their servers.

I dont have that enabled on my server so I cant use it - but I am sure there are people who have it enabled so it will come in handy for them for sure - so adding it here.

The download files - instructions - demo and everything else can be found Over Here

It will require you to create a DB table (the query for it is given)
You will have to download a zip file from weather.com and upload to ur server
You will have to register with weather.com to get your partner ID and validation key

Thats all really there is to it....

For PHP coders only...a request for help

I was reading about fopen enabled urls and there is a solution to make it work for those servers where it is disabled.

However I havent been able to make it work...I tried playing around with the code a little bit....something to do with using CURL

If you know about the following could you please shed some light into this and maybe get it working for fopen disabled servers as well?

Details here

Thanks

Xarcell

  • Guest
Re: World Weather Block
« Reply #1 on: October 30, 2006, 04:55:02 PM »
I'll work with you on this to try and figure it out. I wanna try it and see what happens.

I'm at the step of trying to get CURL to work.

akulion

  • Guest
Re: World Weather Block
« Reply #2 on: October 31, 2006, 03:53:01 AM »
oh wow! great news :D looking forward to it! this would be awesome since its a FULL weather service as opposed to having a simple bloc

thanks :D

Xarcell

  • Guest
Re: World Weather Block
« Reply #3 on: October 31, 2006, 06:15:22 AM »
Ya I'm rassling with dreamhost right now trying to get help from them code wise. I tried several things and it was crashing the freaking server.

akulion

  • Guest
Re: World Weather Block
« Reply #4 on: October 31, 2006, 06:36:21 AM »
yea same with me

Dreamhost only pointed me to a document which talked about CURL thingie, I searched the net as well for more on this but didnt have much luck


Offline Crip

  • Jesus Inside.
  • Themes
  • *
  • Posts: 4168
  • Theme Support
    • Cripzone
Re: World Weather Block
« Reply #5 on: October 31, 2006, 06:44:00 AM »
Very cool script..
I looked at my phpinfo and I saw this, are my fopen urls 'enabled'??

  • Directive = allow_url_fopen
  • [0]Local Value = On   
  • Master Value = On


I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes


akulion

  • Guest
Re: World Weather Block
« Reply #6 on: October 31, 2006, 06:51:38 AM »
dont know for sure but certainly looks like it :D