View Single Post
Old 06.04.2007, 14:05   #15
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

Bear in mind that addslashes do not work correctly for mssql databases, you should do
Code:
str_replace ( "'", "''", $_GET [ "var" ] );
instead.

P.S. *_pconnect is not 'passive', but 'persistent' - it is stick to every apache process which use *_pconnect functions - it may be dangerous or not, depends on your configuration. I do not recommend using persistent connections in production state sites.
Kenjiro is offline