Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

PHP Deprecated: Function ereg_replace() in twg_zip.class.php
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=3136
Page 1 of 1

Author:  ASCDE [ 29. Oct 2011, 15:50 ]
Post subject:  PHP Deprecated: Function ereg_replace() in twg_zip.class.php

Hi,

PHP Error log shows since the update to 5.3.x
PHP Deprecated: Function ereg_replace() is deprecated in inc\twg_zip.class.php(177) : eval()'d code on line 1

As far I now zip function is changed and is now incl. in PHP and not anymore incl. as extension.

Don't kow if this is already under review.

cheers
Alex

Author:  TinyWebGallery [ 30. Oct 2011, 13:23 ]
Post subject:  Re: PHP Deprecated: Function ereg_replace() in twg_zip.class

I know this a long time already. But as it seems php 6 will not be available soon.
If the function is not available anymore I will change this.

since 5.3 there is the constant E_DEPRECATED which you can use in the php.ini to disable this message.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/