Re: Can't create connection with Picasa
Posted: 24 Sep 2010, 19:42
Hi, Phoca Gallery is conecting through php functions:
using cUrl or using file_get_contents (allow_url_fopen)
No port is set in script.
Jan
Code: Select all
if ($curl == 1) {
$init = curl_init();
curl_setopt ($init, CURLOPT_URL, $address);
curl_setopt ($init, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($init, CURLOPT_CONNECTTIMEOUT, 10);
$data = curl_exec($init);
curl_close($init);
} else {
$data = @file_get_contents($address);
}No port is set in script.
Jan