Re: Prep. Statements only in mysql-i? [message #177647 is a reply to message #177641] |
Thu, 12 April 2012 09:29 |
Alexandra Herzog
Messages: 4 Registered: April 2012
Karma:
|
Junior Member |
|
|
>> Should I use the mysql-i object?
> Yes, unless PDO is or can be made available.
Thank you. I just wanted to check which ways exist to make use of prepared statements.
It seems there is only mysql-i and PDO, when I want to use prepared statements.
> PDO offers much more, including an convenient API for prepared statements
> and transactions. RTFM: <http://php.net/manual/en/intro.pdo.php>
Good, I'll try that :D
>> and I don't intend to change that in the future (it's just a small
>> homepage).
> You will have to make a change if you want to use prepared statements and
> thereby gain a minimum of Web application security.
Okay, I meant "I don't intend to change my hoster or database in the near future". Obviously the point of the whole thread is to facilitate the change that I am about to make to my scripts..
> BTW, there is also de.comp.lang.php, which (also?) has a FAQ.
Got it. Soooo, you're just guessing by my name that I am german?? Or do I leave any other indication?
Thank you,
Alex
|
|
|