well after doing lots of search i got to know my server does not has
allow_url_fopen = On so i edited my
file.. now it is working perfect...
file_get_contents method requires
= On ....
i have posted this answer so that anyone else looking for this.. may get
thanks every one.. who viewed my question..