@We0 if it's not your lib, check if their current version fixes the issue already. if it doesnt or you dont want to update the lib, fix it yourself and consider sending them a Pull Request. Alternative: use another lib that doesn't use that security vulnerability
Every time I need to desing a new database I spend quite some time
thinking on how I should set up the database schema to keep an audit log of
the changes.
Some questions have already been asked here about this, but I don't agree that
there is a single best approach for all scenarios:
Database...
You should grep the project for preg_replace and do each one individually, often the code used in an /e expression is not the best way to do it with a callback I have found
There can't be that many of them (and if there are then the lib is probably flawed in its design)
@MadaraUchiha People have chat open in the work place. Bosses may frown upon seeing pictures like that while trying to tell them it's a professional chat
The was a bug in older IE versions (<=7 IIRC?) whereby it couldn't cope with rules that specify multiple classes on the same element and it would always use the last class in the declaration, so in the example above that would be like writing .h1 - but who cares about old IE versions? :-P — DaveRandom38 secs ago
I wonder who thought it would be a good idea to initialise the session configuration option without checking if they're already present ... Symfony logic?
@We0 Just replace it with preg_replace_callback('/(?<=^|[\x09\x20\x2D])./', function($match) { return strtoupper($match[0]); }, strtolower(trim($match[1]))); and be done with it then It is a stupid thing to do but going through the whol lib to make sure that doing something more sensible won't break anything will take a lot longer
Are there other solutions to achieve my result? I have to use msaccess data in a web-app. The database is used on a webserver and got saved several times a day.
@Duikboot I looks like you're boned. MS don't produce anything, there are a couple of 3rd party ODBC drivers for linux but they are commercial and expensive and probably not very good. You have two options: use a different DB engine, use a windows-based server. The latter option sucks badly