[SOLVED] From my ISP: " PHP's allow_url_fopen NOW Disab

aussiejeepimages
aussiejeepimages's picture

Joined: 2005-04-21
Posts: 15
Posted: Thu, 2005-04-21 12:16

Hi all :)

Just a note to say that the test upgrade from v1.5 to G2b2 was the SMOOTHEST thing I have ever done. My site contains about 8,000 images and several hundred albums and users. The import tool was flawless. It just damn worked. A hearty congratulations to all your developers - a job really well done!

Just a basic question for you. My ISP recently sent me an announcement that states that they have disabled PHP's allow_url_fopen

Is this going to affect my installation? They go on to give me this:

Quote:
As previously announced on March 18, 2005, the allow_url_fopen PHP configuration has now
been turned off on all servers.

If you are currently using this functionality in your PHP code, there is a more powerful and
flexible option available. PHP provides excellent support for curl library and its associated
functions.

One of our own users has written a short article describing how it is used and that can be found
here:
http://blog.unitedheroes.net/archives/p/1630/

The official PHP documentation for it is here:
http://us2.php.net/manual/en/ref.curl.php

This change will significantly improve the security of PHP-based applications running on our
servers so we can spend more time giving you more features!

Will this be a problem for me?

Cheers and...again.... many thanks :)

Cheers
Chris

----

Gallery URL : http://www.aussiejeepimages.com/gallery2/
Gallery version: G2 beta2
Webserver (with version): Apache/1.3.31 (Unix) DAV/1.0.3 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.19 OpenSSL/0.9.6c
Datatabase (with version): MySQL 4.1.8
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system: Linux 2.4.29
Web browser/version: FireFox 1.0.3 Windows XP
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-04-21 16:01

no, G2 doesn't rely on url_fopen. it will work 100% ok with url_fopen disabled.

if you plan to use the imageblock of G2 in other areas of your website (non-G2 pages), then you'll have to use a workaround. but the imageblock within G2 works 100% ok even with url_fopen.

PS: and we're always glad to here such success stories, keep 'em coming :)

 
aussiejeepimages
aussiejeepimages's picture

Joined: 2005-04-21
Posts: 15
Posted: Thu, 2005-04-21 22:40

Glad to hear it valiant :)

My website addy can be added to the list of sites running G2 if its of any use to you....

Just having a slight problem with movies uploaded from the local server path. Movies are loaded once, and then they actually appear twice on the page with different itemid's. I'll have to troll around the forum to see if it's happened before.

Cheers
Chris