Comments (6)
The latest version is 1.9.13
The extension.cache.mysql.php extension is included for older systems needing mysql
The equivalent extension.cache.mysqli.php version is for newer systems needing mysqli
from getid3.
Hi,
I checked for list() and there is no issue with it. I don't check for other changes yet.
Sincerely,
Daniel Berthereau
Infodoc & Knowledge management
from getid3.
I don't believe any of the usage of list() in getID3 is affected by the changes in PHP 7, but if you find any specific problems please reopen this issue.
from getid3.
I get this exception (and similar ones for the other write.*
classes) in a project using getID3 when running it on PHP 7:
Methods with the same name as their class will not be constructors in a future version of PHP; getid3_writetags has a deprecated constructor.
I'll try updating these constructors to __construct
and will submit a pull request if things still work.
from getid3.
Not sure if the cache extension is used a lot but it's still using the old mysql_** methods which were deprecated in PHP5.x and removed in 7.
I ran php7cc against the latest version (1.9.12) and this is what I got:
File: D:\Working\www\intranet-prod\www\sites\all\libraries\getid3\getid3\extension.cache.mysql.php
> Line 91: Removed function "mysql_pconnect" called
mysql_pconnect($host, $username, $password);
> Line 97: Removed function "mysql_select_db" called
mysql_select_db($database, $this->connection);
> Line 110: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($this->table);
> Line 111: Removed function "mysql_real_escape_string" called
mysql_real_escape_string(\getID3::VERSION);
> Line 115: Removed function "mysql_query" called
mysql_query($SQLquery, $this->connection);
> Line 116: Removed function "mysql_fetch_array" called
mysql_fetch_array($this->cursor);
> Line 130: Removed function "mysql_query" called
mysql_query('DELETE FROM `' . mysql_real_escape_string($this->table) . '`', $this->connection);
> Line 130: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($this->table);
> Line 131: Removed function "mysql_query" called
mysql_query('INSERT INTO `' . mysql_real_escape_string($this->table) . '` VALUES (\'' . \getID3::VERSION . '\', -1, -1, -1, \'' . \getID3::VERSION . '\')', $this->connection);
> Line 131: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($this->table);
> Line 147: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($this->table);
> Line 148: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($filename);
> Line 149: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($filesize);
> Line 150: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($filetime);
> Line 151: Removed function "mysql_query" called
mysql_query($SQLquery, $this->connection);
> Line 152: Removed function "mysql_num_rows" called
mysql_num_rows($this->cursor);
> Line 154: Removed function "mysql_fetch_array" called
mysql_fetch_array($this->cursor);
> Line 164: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($this->table);
> Line 165: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($filename);
> Line 166: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($filesize);
> Line 167: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($filetime);
> Line 168: Removed function "mysql_real_escape_string" called
mysql_real_escape_string(time());
> Line 169: Removed function "mysql_real_escape_string" called
mysql_real_escape_string(base64_encode(serialize($analysis)));
> Line 170: Removed function "mysql_query" called
mysql_query($SQLquery, $this->connection);
> Line 180: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($this->table);
> Line 187: Removed function "mysql_query" called
mysql_query($SQLquery, $this->connection);
> Line 188: Removed function "mysql_error" called
mysql_error($this->connection);
from getid3.
Right, I might 've missed that last version..? Anyway, thanks for the reply. I had a feeling this would be the case but wasn't sure :)
from getid3.
Related Issues (20)
- MPEG-1 pixel aspect ratio is reciprocal of actual value HOT 1
- Incorrect audio metadata with some MP4 files HOT 4
- Bit rate for MP4 audio tracks HOT 3
- Reference getID3 from Google Apps Script HOT 1
- Purchasing a commercial license HOT 1
- `fread` length error in XMP HOT 2
- PHP Error as Severity: Notice Message: Undefined index: time_scale Filename: getid3/module.audio-video.quicktime.php Line Number: 335 HOT 1
- How to add Cover Image? HOT 1
- PHP Notice: Undefined index: data
- module.tag.id3v2 crashes PHP 8.2.12 if opcache enabled HOT 10
- fread(): Argument #2 ($length) must be greater than 0 HOT 1
- libxml_disable_entity_loader is deprecated HOT 3
- Garbage extracted from a RIFF tag in an AIFF file HOT 2
- Not work WRITE function in Windows 10/php7.4
- Write Synchronised lyric (SYLT)
- Unable to determine .gpx file HOT 5
- Deprecated: Implicit conversion from float ... to int loses precision HOT 7
- Mpeg duration error due to error in GOP parsing HOT 2
- Tag format "id3v2.3" is not allowed on "" files,
- Warning on PrintHexBytes function when $string is not a string. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getid3.