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
Search - "mysqli"
-
FUCK YOU! YOU PIECE OF SHIT CLIENT!
I work my ass off for a month and deliver you the best possible design for your problem and a great booking system and you open up a dispute on the order stating the work I received was poor?
GO FUCK YOURSELF :@ :@ :@
Everything is working beautifully, I uploaded it on a test website to even demonstrate it. The only problem is he is getting the error of mysqli class not found on his fucking potato server, that is not my fault! Even then, I am willing to install the php mysqli extension on his dick server so the fucking "script" works.
Some people just need a fucking reason to get away with good work done without having to pay...I will leave freelancing if the dispute ends up in his favour.
Fuck this shit. At least I get confirmed payment for what I work for 8 hours a day if I do a fucking job.8 -
I don't know if I'm being pranked or not, but I work with my boss and he has the strangest way of doing things.
- Only use PHP
- Keep error_reporting off (for development), Site cannot function if they are on.
- 20,000 lines of functions in a single file, 50% of which was unused, mostly repeated code that could have been reduced massively.
- Zero Code Comments
- Inconsistent variable names, function names, file names -- I was literally project searching for months to find things.
- There is nothing close to a normalized SQL Database, column ID names can't even stay consistent.
- Every query is done with a mysqli wrapper to use legacy mysql functions.
- Most used function is to escape stirngs
- Type-hinting is too strict for the code.
- Most files packed with Inline CSS, JavaScript and PHP - we don't want to use an external file otherwise we'd have to open two of them.
- Do not use a package manger composer because he doesn't have it installed.. Though I told him it's easy on any platform and I'll explain it.
- He downloads a few composer packages he likes and drag/drop them into random folder.
- Uses $_GET to set values and pass them around like a message contianer.
- One file is 6000 lines which is a giant if statement with somewhere close to 7 levels deep of recursion.
- Never removes his old code that bloats things.
- Has functions from a decade ago he would like to save to use some day. Just regular, plain old, PHP functions.
- Always wants to build things from scratch, and re-using a lot of his code that is honestly a weird way of doing almost everything.
- Using CodeIntel, Mess Detectors, Error Detectors is not good or useful.
- Would not deploy to production through any tool I setup, though I was told to. Instead he wrote bash scripts that still make me nervous.
- Often tells me to make something modern/great (reinventing a wheel) and then ends up saying, "I think I'd do it this way... Referes to his code 5 years ago".
- Using isset() breaks things.
- Tens of thousands of undefined variables exist because arrays are creates like $this[][][] = 5;
- Understanding the naming of functions required me to write several documents.
- I had to use #region tags to find places in the code quicker since a router was about 2000 lines of if else statements.
- I used Todo Bookmark extensions in VSCode to mark and flag everything that's a bug.
- Gets upset if I add anything to .gitignore; I tried to tell him it ignores files we don't want, he is though it deleted them for a while.
- He would rather explain every line of code in a mammoth project that follows no human known patterns, includes files that overwrite global scope variables and wants has me do the documentation.
- Open to ideas but when I bring them up such as - This is what most standards suggest, here's a literal example of exactly what you want but easier - He will passively decide against it and end up working on tedious things not very necessary for project release dates.
- On another project I try to write code but he wants to go over every single nook and cranny and stay on the phone the entire day as I watch his screen and Im trying to code.
I would like us all to do well but I do not consider him a programmer but a script-whippersnapper. I find myself trying to to debate the most basic of things (you shouldnt 777 every file), and I need all kinds of evidence before he will do something about it. We need "security" and all kinds of buzz words but I'm scared to death of this code. After several months its a nice place to work but I am convinced I'm being pranked or my boss has very little idea what he's doing. I've worked in a lot of disasters but nothing like this.
We are building an API, I could use something open source to help with anything from validations, routing, ACL but he ends up reinventing the wheel. I have never worked so slow, hindered and baffled at how I am supposed to build anything - nothing is stable, tested, and rarely logical. I suggested many things but he would rather have small talk and reason his way into using things he made.
I could fhave this project 50% done i a Node API i two weeks, pretty fast in a PHP or Python one, but we for reasons I have no idea would rather go slow and literally "build a framework". Two knuckleheads are going to build a PHP REST framework and compete with tested, tried and true open source tools by tens of millions?
I just wanted to rant because this drives me crazy. I have so much stress my neck and shoulder seems like a nerve is pinched. I don't understand what any of this means. I've never met someone who was wrong about so many things but believed they were right. I just don't know what to say so often on call I just say, 'uhh..'. It's like nothing anyone or any authority says matters, I don't know why he asks anything he's going to do things one way, a hard way, only that he can decipher. He's an owner, he's not worried about job security.13 -
Name a more iconic duo than web developers on help sites and having pissing contests over which modules they use instead of actually answering the question!
I've been a web dev/server admin for all of about a month now, and only known PHP for about a week of that, and the one thing really that grates on me isn't PHP's odd function naming inconsistencies or at times outright trash documentation, it's the other developers who, when asked a fairly straightforward question about why a mysqli function won't return something, demand you use PDO instead.
Please. I'm running a LEMP stack on a Raspberry Pi here, I'm trying to keep dependencies to an absolute minimum because the SD card is tiny, the Pi will catch on fire if it runs any hotter, and more dependencies are more potential points of failure. Just answer the damn question. I'm not going to install PDO for something I know I can do anyway just because it makes my code look slightly prettier.
Honourable mention to all you Node.js developers out there too, with your thousands of useless npm dependencies. I salute you.8 -
Why did I volunteer to this shit...
I am supposed to maintain 4 old websites (like they were written 10+ years ago..). It's written in PHP, before mysqli, so all the calls to the DB is with mysql functions.. Now the server is to be updated and run PHP7.... guess what? those functions don't exist any more.... Now I have to patch several thousand files to use the mysqli functions... And no, there is no reason to rewrite it more than that, as I'm also developing the new versions om the sites, but those are so far from done and the new server needs the update as soon as possible, so bodging the shit out of this one...
Oh god the amount of repetitive labor 😫☹😭
And I'm not getting paid, because I'm doing it for my scout group... Tho they pay some of the Pizza 😜10 -
Finally removing all mysqli references and make the pdo statements, so we can finally switch to PHP 7.25
-
<rant>
Tomorrow is my bd and I swear besides seeing my friends all I want is to find this bug.
</rant> -
WHY THE FUCK ISN'T THERE AN OPTION TO QUICKLY JUST FUCKING PRINT A TABLE IN PHP???!!!!
I DON'T WANT TO SIT AND WRITE 50 MORE LINES FOR YOU TO DO SUCH A SIMPLE TASK.
I WANT TO JUST "SELECT * FROM BLABAL" AND PRINT THAT FUCKER IS IT THAT HARD EH?26 -
I have spent 2 hours fighting with another dev once about mysqli vs pdo and how mysqli is probably worse than pdo, turns out the only difference is that pdo supports more databases, where as mysqli only supports mysql, else their spec is basically the same. 😰2
-
A prototype being used as production code written in procedural PHP with the code drawn using echo and MySQL (not MySQLi) all mixed together and the configuration with world readable database stored as config.inc.
All backed by a database with no foreign keys or data integrity of any kind. -
After paying 3 years in advance to my host, some emails of the owner of a project I work with (very small thing, but still..) began to disappear. She doesn't receive the messages and neither the person who sends receives a error message. I've contacted them but no one could found out what is happening.
In this meantime, I had to change the PHP version (there is a version control in their cPanel). Just after changing, Mysqli and PDO stopped working. It took about 4 to 5 days for them to fixed it (shared host).
Back to today, I needed to send and receive lots of emails of this project. As we are losing tons of legitimates mails, we started to cc our personal emails to avoid misscomunication (deadlines are very important). Of course, exactly today, Microsoft's mail stopped accepting any emails of our host IP, as it appears someone has an Trojan hosted there. Of course, except me, everyone else personal email address are Outlook.com.4 -
Is it just me, or do other people feel like mysqli prepared statements like to never work the same way twice?
I just finished a 3 hour debugging session where the prepared statement just didn't work. Then, just moments ago, I commented out an "echo" that has nothing to do with the fucking statement! And guess what? It works.
one moment please, I need to let my anger out.
GAAAAAAAA YOU FUCKING STUPID COMPUTER! YOU SON OF A FUCKING BITCH!
and to the people who made mysqli...
I HATE YOUR FUCKING LANGUAGE SO MUCH RIGHT NOW!
*sigh*
Ok, I'm back.
Anyways,
I don't know how, but I think php can smell anger and loves to make life miserable.
Please tell me I'm not the only one. -
Been way too long since I did something that wasn't WordPress, so I decided to take some spare time this weekend to scratch-build something and get around to finally learning how to transition from Foundation 5 to 6 while I'm at it (since jQuery compatibility requirements mandate I finally make that jump going forward...).
Started off with a plan for a custom-designed CMS built around a personal research project I've been doing. Worked it all out mentally. Then got started and realized I probably want to start by securing the system and provisioning for user accounts, so I've been working on that all weekend so far...
On the plus side, I've written a pretty nice user management module for any future personal projects, and have *finally* gotten around to learning how to do prepared statements in MySQLi.
On the neutral side, I still haven't gotten around to building any of the substantive stuff I set out to work on this weekend because I've been helping a friend out IRL with some non-programming stuff.
Such is the way it goes, eh? Hoping tonight I'll finally finish up with the administrative items and be able to get down to building the actual meat of the project. -
So I'm looking for jobs ATM related to the web business and a find the one job that kind of appeals to me, (it's basically a social network for business) I head over to the site and see that 1. The designs shit as hell and 2. I pull out my 1337 web dev hacks and what do you know the sites vulnerable to MySQL injections!!! How gr82
-
i am a B.Tech 3rd year student.Last month i started learning Php web development,also learnt HTML &CSS.
i struggled during the starting days but became quite comfortable with back-end development using Php,MySQLi, and JS.
But my concern is my Placements. I have seen students getting hired by top IT companies on the basis of their ranking in COMPETITIVE PROGRAMMING like codechef,hakerrank etc.
My question is that should i continue doing Web Development or should i invest time in competitive programming and stop doing web development?5 -
Fuck encoding and fuck PHP!!!
I'm programming a little vocab trainer to get used to php and MySQL. From an old VB vocab trainer I had ca. 2000 txt-files with words and converted them to sql-queries with a simple python script. When SELECTING words with special characters they become encoded properly. But if I UPDATE words their encoding is just fucked up... The table is utf-8 encoded all the columns are utf-8 encoded. The php mysqli connection is utf-8 encoded. My HTML header is utf-8... WTF? -
Ok I know this is stupid question and not rant, but I just finished school and need to go to the high school and want do build some projects. So I'm pretty good with HTML, CSS, PHP, MySQLI, and in high school I want to learn python. I already know some stuff with python I built programs for 'hacking' but I don't know what programs do I need to learn to build if I want to work somewhere... Sorry if my English is bad.. :)9
-
No one: ...
Me in Monday morning: "The mysqli extension is missing. please check your php configuration. wamp" -
[ not rant ]
Hello everyone, so I just finished school and I need to start high school. But between we have summer. So im interested if you know some sources where I can get job [15 years old] if I can get job bc I think I'm a decent programmer [HTML, CSS, JS, PHP, MYSQLI]. Thank you