Page 2 of 2

Re: Can't create connection with Picasa

Posted: 24 Sep 2010, 19:42
by Jan
Hi, Phoca Gallery is conecting through php functions:

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);
		}
using cUrl or using file_get_contents (allow_url_fopen)

No port is set in script.

Jan

Re: Can't create connection with Picasa

Posted: 25 Sep 2010, 13:05
by GabIvan
Thank you, now they want to now what is the value of $address.

Re: Can't create connection with Picasa

Posted: 26 Sep 2010, 12:40
by Jan

Re: Can't create connection with Picasa

Posted: 30 Sep 2010, 12:22
by GabIvan
The hosting provider modified a parameter in php.ini (they wouldn't say to me what is that parameter...) and now Phoca gallery works perfectly.
Thank you for the support you gave to me.

Re: Can't create connection with Picasa

Posted: 02 Oct 2010, 17:38
by Jan
Ok