Man, I am a complete newbie. I'm having problems getting that UDF to work - Should I be passing the variables like:

$surl = "http://oap.weather.com/fcgi-bin/oap/generate_magnet?loc_id=33569"

$stargetfile = "d:\test.jpg"

Should I have IE running as a COM object before I run this UDF?