Skip to content

Commit d40348e

Browse files
committed
Merge pull request dan-coulter#16 from fbianco/master
Correcting socket connection to use SSL
2 parents 15a7823 + 286220c commit d40348e

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
@@ -234,7 +234,7 @@ function post ($data, $type = null) {
234234
}
235235
$data = implode('&', $data);
236236

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

0 commit comments

Comments
 (0)