of     2   
chevron_rightchevron_rightchevron_right

Discommodate
#117813050Wednesday, November 13, 2013 11:57 PM GMT

I never post here but I just need advice, most of C&G's too stupid for this. For MySQL, if the mysqli is the improved database connections- what were the old ones and how were they different? help pls
cntkillme
#117813498Thursday, November 14, 2013 12:03 AM GMT

mysql_etc go to google, since it's there...
Tr3e
#117815441Thursday, November 14, 2013 12:24 AM GMT

Since cntkillme has no idea how this stuff works I'll be happy to help you out. MySQL is an older database driver, and MySQLi is a more updated one. The new features include - Object-oriented interface - Support for Prepared, Multiple Statements - Support for Transactions - Better debugging capabilities - Server Support that is Embedded
cntkillme
#117815582Thursday, November 14, 2013 12:26 AM GMT

Since you are stupid and can't read "what were the old ones and how were they different?" Not the new ones
chickenman158
#117815604Thursday, November 14, 2013 12:26 AM GMT

Ohaider alpha. Anyway, MySQLi also fixed some serious security issues. Do NOT use Mysql
Tr3e
#117815797Thursday, November 14, 2013 12:28 AM GMT

@cntkillme I gave the new features of MySQLi that differ from MySQL. If you cannot comprehend this, then please leave. Also, why bother posting on a topic you have no knowledge about? You do this often, and it's getting quite annoying.
cntkillme
#117815846Thursday, November 14, 2013 12:29 AM GMT

Nope, I know about the features, he is asking for the old ones and how it differs, not for nothing and what the new one includes Leave
Tr3e
#117816076Thursday, November 14, 2013 12:31 AM GMT

@cntkillme You don't know even the basics on how MySQL or MySQLi works and it's rather obvious. "MySQL_etc" He asked for the old ones and how they differ from the new ones. I told him MySQL is an older version, and MySQLi has these new features that differ from MySQL. That is what differs (there's also security updates.. etc). You don't seem to be able to comprehend that sadly enough.
cntkillme
#117816260Thursday, November 14, 2013 12:33 AM GMT

"You don't know even the basics on how MySQL or MySQLi works and it's rather obvious." For your information, I have used MySQL for years until it's deprecated, then I researched a lot on MySQLi and now I'm using PDO. You are really stupid, he most likely knows MySQLi by the way he asked the question. "For MySQL, if the mysqli is the improved database connections- what were the old ones and how were they different?" Read and learn english stupid
Tr3e
#117816678Thursday, November 14, 2013 12:38 AM GMT

... I've tried to explain this as best as possible, but it seems I have to spell it out for you. You don't know anything about MySQL, so please, stop acting like you know what you're talking about. If you actually knew anything about MySQL and MySQLi, then you would be able to answer his question. I never said anything about him not knowing MySQLi, I said you didn't. Ok, let me try to explain this as BEST as possible to you. These new features enable a user to establish database connections easier and more efficient. It's easier for a developer, and more efficient than the traditional MySQL. MySQL does not contain these "newer" features, so it was less efficient and harder to use. Any further questions?
soupsoupsoup3
#117817042Thursday, November 14, 2013 12:42 AM GMT

what's 2+1/0
cntkillme
#117817250Thursday, November 14, 2013 12:44 AM GMT

"You don't know anything about MySQL, so please, stop acting like you know what you're talking about." I do, you don't obviously. "If you actually knew anything about MySQL and MySQLi, then you would be able to answer his question. I never said anything about him not knowing MySQLi, I said you didn't." I answered his question the way I wanted, since this is the wrong forum "Ok, let me try to explain this as BEST as possible to you. These new features enable a user to establish database connections easier and more efficient. It's easier for a developer, and more efficient than the traditional MySQL. MySQL does not contain these "newer" features, so it was less efficient and harder to use. " tl;dr and I already know most of what you are going to say either way
Tr3e
#117817869Thursday, November 14, 2013 12:51 AM GMT

@cntkillme Sigh, you're one of the users that tries to talk like he knows something. Cntkillme if you know MySQL create a php script that does this. The MySQL arguments be the I P you'e connecting to (localhost is fine), the user, pass, and a statement. Then check to see if the connection fails. If it does- then please print out Connection Failed along with the cause. Also return the name of the current default database.
cntkillme
#117817962Thursday, November 14, 2013 12:52 AM GMT

"The MySQL arguments be the I P you'e connecting to (localhost is fine), the user, pass, and a statement. Then check to see if the connection fails. If it does- then please print out Connection Failed along with the cause." In what? MySQL, MySQLi, or PDO?
Discommodate
#117818108Thursday, November 14, 2013 12:54 AM GMT

Thanks for the help. Shame that for some reason XAMPP isn't working right now, localhost works but phpmyadmin isn't. Apache may be having some issues. Also, while I'm here- how can I encrypt my user "you know whats" better than MD5 without going completely overboard? Making a website and don't want it to have crappy SQLi/XSS/RFI/LFI vulnerabilities, but not much a use if the "you know whats" aren't encrypted well.
cntkillme
#117818177Thursday, November 14, 2013 12:55 AM GMT

just use sha1 and xss isn't going to be patched with a simple encryption, I prefer csrf
Tr3e
#117818237Thursday, November 14, 2013 12:55 AM GMT

Odd, my last post got messed up. Create a PHP script that connects to a database. Here's what you need to know: * Arguments of the MySQL connection will be IP, User, Pass, and a simple statement.. feel free to name it anything. * You will need to check if the connection is successful or not. If it's not successful please print out Connection Failed, and the cause of it. * If you establish the connection successfully, please return the current default database. * Once you return the current default database, please rename the database to "Hi!".
Discommodate
#117818268Thursday, November 14, 2013 12:56 AM GMT

I know XSS wouldn't be, I'm going to make sure the data's secure. I guess that works, but I do expect a lot of hackers, so I'm making sure the site is going to be quite a challenge.
cntkillme
#117818273Thursday, November 14, 2013 12:56 AM GMT

You didn't answer my question...
Tr3e
#117818318Thursday, November 14, 2013 12:56 AM GMT

Well, I'll give you the option Cntkillme, MySQL or MySQLi, preferably MySQLi.
cntkillme
#117819085Thursday, November 14, 2013 1:06 AM GMT

pastebin/c5qZfted Not tested and writtin on this forum thinking it would let me, but apparently not so ignore the extra white spaces
cntkillme
#117819173Thursday, November 14, 2013 1:07 AM GMT

remove the "{" after the query
cntkillme
#117819373Thursday, November 14, 2013 1:09 AM GMT

and the bottom should be $hastag this is whwat i get for rushing...
Tr3e
#117819507Thursday, November 14, 2013 1:11 AM GMT

It's been about 10 minutes, the php script takes less than five for someone who knows even the basics.
cntkillme
#117819573Thursday, November 14, 2013 1:12 AM GMT

Roblox gave me page error add spaces Roblox gave me page error add more spaces Roblox game me page error rename things Roblox game me page error pastebin it

    of     2   
chevron_rightchevron_rightchevron_right