Php file_get_content and htaccess config

I would like to access content of website A from website B using php file_get_content function or curl library.

The problem is that I use sharing host for website A and they don’t allow this. But they said that I can use htaccess to change this settings. allow_url_fopen is alredy active.They mentioned something about permanent link settings, but I can not find any usefull information on google. Does anybody know what settings could be that? Or even better, does anybody know htaccess rule for that?

Thank you