Is there a way we could do this without using allow_url_fopen? they've got it turned off on my servers.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | picasa_allow_url_fopen.txt | 1.09 KB | cyberswat |
Is there a way we could do this without using allow_url_fopen? they've got it turned off on my servers.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | picasa_allow_url_fopen.txt | 1.09 KB | cyberswat |
Comments
Comment #1
cyberswat commentedI'll check into it and see what workarounds are available ... Thanks
Comment #2
cyberswat commentedTry this ... replace line 226
$contents = file_get_contents($loc);with the following
Or simply run the attached patch.
Comment #3
cyberswat commentedComment #4
Anthony Gettig commentedFor what it's worth, this patch worked like a charm for me. Thanks a ton!
Comment #5
pedrofaria commented//$contents = file_get_contents($loc);
$rs = drupal_http_request($loc);
$contents = $rs->data;
its more easy to change for it...
use drupal schema!
cya!
Comment #6
cyberswat commentedvery nice ... I knew there had to be an easier Drupal correct way of doing this. Thanks!
Comment #7
mabunixda commentedThanks for the patch! you made my day :)
Comment #8
RingoDS commentedCan a new release be made with the above patch applied? It's december now and I still had to apply the patch myself.
Comment #9
cyberswat commentedFIxed in 5.x-3.1