Skip to content

Commit

Permalink
Correcting socket connection to use SSL as required by changes from F…
Browse files Browse the repository at this point in the history
…lickr
  • Loading branch information
fbianco committed Jun 28, 2014
1 parent 6a6a805 commit 286220c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpFlickr.php
Expand Up @@ -227,7 +227,7 @@ function post ($data, $type = null) {
}
$data = implode('&', $data);

$fp = @pfsockopen($matches[1], 80);
$fp = @pfsockopen('ssl://'.$matches[1], 443);
if (!$fp) {
die('Could not connect to the web service');
}
Expand Down

0 comments on commit 286220c

Please sign in to comment.