Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I suggest xdebug and any php debugger client you can find. It helps to see the workflow of the code. No die, no var_dump.
If echoing data influences the output, then the zip library makes use of the output buffer (Look for ob_start). I did not expect it working this way. -
johnDoe32338yProbably should have looked into that... I thought it was the header() calls that was fucking this up and never would have thought it to be print and echo statements.
Oh well it's done somehow -
johnDoe32338y@gifco I didn't choose it. I'm working on a group project where I have been assigned the front end development and some others are doing the backend. I was just giving em a hand, which ended up being an absolute pain of a task.
Related Rants
FUCK YOU PHP!!!! FUCKING HELL JUST FUCK THE HELL OFF YOU PIECE OF SHIT.
8 GOD FORSAKEN HOURS SPENT TRYING TO ZIP SOME SHITTY FUCKING FILES IN A FOLDER ON MY WEB SERVER TO HAVE THEM DOWNLOADED TO MY CLIENT COMPUTER.... 8 HOURS UNABLE TO OPEN THE DAMN FILE AND THE ISSUE WAS "echo" & "print_r()" STATEMENTS GETTING TRAPPED IN MY ZIPARCHIVE BUFFER MAKING THE ZIP FILE A GIANT PILE OF UNREADABLE SHIT.
HOW IN GODS NAME WERE THOSE FUCKERS EVEN BEING ADDED TO THE ZIP FILE.
Fucking hell. Time to sleep.
undefined
php
zip
kill-me