[Sarlug]Вопрос поmysql

Paul P Komkoff Jr i at stingr.net
Wed Jun 18 15:04:21 MSD 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Replying to HaPK:
> > $text_file = implode("", file($userfile));
> Замени строчку на:
>     $text_file = addslashes( implode("", file($userfile)) );

неверно
для этого есть функция mysql_escape_chars

- -- 
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key <- my pgp key
 This message represents the official view of the voices in my head
-----BEGIN PGP SIGNATURE-----

iD8DBQE+8DkjyMW8naS07KQRAh8sAJ0aG64bkrnhchkTXugVGLfIvYDvFQCgoX2t
1uUBoCE3Tp2vIfSPazyG4aA=
=UKb6
-----END PGP SIGNATURE-----


More information about the Sarlug mailing list