Kapsonfire

1

votes
1

answer
87

views

PDO Lock Table Row INNODB

I have a table where sensitive data is stored and need to take care, that only one session is able to read/write on a specific row. My table has 2 coloumns id (int) primary amount (int) index so I want to lock the table but only one row something like LOCK TABLEROWS `mytable` WRITE WHERE `id` = 1 i...
Kapsonfire
1

votes
1

answer
27

views

Regex Replace with Capture not ending with String

I need some help My pattern looks like /°>(http|\/)([^| w NICK °>http://google.de/w NICK|/w NICKhttp://google.de/img.png
Kapsonfire
1

votes
0

answer
37

views

memcached not storing array of complex items with specific keys

Somehow I can't store an array of complex items if i put user_ as prefix in the key my php code $this->skills = [ 'defensiv' => DefensivSkill::getAllUserSkills($this), 'offensiv' => OffensivSkill::getAllUserSkills($this), 'spezial' => SpezialSkill::getAllUserSkills($this), 'pve' => PVESkill::g...
Kapsonfire