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
-
Move them to temporary (naff) hosting on PHP 4.whatever they're using and spend your time getting the new sites finished instead.
Tell nobody the URL's in the meantime ;) -
@champion01 I'm danish, so it's not eagle scouts 😉 But we are considered the danish version of the eagle scouts 🙂
-
jlcfly1178y#1 reason to create a db wrapper class to wrap native functions. Change the db class, done.
-
@Letmecode Doint that on the new site, but will take longer to do on the current site, and it just has to work for now 😜
-
it will probably take less time (as well as maintaining your sanity) to start from scratch with a php framework than rewriting old code. Personally, I recommend Laravel. Makes working with a database enjoyable with eloquent. At the end of the day, who will know!
Related Rants
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 😜
undefined
old code
bodging