- HOLY COW.....THANKS A BUNCH!! I am a VB programmer (hack) at heart as well as ASP, now I am trying to learn PHP, which has really sparked my attention now. AllMessage 1 of 12 , Jan 30, 2008View SourceHOLY COW.....THANKS A BUNCH!!
I am a VB programmer (hack) at heart as well as ASP, now I am trying to learn PHP, which has really sparked my attention now. All of this information will come in very handy. I have been a member of PHP classes for a while but never though to check there for this class.
Thanks again for your help,
LarryOn Jan 30, 2008 4:24 PM, < Dickie Bradford > <dbradford@...> wrote:Larryi also attached the sun_class to the last email as wellDickie
Quick question, Dickie.....can you show me where I can find the sun_class.php file.....that seems interesting and it would be nice to figure out that info as well.
Thanks for your help again,
LarryOn Jan 30, 2008 8:06 AM, Larry Myers <hometownnerd@...> wrote:
I thought I was the only doing it that way, after seeing the parse_ini way I just want to smack myself for missing it. I have been using a very large number of fields for my ajax pages (around 75 or so fields) and it just gets so tiring figuring out where I have the field coming from and what number it is now compared to what it was. I understand why he does it the way he does it, it should be done that way, so that all data stays where it is (daily extremes belong together etc) and I applaud Heath for doing the tremendous amounts of work he obviously does to get the fields added. I just wish I would have done it this way from the start, hehehe....hind sight is 20/20.
Now to rewrite to match the new style, that should be a heck of a lot easier now!!
LarryOn Jan 30, 2008 5:24 AM, Juha Jäntti <jjantti2@...> wrote:
Every time there's a change in WUHU, that makes a modification to the
extended currdat.lst file, I will simply rewrite everyone of them to
match the lines in currdat.lst. I'm doing it the hard way, mostly
because I'm still pretty new to PHP but at the same time I get a
chance to learn more every time.
Although it is a bit stressful at times, it's also very rewarding once
you get it done. Once I got used to updating the row numbers, I've
become faster in doing so. I can manage to rewrite the code around 15
minutes or so.
I asked Heath one time if it is possible for him to throw all the new
data lines to the bottom of the currdat.lst file, but received no
After a while, I figured out the reason for Heath's silence: The
suggestion was very stupid in sense, because all the data in that file
is categorized and just throwing more data lines to the bottom of the
file would make it impossible to find the data you're looking for.
WUHU + PHP = Working combination. :)
Lesson learned. :)
Finland Weather Exchange (FinWX)
CW4473 / IUUSIMAA2
--- In email@example.com, "larrymyers312000"
>> How does everyone parse there currdat.lis file? I have been using php
> to do the work for me by parsing it and adding pipes to seperate
> fields, but the issue I face is when a new field gets added I have to
> rewrite all of my field numbers to match the new field positions. Does
> anyone have a better way of grabbing the fields without doing it by
> I am relatively new in PHP but have a fairly good grasp on it and I am
> hoping someone can show me a better way so I can get better at it. I am
> also thinking about trying to make a VB app that parses the same
> currdat.lis file to display the current conditions etc....I have a
> shell but need to change from parsing the wunderground site to parsing
> the currdat.lis file.
> Thanks for any help you can provide,