forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: Tchit on March 19, 2005, 01:29:28 pm

Title: The "allow_url_fopen" option will be turned off by my server !
Post by: Tchit on March 19, 2005, 01:29:28 pm
They say this PHP function is dangerous for their servers (security hole). The allow_url_fopen php function will be disabled in 10 days.

I have seen that it is a used function by Coppermine. What is it exactly for ? Can I use Coppermine without this function ? Will Coppermine work normaly?

Is there a solution ???

I am really afraid ! Thank you in advance !
Title: Re: The "allow_url_fopen" option will be turned off by my server !
Post by: Nibbler on March 19, 2005, 02:04:08 pm
As far as I can see it is only used by the versionchecker, so it shouldn't cause any real problems.
Title: Re: The "allow_url_fopen" option will be turned off by my server !
Post by: Huser on April 08, 2005, 11:03:41 pm
It will definitly work. ;D I had this happen to me and i have seen no problems.

 If you still want to include files on your webpages use Curl instead of php include. Same results but curl will still work! Like below.

Quote
<?php
$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,'http://www.yoursite.com/file.php');
curl_exec($curl_handle);
curl_close($curl_handle);
?>

Does the same thing and run even though the allow_urlfopen is off and Curl can do alot more.
Title: Re: The "allow_url_fopen" option will be turned off by my server !
Post by: Joachim Müller on April 09, 2005, 12:27:22 pm
URI upload will be affected as well as far as I can see.

Joachim