Re: Slashed being added..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 16 January 2003 01:15, Richard Allinson wrote:
> stripcslashes (string str)
>
> Ric
>
> -----Original Message-----
> From: Aaron Wolski [mailto:aaronjw@martekbiz.com]
> Sent: 15 January 2003 16:38
> To: php-db@lists.php.net
> Subject:  Slashed being added..
>
>
> Hi All..
>
> Quick q here as I cannot remember how to prevent this.
>
> Customer is entering their name in a form that get submitted.
>
> Their name is: Mike O'Neill
>
> But their name is being entered like: Mike O\\\\\\\'Neill
>
> This is causing his info not to be saved. How do I prevent this?
>
> Any thoughts?

Check out the magic_quotes options in php.ini.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *


/*
Don't SANFORIZE me!!
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux