Gallery2 imageblock and curl

Hi, is anyone using the gallery2 imageblock for random image here?
I know url_fopen is disabled at dreamhost so I found this thread at galley’s forum:

It says using curl could solve the problem at dreamhost. I think I did exactly the same thing as in the above thread. It doesn’t work (my gallery2 is running fine with imageblock enabled). Moreover, it caused problem on my texpattern CMS: it simply can not save any change I made with curl command.(I tried to write a simple .html using the above code w/o the CMS and it didn’t work either).

Can anyone please help here. Any imput would be greatly appreciated!!!

Thanks so much,