For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > June 2004 > RE: [PHP-DB] Re: addslashes replacement?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-DB] Re: addslashes replacement?
Ed Lazor

2004-06-30, 8:57 pm

Thanks everyone. I ended up using a combination of the htmlspecialchars and
the stripslashes commands. The htmlspecialchars function has an example
about halfway down that I ended up using.

Thanks =)



> -----Original Message-----
> Take a look at the php website on the function addslashes.
> You will find an example with the functions reslash and reslash.
> You might have some problems regarding magic_quotes.
> Ive been using the reslash and deslash for some time now without
> any problems.
>
> It might solve your problems.
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com