Posts by Carlos Lorenzon • 41 points
4 posts
-
0
votes2
answers1365
viewsA: Display array values only
Use the php native function array_values($array);
phpanswered Carlos Lorenzon 41 -
1
votes2
answers128
viewsA: Create spreadsheet by adding images and changing color of lines
I ended up opting for the use of the library PHP Excel) . It was the easiest way to effect this action.
-
0
votes2
answers494
viewsA: Directing all root traffic to sub folder results in "403 Forbidden" error if you do not have "index.php"
I believe I’ve tried, but you’ve put it this way: # Direcionar tudo para a sub-pasta "www" RewriteRule ^(.*)$ /www/index.php$1 [L] [R=301,L]
-
3
votes2
answers128
viewsQ: Create spreadsheet by adding images and changing color of lines
This method creates an Excel spreadsheet, with int and string: public function arrayToXls($input) { // BoF $ret = pack('ssssss', 0x809, 0x8, 0x0, 0x10, 0x0, 0x0); // array_values is used to ensure…