I don't understand it, I tried the CURL version and it didn't seem to work, then I tried it again and now it works. Go figure. Maybe I copied it wrong the first time or something.
Well I worked on it a bit more. And here is the latest, the tmp.php thing doesn't work either. But I have two different domains running off one hosting account, the second being something like a subdo ...