Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: The "allow_url_fopen" option will be turned off by my server !  (Read 3151 times)

0 Members and 1 Guest are viewing this topic.

Tchit

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22

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 !
Logged

Nibbler

  • Guest
Re: The "allow_url_fopen" option will be turned off by my server !
« Reply #1 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.
Logged

Huser

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: The "allow_url_fopen" option will be turned off by my server !
« Reply #2 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The "allow_url_fopen" option will be turned off by my server !
« Reply #3 on: April 09, 2005, 12:27:22 pm »

URI upload will be affected as well as far as I can see.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.