Migrating a DB with Emoticons and BigDump

¿So yure having trouble with those peski emoticons?

Just make sure, that your big dump is using the right encoding.

Don't use UTF8, use this string: $db_connection_charset = 'utf8mb4';

And youre done!

Say Goodbye to FirePHP: How to log server info to the Browser Console in 2019

Years ago I was a fanatic of FirePHP to send variables to my Firefox Console. It was the easiest way to debug my apps back there when using vanilla PHP.

Time passed and I didn't develop too much until now!. So when trying to revive past glories, I discovered that FirePHP doesn't work anymore, at least with Firefox Developer Edition.

So what to do? We will use QuantumPHP of course!: Here are the easy steps:



Step 1: Get Firefox Developer Edition (a.k.a Quantum yei!)

Step 2: Go to the code src and put this file in your project:




























Step 3: Use this code:


include ('/php/quantumphp.php');
QuantumPHP::$MODE = 2;
// Optional debug size. Defaults to 5kB
QuantumPHP::$HEADER_LIMIT = 16000;
// Logging strings
QuantumPHP::log('Regular log');
QuantumPHP::warn('Regular warn');
QuantumPHP::error('Regular error');
QuantumPHP::send();

 And youre set!


Help my code is not working!
Check your PHP output_buffering variable. I changed it from 4096 to something more and it started working.

Hope this works. Feels fine to write again!.