Pg escape functions

Hi,

I need to write a script that operates on PostgreSQL database.
I'm a little bit confused about all this functions that prevents SQL
injections,
I mean:

- add/stripslashes
- pg_escape_string
- pg_prepare,pg_query_params

in my hosting magic_quotes_gpc is on and I could not change it.
In my script I use pg_query_params and pg_prepare, so do I still need
add/stripslashes or any other escape fuctions.

could someone explain it to me ??
thanks
guesswho [ So, 28 Januar 2007 09:03 ] [ ID #1610949 ]
PHP » alt.php.sql » Pg escape functions

Vorheriges Thema: SHOW TABLES, SELECT and REGEXP
Nächstes Thema: call last row