Skip to content

Commit 286220c

Browse files
committed
Correcting socket connection to use SSL as required by changes from Flickr
1 parent 6a6a805 commit 286220c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpFlickr.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function post ($data, $type = null) {
227227
}
228228
$data = implode('&', $data);
229229

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

0 commit comments

Comments
 (0)