Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:7327f0c782ae987170c2
1 2 3 4 5 6 7 8 9
<?php
$image = file_get_contents($path . '/' . $filename);
// wait until the file is loaded into memory
$fp = fsockopen('api.flickr.com', 80, $errno, $errstr, 30));
// wait until the DNS is resolved and the flickr server acknowledges the connection
// ...
fwrite($fp, $image);
// wait until the body is sent to flickr and the flickr server acknowledges the reception
fclose($fp);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.