<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial
size=2>--------------------------------------------------------<BR>function
addSlashes myText<BR> <BR> -- on remplace \ par \\<BR> replace
numToChar(92) with numToChar(92) & numToChar(92) in
myText<BR> <BR> -- on remplace " par \"<BR> replace
numToChar(34) with numToChar(92) & numToChar(34) in
myText<BR> <BR> -- on remplace ' par \'<BR> replace
numToChar(39) with numToChar(92) & numToChar(39) in
myText<BR> <BR> -- on remplace NULL(ASCII 0) par \0<BR> replace
numToChar(0) with numToChar(92) & numToChar(48) in
myText<BR> <BR> <BR> return myText<BR> <BR>end
addSlashes<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>------------> better ;)</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sylvain Le Gourriérec ——
développement —— son-video-distribution</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-------------> windows 2000 + runrev 1.1.1 +
MySQL 3.23 + PHP 4</FONT></DIV></BODY></HTML>