You are here: Pg escape functions « PHP SQL « IT news, forums, messages
Pg escape functions

Posted by guesswho on 01/28/07 08:03

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация