Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2018-04-07, 12:14 PM   #1
sarettah
Asleep at the switch? I wasn't asleep, I was drunk
 
Join Date: Apr 2005
Posts: 214
I was looking again at the TGPX version I grabbed from github and it appears that some of it has been changed over to PDO at some point.

I hit the mysql issues during the install. When I scanned the entire code set I found 178 occurrences of mysql_ (The start of most mysql functions) so I figured it all was mysql but apparently I was mistaken.

That makes it a bit harder to mod out, in my opinion.

Edited in: Ok, I had that wrong. They have a MYSQL class that someone created. They wrapped the class aroound MYSQl. So, it looks like PDO but it isn't PDO it is still the mysql libs under neath.

Confused me when just glancing through trying to get an idea of the scope involved in modernizing it.

.

Last edited by sarettah; 2018-04-07 at 12:21 PM..
sarettah is offline   Reply With Quote
Old 2018-04-07, 01:27 PM   #2
pc
Shift Out / X-On
 
pc's Avatar
 
Join Date: Jul 2007
Location: unknown
Posts: 2,298
Send a message via ICQ to pc
Quote:
Originally Posted by sarettah View Post
I was looking again at the TGPX version I grabbed from github and it appears that some of it has been changed over to PDO at some point.

I hit the mysql issues during the install. When I scanned the entire code set I found 178 occurrences of mysql_ (The start of most mysql functions) so I figured it all was mysql but apparently I was mistaken.

That makes it a bit harder to mod out, in my opinion.

Edited in: Ok, I had that wrong. They have a MYSQL class that someone created. They wrapped the class aroound MYSQl. So, it looks like PDO but it isn't PDO it is still the mysql libs under neath.

Confused me when just glancing through trying to get an idea of the scope involved in modernizing it.

.
Toby mentioned that it would be easier to start from scratch than updating this to mysqli or pdo.
pc is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:16 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc